From 5266e92bd2fad9090e465256540194d6afbe9c4b9fbf3d7f6af0970daebd619f Mon Sep 17 00:00:00 2001 From: Michal Vyskocil Date: Fri, 23 Aug 2013 12:25:19 +0000 Subject: [PATCH] - drop javadoc packages - drop antlr-bootstrap from BR as javadoc is not built OBS-URL: https://build.opensuse.org/package/show/Java:packages/xerces-j2?expand=0&rev=22 --- xerces-j2.changes | 6 ++ xerces-j2.spec | 201 +--------------------------------------------- 2 files changed, 9 insertions(+), 198 deletions(-) diff --git a/xerces-j2.changes b/xerces-j2.changes index 627733a..deeeadb 100644 --- a/xerces-j2.changes +++ b/xerces-j2.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Aug 23 12:11:30 UTC 2013 - mvyskocil@suse.com + +- drop javadoc packages +- drop antlr-bootstrap from BR as javadoc is not built + ------------------------------------------------------------------- Fri Jan 11 14:52:38 UTC 2013 - mvyskocil@suse.com diff --git a/xerces-j2.spec b/xerces-j2.spec index 538f317..4c754b3 100644 --- a/xerces-j2.spec +++ b/xerces-j2.spec @@ -44,7 +44,6 @@ PreReq: update-alternatives /bin/ln # for it. BuildRequires: java-1_5_0-gcj-compat-devel #!BuildIgnore: java-1_6_0-openjdk java-1_6_0-openjdk-devel -BuildRequires: antlr-bootstrap #!BuildIgnore: antlr antlr-java BuildRequires: jpackage-utils BuildRequires: unzip @@ -71,155 +70,6 @@ Model Level 3 Core, Load and Save and Abstract Schemas [deprecated] Working Drafts. For more information, refer to the DOM Level 3 Implementation page. - - -%package javadoc-impl -Summary: Javadoc for xerces-j2 implementation -Group: Development/Libraries/Java -PreReq: coreutils - -%description javadoc-impl -Welcome to the future! Xerces2 is the next generation of high -performance, fully compliant XML parsers in the Apache Xerces family. -This new version of Xerces introduces the Xerces Native Interface -(XNI), a complete framework for building parser components and -configurations that is extremely modular and easy to program. - -The Apache Xerces2 parser is the reference implementation of XNI but -other parser components, configurations, and parsers can be written -using the Xerces Native Interface. For complete design and -implementation documents, refer to the XNI Manual. - -Xerces 2 is a fully conforming XML Schema processor. For more -information, refer to the XML Schema page. - -Xerces 2 also provides a partial implementation of Document Object -Model Level 3 Core, Load and Save and Abstract Schemas [deprecated] -Working Drafts. For more information, refer to the DOM Level 3 -Implementation page. - -This package contains the javadoc documentation for the Xerces2 -implementation. - - - -%package javadoc-apis -Summary: Javadoc for xerces-j2 apis -Group: Development/Libraries/Java -PreReq: coreutils - -%description javadoc-apis -Welcome to the future! Xerces2 is the next generation of high -performance, fully compliant XML parsers in the Apache Xerces family. -This new version of Xerces introduces the Xerces Native Interface -(XNI), a complete framework for building parser components and -configurations that is extremely modular and easy to program. - -The Apache Xerces2 parser is the reference implementation of XNI but -other parser components, configurations, and parsers can be written -using the Xerces Native Interface. For complete design and -implementation documents, refer to the XNI Manual. - -Xerces 2 is a fully conforming XML Schema processor. For more -information, refer to the XML Schema page. - -Xerces 2 also provides a partial implementation of Document Object -Model Level 3 Core, Load and Save and Abstract Schemas [deprecated] -Working Drafts. For more information, refer to the DOM Level 3 -Implementation page. - -This package contains the javadoc documentation for the Xerces2 APIs. - - - -%package javadoc-dom3 -Summary: Javadoc for xerces-j2 DOM3 -Group: Development/Libraries/Java -PreReq: coreutils - -%description javadoc-dom3 -Welcome to the future! Xerces2 is the next generation of high -performance, fully compliant XML parsers in the Apache Xerces family. -This new version of Xerces introduces the Xerces Native Interface -(XNI), a complete framework for building parser components and -configurations that is extremely modular and easy to program. - -The Apache Xerces2 parser is the reference implementation of XNI but -other parser components, configurations, and parsers can be written -using the Xerces Native Interface. For complete design and -implementation documents, refer to the XNI Manual. - -Xerces 2 is a fully conforming XML Schema processor. For more -information, refer to the XML Schema page. - -Xerces 2 also provides a partial implementation of Document Object -Model Level 3 Core, Load and Save and Abstract Schemas [deprecated] -Working Drafts. For more information, refer to the DOM Level 3 -Implementation page. - -This package contains the javadoc documentation for Xerces2 DOM3. - - - -%package javadoc-xni -Summary: Javadoc for xerces-j2 XNI -Group: Development/Libraries/Java -PreReq: coreutils - -%description javadoc-xni -Welcome to the future! Xerces2 is the next generation of high -performance, fully compliant XML parsers in the Apache Xerces family. -This new version of Xerces introduces the Xerces Native Interface -(XNI), a complete framework for building parser components and -configurations that is extremely modular and easy to program. - -The Apache Xerces2 parser is the reference implementation of XNI but -other parser components, configurations, and parsers can be written -using the Xerces Native Interface. For complete design and -implementation documents, refer to the XNI Manual. - -Xerces 2 is a fully conforming XML Schema processor. For more -information, refer to the XML Schema page. - -Xerces 2 also provides a partial implementation of Document Object -Model Level 3 Core, Load and Save and Abstract Schemas [deprecated] -Working Drafts. For more information, refer to the DOM Level 3 -Implementation page. - -This package contains the javadoc documentation for Xerces2 XNI. - - - -%package javadoc-other -Summary: Javadoc for other xerces-j2 components -Group: Development/Libraries/Java -PreReq: coreutils - -%description javadoc-other -Welcome to the future! Xerces2 is the next generation of high -performance, fully compliant XML parsers in the Apache Xerces family. -This new version of Xerces introduces the Xerces Native Interface -(XNI), a complete framework for building parser components and -configurations that is extremely modular and easy to program. - -The Apache Xerces2 parser is the reference implementation of XNI but -other parser components, configurations, and parsers can be written -using the Xerces Native Interface. For complete design and -implementation documents, refer to the XNI Manual. - -Xerces 2 is a fully conforming XML Schema processor. For more -information, refer to the XML Schema page. - -Xerces 2 also provides a partial implementation of Document Object -Model Level 3 Core, Load and Save and Abstract Schemas [deprecated] -Working Drafts. For more information, refer to the DOM Level 3 -Implementation page. - -This package contains the javadoc documentation for other components of -Xerces2. - - - %package demo Summary: Demonstration and sample files for xerces-j2 Group: Development/Libraries/Java @@ -329,10 +179,12 @@ This package contains the APIs subproject of xml-commons. ## this uses the ant.jar provided by the xerces packages. Tough luck, # jpackage bootstrap has to start somewhere. It is not installed, # though. +export JAVA_HOME=%{_libdir}/jvm/java-1.5.0-gcj export GC_MAXIMUM_HEAP_SIZE="134217728" export CLASSPATH=$CLASSPATH:`build-classpath antlr-bootstrap` sh build.sh jars -sh build.sh javadocs + +#ant tests test %install # jars @@ -341,28 +193,6 @@ cp -p build/xercesImpl.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar cp -p build/resolver.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}-xml-resolver.jar cp -p build/xml-apis.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}-xml-apis.jar (cd $RPM_BUILD_ROOT%{_javadir} && for jar in *-%{version}*.jar; do ln -sf ${jar} `echo $jar| sed "s|-%{version}||g"`; done) -# javadoc -mkdir -p $RPM_BUILD_ROOT%{_javadocdir}/%{name}-impl-%{version} -cp -pr build/docs/javadocs/xerces2/* \ - $RPM_BUILD_ROOT%{_javadocdir}/%{name}-impl-%{version} -ln -s %{name}-impl-%{version} $RPM_BUILD_ROOT%{_javadocdir}/%{name}-impl -mkdir -p $RPM_BUILD_ROOT%{_javadocdir}/%{name}-apis-%{version} -cp -pr build/docs/javadocs/api/* \ - $RPM_BUILD_ROOT%{_javadocdir}/%{name}-apis-%{version} -ln -s %{name}-apis-%{version} $RPM_BUILD_ROOT%{_javadocdir}/%{name}-apis -mkdir -p $RPM_BUILD_ROOT%{_javadocdir}/%{name}-xni-%{version} -cp -pr build/docs/javadocs/xni/* \ - $RPM_BUILD_ROOT%{_javadocdir}/%{name}-xni-%{version} -ln -s %{name}-xni-%{version} $RPM_BUILD_ROOT%{_javadocdir}/%{name}-xni -mkdir -p $RPM_BUILD_ROOT%{_javadocdir}/%{name}-dom-%{version} -cp -pr build/docs/javadocs/xerces2/org/apache/xerces/dom/* \ - $RPM_BUILD_ROOT%{_javadocdir}/%{name}-dom-%{version} -ln -s %{name}-dom-%{version} $RPM_BUILD_ROOT%{_javadocdir}/%{name}-dom -mkdir -p $RPM_BUILD_ROOT%{_javadocdir}/%{name}-other-%{version} -cp -pr build/docs/javadocs/other/* \ - $RPM_BUILD_ROOT%{_javadocdir}/%{name}-other-%{version} -ln -s %{name}-other-%{version} $RPM_BUILD_ROOT%{_javadocdir}/%{name}-other -rm -rf build/docs/javadocs # scripts mkdir -p $RPM_BUILD_ROOT%{_bindir} cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/%{name}-version @@ -434,31 +264,6 @@ rm -rf $RPM_BUILD_ROOT %{_javadir}/%{name}-xml-resolver.jar %ghost %{_javadir}/xml-commons-resolver.jar -%files javadoc-impl -%defattr(0644,root,root,0755) -%doc %{_javadocdir}/%{name}-impl-%{version} -%doc %{_javadocdir}/%{name}-impl - -%files javadoc-apis -%defattr(0644,root,root,0755) -%doc %{_javadocdir}/%{name}-apis-%{version} -%doc %{_javadocdir}/%{name}-apis - -%files javadoc-dom3 -%defattr(0644,root,root,0755) -%doc %{_javadocdir}/%{name}-dom-%{version} -%doc %{_javadocdir}/%{name}-dom - -%files javadoc-other -%defattr(0644,root,root,0755) -%doc %{_javadocdir}/%{name}-other-%{version} -%doc %{_javadocdir}/%{name}-other - -%files javadoc-xni -%defattr(0644,root,root,0755) -%doc %{_javadocdir}/%{name}-xni-%{version} -%doc %{_javadocdir}/%{name}-xni - %files demo %defattr(0644,root,root,0755) %{_datadir}/%{name}