[RPM (6.0)] [DIST generic] jing-0.1-0.20030619.10.jpp6

Ralph Apel <[email protected]>
Newsgroups gmane.linux.jpackage.announce
Message-ID <[email protected]>
Name        : jing                         Relocations: (not relocatable)
Version     : 0.1                               Vendor: JPackage Project
Release     : 0.20030619.10.jpp6            Build Date: Sun 12 Aug 2012 12:15:35 PM CEST
Install Date: (not installed)               Build Host: linux.fritz.box
Group       : Development/Libraries/Java    Source RPM: (none)
Size        : 2533778                          License: Open Source
Signature   : (none)
Packager    : Ralph Apel <[email protected]>
URL         : http://www.thaiopensource.com/relaxng/jing.html
Summary     : Jing, a validator for RELAX NG implemented in Java
Description :
This version of Jing implements: RELAX NG 1.0 Specification,
RELAX NG Compact Syntax, and parts of RELAX NG DTD Compatibility,
specifically checking of ID/IDREF/IDREFS.
Jing also has experimental support for schema languages other
than RELAX NG; specifically W3C XML Schema (based on Xerces-J);
Schematron; Namespace Routing Language.

---------------
Ralph Apel <r.apel at r-apel.de> - 0:0.1-0.20030619.10
- First JPP-6 release
---------------
jing.src: W: specfile-error sh: line 0: fg: no job control
jing.src: W: specfile-error sh: line 0: fg: no job control
jing.src: W: source-or-patch-not-bzipped jing-VerifierHandlerImpl.patch
jing.src: W: source-or-patch-not-bzipped jing-xerces2.patch
jing.src: W: source-or-patch-not-bzipped jing-ValidatorImpl.patch
jing.src: W: no-signature
jing.src: W: name-repeated-in-summary Jing
jing.src: W: invalid-license Open Source
1 packages and 0 specfiles checked; 0 errors, 8 warnings.

---------------
Index: jing.spec
===================================================================
RCS file: /home/projects/jpackage/cvs/rpms/free/jing/jing.spec,v
retrieving revision 1.4
diff -u -r1.4 jing.spec
--- jing.spec	10 Mar 2008 16:57:34 -0000	1.4
+++ jing.spec	12 Aug 2012 10:18:07 -0000
@@ -1,4 +1,4 @@
-# Copyright (c) 2000-2008, JPackage Project
+# Copyright (c) 2000-2012, JPackage Project
 # All rights reserved.
 #
 # Redistribution and use in source and binary forms, with or without
@@ -28,14 +28,16 @@
 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #
 
-%define gcj_support %{?_with_gcj_support:1}%{!?_with_gcj_support:%{?_without_gcj_support:0}%{!?_without_gcj_support:%{?_gcj_support:%{_gcj_support}}%{!?_gcj_support:0}}}
-
 %define section   free
 %define cvsversion 20030619
+%define _binary_payload w9.gzdio
+%define _source_payload w9.gzdio
+%define _binary_filedigest_algorithm 1
+%define _source_filedigest_algorithm 1
 
 Name:           jing
 Version:        0.1
-Release:        0.20030619.9jpp
+Release:        0.20030619.10%{?dist}
 Epoch:          0
 Summary:        Jing, a validator for RELAX NG implemented in Java
 
@@ -49,37 +51,26 @@
 Patch1:         jing-ValidatorImpl.patch
 Patch2:         jing-VerifierHandlerImpl.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-Vendor: %{?_vendorinfo:%{_vendorinfo}}%{!?_vendorinfo:%{_vendor}}
-Distribution: %{?_distribution:%{_distribution}}%{!?_distribution:%{_vendor}}
 
-%if ! %{gcj_support}
 BuildArch:      noarch
-%endif
 
-BuildRequires:  jpackage-utils >= 0:1.7.4
-BuildRequires:  java-devel = 0:1.5.0
-BuildRequires:  ant >= 0:1.6.5
+BuildRequires:  jpackage-utils >= 0:1.7.5
+BuildRequires:  java-devel >= 0:1.6.0
+BuildRequires:  ant >= 0:1.7.1
 BuildRequires:  ant-junit
 BuildRequires:  junit >= 0:3.8.1
 BuildRequires:  xalan-j2 >= 0:2.7.0
 BuildRequires:  xerces-j2 >= 0:2.9.0
 BuildRequires:  isorelax
 BuildRequires:  saxon
-Requires:  java >= 0:1.5.0
+Requires:  java >= 0:1.6.0
 Requires:  xalan-j2 >= 0:2.7.0
 Requires:  xerces-j2 >= 0:2.9.0
 Requires:  isorelax
 Requires:  saxon
 
-%if %{gcj_support}
-BuildRequires:    gnu-crypto
-BuildRequires:    java-gcj-compat-devel
-Requires(post):   java-gcj-compat
-Requires(postun): java-gcj-compat
-%endif
-
-Requires(post):   jpackage-utils >= 0:1.7.4
-Requires(postun): jpackage-utils >= 0:1.7.4
+Requires(post):   jpackage-utils >= 0:1.7.5
+Requires(postun): jpackage-utils >= 0:1.7.5
 
 %description
 This version of Jing implements: RELAX NG 1.0 Specification,
@@ -92,8 +83,6 @@
 %package        javadoc
 Summary:        Javadoc for %{name}
 Group:          Development/Documentation
-Requires(post):   /bin/rm,/bin/ln
-Requires(postun): /bin/rm
 
 %description    javadoc
 %{summary}.
@@ -113,7 +102,6 @@
 %patch2 -b .sav2
 
 %build
-export JAVA_HOME=%{_jvmdir}/java-1.5.0
 export OPT_JAR_LIST="ant/ant-junit junit"
 export CLASSPATH=$(build-classpath \
 xalan-j2 \
@@ -137,58 +125,30 @@
 cp -pr javadoc/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
 ln -s %{name}-%{version} $RPM_BUILD_ROOT%{_javadocdir}/%{name} # ghost symlink
 
-%if %{gcj_support}
-export CLASSPATH=$(build-classpath gnu-crypto)
-%{_bindir}/aot-compile-rpm
-%endif
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post javadoc
-rm -f %{_javadocdir}/%{name}
-ln -s %{name}-%{version} %{_javadocdir}/%{name}
-
-%postun javadoc
-if [ "$1" = "0" ]; then
-    rm -f %{_javadocdir}/%{name}
-fi
-
 %post
 %update_maven_depmap
-%if %{gcj_support}
-if [ -x %{_bindir}/rebuild-gcj-db ]
-then
-  %{_bindir}/rebuild-gcj-db
-fi
-%endif
 
 %postun
 %update_maven_depmap
-%if %{gcj_support}
-if [ -x %{_bindir}/rebuild-gcj-db ]
-then
-  %{_bindir}/rebuild-gcj-db
-fi
-%endif
 
 %files
 %defattr(-,root,root,-)
 %{_javadir}/*.jar
-%{_datadir}/maven2
-%{_mavendepmapfragdir}
-%if %{gcj_support}
-%dir %attr(-,root,root) %{_libdir}/gcj/%{name}
-%attr(-,root,root) %{_libdir}/gcj/%{name}/%{name}-%{version}.jar.*
-%endif
+%{_datadir}/maven2/poms/*
+%{_mavendepmapfragdir}/*
 
 %files javadoc
 %defattr(-,root,root,-)
 %doc %{_javadocdir}/%{name}-%{version}
-%ghost %doc %{_javadocdir}/%{name}
-
+%doc %{_javadocdir}/%{name}
 
 %changelog
+* Sun Aug 12 2012 Ralph Apel <r.apel at r-apel.de> - 0:0.1-0.20030619.10
+- First JPP-6 release
+
 * Mon Mar 10 2008 Ralph Apel <r.apel at r-apel.de> - 0:0.1-0.20030619.9jpp
 - Build with java5 for java5
 - Patch VerifierHandlerImpl to avoid NPE
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.