From f93f395b2839500c110a5510a04272bf686f63f1 Mon Sep 17 00:00:00 2001 From: cvsdist Date: Thu, 9 Sep 2004 16:28:45 +0000 Subject: [PATCH] =?UTF-8?q?auto-import=20changelog=20data=20from=20xerces-?= =?UTF-8?q?j2-2.6.1-1jpp.src.rpm=202.6.1-1jpp=20-=202.6.1=20-=20update=20S?= =?UTF-8?q?ource0=20URL=20-=20now=20requires=20xml-commons-resolver=202.6.?= =?UTF-8?q?0-1jpp=20-=20Update=20to=202.6.0=20-=20Patch=20#1=20(xerces-j2-?= =?UTF-8?q?manifest.patch)=20is=20unnecessary=20(upstream)=202.5.0-1jpp=20?= =?UTF-8?q?-=20Update=20to=202.5.0.=20-=20Clean=20up=20versionless=20javad?= =?UTF-8?q?oc=20dir=20symlinking,=20own=20(ghost)=20the=20symlinks.=20-=20?= =?UTF-8?q?Mark=20javadocs=20as=20%doc.=202.4.0-3jpp=20-=20Own=20(ghost)?= =?UTF-8?q?=20%{=5Fjavadir}/jaxp=5Fparser=5Fimpl.jar.=20-=20Remove=20alter?= =?UTF-8?q?natives=20in=20preun=20instead=20of=20postun.=202.4.0-2jpp=20-?= =?UTF-8?q?=20bug=20#17325=20fixed=20upstream=202.4.0-1jpp=20-=202.4.0=20-?= =?UTF-8?q?=20BuildRequires:=20jikes=20-=20update=20for=20JPackage=201.5?= =?UTF-8?q?=20-=20re-diff'ed=20build=20patch=20for=202.4.0=20-=20bug=20#17?= =?UTF-8?q?325=20handled=20by=20perl=20now=20-=20scripts:=20s|find-jar|bui?= =?UTF-8?q?ld-classpath|=20and=20don't=20test=20for=20java-functions=20Wed?= =?UTF-8?q?=20Mar=2026=202003=20Nicolas=20Mailhot=20=20-=20=20=20=20=202.3.0-2jpp=20-=20For=20jpac?= =?UTF-8?q?kage-utils=201.5=20-=20zapped=20manual,=20since=20it=20doesn't?= =?UTF-8?q?=20want=20to=20build=20-=20as=20a=20consequence,=20removed=20un?= =?UTF-8?q?eeded=20dependencies=20Mon=20Feb=2024=202003=20Ville=20Skytt?= =?UTF-8?q?=C3=A4=20=20-=202.3.0-1jpp=20-=20Up?= =?UTF-8?q?date=20to=202.3.0.=20-=20Add=20a=20crude=20patch=20to=20work=20?= =?UTF-8?q?around=20invalid=20XML=20in=20doc=20sources,=20see=20=20=20=20?= =?UTF-8?q?=20.=20-=20Built=20with=20IBM's=201.3.1=20SR3.=20Sat=20Dec=2028?= =?UTF-8?q?=202002=20Ville=20Skytt=C3=A4=20=20?= =?UTF-8?q?-=202.2.1-2jpp=20-=20Add=20upstream=20patch=20which=20fixes=20p?= =?UTF-8?q?roblems=20with=20Tomcat's=20webapps.=20=20=20=20=20=20=20=20=20?= =?UTF-8?q?=20=20-=20Separate=20scripts=20subpackage.=20Fri=20Nov=201?= =?UTF-8?q?5=202002=20Ville=20Skytt=C3=A4=20?= =?UTF-8?q?=20-=202.2.1-1jpp=20-=20Update=20to=202.2.1.=20-=20Change=20alt?= =?UTF-8?q?ernative=20to=20point=20to=20non-versioned=20jar.=20-=20Don't?= =?UTF-8?q?=20remove=20alternative=20on=20upgrade.=20-=20Fix=20Group=20tag?= =?UTF-8?q?=20for=20demo,=20javadoc=20and=20manual=20subpackages.=20-=20Ad?= =?UTF-8?q?d=20version=20and=20constants=20scripts.=20-=20Some=20spec=20fi?= =?UTF-8?q?le=20cleanup.=20Sun=20Oct=2006=202002=20Ville=20Skytt=C3=A4=20=202.2.0-2jpp=20-=20Fix=20bad=20perm?= =?UTF-8?q?issions=20for=20main=20jar.=20Sun=20Sep=2029=202002=20Ville=20S?= =?UTF-8?q?kytt=C3=A4=20=202.1.0-1jpp=20-=20Up?= =?UTF-8?q?date=20to=202.2.0.=20Tue=20Sep=2010=202002=20Ville=20Skytt?= =?UTF-8?q?=C3=A4=20=202.1.0-2jpp=20-=20Rebuil?= =?UTF-8?q?d=20with=20-Dcompiler=3Dmodern,=20not=20a=20Jikes=20bug=20this?= =?UTF-8?q?=20time,=20but=20sloppy=20=20=20=20=20code=20that=20is=20tolera?= =?UTF-8?q?ted=20by=20javac.=20See=20=20=20=20=20=20for=20details.=20Tue=20Sep=2010=20200?= =?UTF-8?q?2=20Ville=20Skytt=C3=A4=20=202.1.0-?= =?UTF-8?q?1jpp=20-=202.1.0.=20-=20Updated=20description.=20-=20Changed=20?= =?UTF-8?q?javadoc=20and=20manual=20group=20to=20Documentation.=20-=20Spec?= =?UTF-8?q?=20file=20cleanups.=20Fri=20Jul=2012=202002=20Henri=20Gomez=20=202.0.2-4jpp=20-=20add=20BuildReq?= =?UTF-8?q?uires=20xerces-j1=20and=20xalan-j2=20-=20removed=20BuildRequire?= =?UTF-8?q?s=20xml-commons-api=20since=20ant=20require=20jaxp=5Fparser=5Fi?= =?UTF-8?q?mpl=20=20=20=20=20which=20in=20turn=20require=20xml-commons-api?= =?UTF-8?q?=20;)=20Mon=20Jul=2001=202002=20Guillaume=20Rousse=20=20=20=20=20=202.0.2-3jpp=20-=20vend?= =?UTF-8?q?or,=20distribution,=20group=20tags=20-=20provides=20jaxp=5Fpars?= =?UTF-8?q?er=5Fimpl=20-=20dropped=20api=20jar=20-=20renamed=20lone=20jar?= =?UTF-8?q?=20to=20xerces-j2.jar=20-=20priority=20bumped=20to=2040=20-=20f?= =?UTF-8?q?ixed=20stylebook=20build=20(add=20xerces-j1=20in=20classpath)?= =?UTF-8?q?=20Wed=20Jun=2026=202002=20Guillaume=20Rousse=20=20=20=20=20=202.0.2-2jpp=20-=20rebuild?= =?UTF-8?q?=20for=20missing=20symlinks=20-=20use=20sed=20instead=20of=20ba?= =?UTF-8?q?sh=202.x=20extension=20in=20link=20area=20to=20make=20spec=20?= =?UTF-8?q?=20=20=20=20compatible=20with=20distro=20using=20bash=201.1x=20?= =?UTF-8?q?Mon=20Jun=2024=202002=20Henri=20Gomez=20=202.0.2-1jpp=20-=202.0.2=20Sun=20Mar=2010=202002=20Guil?= =?UTF-8?q?laume=20Rousse=20=20=20=20?= =?UTF-8?q?=20=202.0.1-1jpp=20-=202.0.1=20-=20provides=20jaxp=5Fparser2=20?= =?UTF-8?q?virtual=20resource=20-=20drop=20wrapper=20Sun=20Feb=2003=202002?= =?UTF-8?q?=20Guillaume=20Rousse=20?= =?UTF-8?q?=20=20=20=20=202.0.0-1jpp=20-=20first=20JPackage=20release?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .cvsignore | 1 + sources | 1 + xerces-j2-build.patch | 116 ++++++++++++++ xerces-j2-constants.sh | 20 +++ xerces-j2-version.sh | 20 +++ xerces-j2.spec | 345 +++++++++++++++++++++++++++++++++++++++++ 6 files changed, 503 insertions(+) create mode 100644 xerces-j2-build.patch create mode 100644 xerces-j2-constants.sh create mode 100644 xerces-j2-version.sh create mode 100644 xerces-j2.spec diff --git a/.cvsignore b/.cvsignore index e69de29..932d041 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +Xerces-J-src.2.6.1.tar.gz diff --git a/sources b/sources index e69de29..e8adccd 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +060f303e7a58de5e76a4fb08f09c5f6d Xerces-J-src.2.6.1.tar.gz diff --git a/xerces-j2-build.patch b/xerces-j2-build.patch new file mode 100644 index 0000000..90b79f5 --- /dev/null +++ b/xerces-j2-build.patch @@ -0,0 +1,116 @@ +--- build.xml~ 2003-07-31 20:14:16.000000000 +0300 ++++ build.xml 2003-10-21 21:45:47.000000000 +0300 +@@ -19,7 +19,7 @@ + + + +- ++ + + + ++ + + + + + +- + +- + +- + + +- + + ++ + + + + + +- + + +- + +- + +- = 0:1.5 +BuildRequires: jpackage-utils >= 0:1.5 +BuildRequires: jikes +BuildRequires: jaxp_parser_impl +BuildRequires: xml-commons-resolver +BuildArch: noarch +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot + +%description +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. + +%package javadoc-impl +Summary: Javadoc for %{name} implementation +Group: Development/Documentation + +%description javadoc-impl +Javadoc for %{name} implementation. + +%package javadoc-apis +Summary: Javadoc for %{name} apis +Group: Development/Documentation + +%description javadoc-apis +Javadoc for %{name} apis. + +%package javadoc-dom3 +Summary: Javadoc for %{name} DOM3 +Group: Development/Documentation + +%description javadoc-dom3 +Javadoc for %{name} DOM3. + +%package javadoc-xni +Summary: Javadoc for %{name} xni +Group: Development/Documentation + +%description javadoc-xni +Javadoc for %{name} xni. + +%package javadoc-other +Summary: Javadoc for other %{name} components +Group: Development/Documentation + +%description javadoc-other +Javadoc for other %{name} components. + +%package demo +Summary: Demo for %{name} +Group: Development/Testing +Requires: %{name} = %{epoch}:%{version}-%{release} + +%description demo +Demonstrations and samples for %{name}. + +%package scripts +Summary: Additional utility scripts for %{name} +Group: Text Processing/Markup/XML +Requires: %{name} = %{epoch}:%{version}-%{release} +Requires: jpackage-utils >= 0:1.5 + +%description scripts +Additional utility scripts for %{name}. + + +%prep +%setup -q -n xerces-%{cvs_version} +%patch0 -p0 + + +%build +unset CLASSPATH +ant \ + -Dbuild.compiler=jikes \ + -Dtools.dir=%{_javadir} \ + -Djar.apis=xml-commons-apis.jar \ + -Djar.resolver=xml-commons-resolver.jar \ + clean jars javadocs + + +%install +rm -rf $RPM_BUILD_ROOT + +# jars +mkdir -p $RPM_BUILD_ROOT%{_javadir} +cp -p build/xercesImpl.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.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}-dom3-%{version} +cp -pr build/docs/javadocs/dom3-api/* \ + $RPM_BUILD_ROOT%{_javadocdir}/%{name}-dom3-%{version} +ln -s %{name}-dom3-%{version} $RPM_BUILD_ROOT%{_javadocdir}/%{name}-dom3 + +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 +cp -p %{SOURCE2} $RPM_BUILD_ROOT%{_bindir}/%{name}-constants + +# demo +mkdir -p $RPM_BUILD_ROOT%{_datadir}/%{name} +cp -p build/xercesSamples.jar \ + $RPM_BUILD_ROOT%{_datadir}/%{name}/%{name}-samples.jar +cp -pr data $RPM_BUILD_ROOT%{_datadir}/%{name} + +# jaxp_parser_impl ghost symlink +ln -s %{_sysconfdir}/alternatives \ + $RPM_BUILD_ROOT%{_javadir}/jaxp_parser_impl.jar + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%post javadoc-apis +rm -f %{_javadocdir}/%{name}-apis +ln -s %{name}-apis-%{version} %{_javadocdir}/%{name}-apis + +%post javadoc-dom3 +rm -f %{_javadocdir}/%{name}-dom3 +ln -s %{name}-dom3-%{version} %{_javadocdir}/%{name}-dom3 + +%post javadoc-impl +rm -f %{_javadocdir}/%{name}-impl +ln -s %{name}-impl-%{version} %{_javadocdir}/%{name}-impl + +%post javadoc-other +rm -f %{_javadocdir}/%{name}-other +ln -s %{name}-other-%{version} %{_javadocdir}/%{name}-other + +%post javadoc-xni +rm -f %{_javadocdir}/%{name}-xni +ln -s %{name}-xni-%{version} %{_javadocdir}/%{name}-xni + +%post +update-alternatives --install %{_javadir}/jaxp_parser_impl.jar \ + jaxp_parser_impl %{_javadir}/%{name}.jar 40 + +%preun +{ + [ $1 = 0 ] || exit 0 + update-alternatives --remove jaxp_parser_impl %{_javadir}/%{name}.jar +} >/dev/null 2>&1 || : + + +%files +%defattr(0644,root,root,0755) +%doc LICENSE README ISSUES STATUS TODO +%{_javadir}/%{name}*.jar +%ghost %{_javadir}/jaxp_parser_impl.jar + +%files javadoc-impl +%defattr(0644,root,root,0755) +%doc %{_javadocdir}/%{name}-impl-%{version} +%ghost %doc %{_javadocdir}/%{name}-impl + +%files javadoc-apis +%defattr(0644,root,root,0755) +%doc %{_javadocdir}/%{name}-apis-%{version} +%ghost %doc %{_javadocdir}/%{name}-apis + +%files javadoc-dom3 +%defattr(0644,root,root,0755) +%doc %{_javadocdir}/%{name}-dom3-%{version} +%ghost %doc %{_javadocdir}/%{name}-dom3 + +%files javadoc-other +%defattr(0644,root,root,0755) +%doc %{_javadocdir}/%{name}-other-%{version} +%ghost %doc %{_javadocdir}/%{name}-other + +%files javadoc-xni +%defattr(0644,root,root,0755) +%doc %{_javadocdir}/%{name}-xni-%{version} +%ghost %doc %{_javadocdir}/%{name}-xni + +%files demo +%defattr(0644,root,root,0755) +%{_datadir}/%{name} + +%files scripts +%defattr(0755,root,root,0755) +%{_bindir}/* + + +%changelog +* Sun Feb 08 2004 David Walluck 0:2.6.1-1jpp +- 2.6.1 +- update Source0 URL +- now requires xml-commons-resolver + +* Fri Jan 9 2004 Kaj J. Niemi - 0:2.6.0-1jpp +- Update to 2.6.0 +- Patch #1 (xerces-j2-manifest.patch) is unnecessary (upstream) + +* Tue Oct 21 2003 Ville Skyttä - 0:2.5.0-1jpp +- Update to 2.5.0. +- Clean up versionless javadoc dir symlinking, own (ghost) the symlinks. +- Mark javadocs as %%doc. + +* Wed Jun 4 2003 Ville Skyttä - 0:2.4.0-3jpp +- Own (ghost) %%{_javadir}/jaxp_parser_impl.jar. +- Remove alternatives in preun instead of postun. + +* Mon May 12 2003 David Walluck 0:2.4.0-2jpp +- bug #17325 fixed upstream + +* Mon May 12 2003 David Walluck 0:2.4.0-1jpp +- 2.4.0 +- BuildRequires: jikes +- update for JPackage 1.5 +- re-diff'ed build patch for 2.4.0 +- bug #17325 handled by perl now +- scripts: s|find-jar|build-classpath| and don't test for java-functions + +* Wed Mar 26 2003 Nicolas Mailhot - 2.3.0-2jpp +- For jpackage-utils 1.5 +- zapped manual, since it doesn't want to build +- as a consequence, removed uneeded dependencies + +* Mon Feb 24 2003 Ville Skyttä - 2.3.0-1jpp +- Update to 2.3.0. +- Add a crude patch to work around invalid XML in doc sources, see + . +- Built with IBM's 1.3.1 SR3. + +* Sat Dec 28 2002 Ville Skyttä - 2.2.1-2jpp +- Add upstream patch which fixes problems with Tomcat's webapps. + + +- Separate scripts subpackage. + +* Fri Nov 15 2002 Ville Skyttä - 2.2.1-1jpp +- Update to 2.2.1. +- Change alternative to point to non-versioned jar. +- Don't remove alternative on upgrade. +- Fix Group tag for demo, javadoc and manual subpackages. +- Add version and constants scripts. +- Some spec file cleanup. + +* Sun Oct 6 2002 Ville Skyttä 2.2.0-2jpp +- Fix bad permissions for main jar. + +* Sun Sep 29 2002 Ville Skyttä 2.1.0-1jpp +- Update to 2.2.0. + +* Tue Sep 10 2002 Ville Skyttä 2.1.0-2jpp +- Rebuild with -Dcompiler=modern, not a Jikes bug this time, but sloppy code + that is tolerated by javac. See for details. + +* Tue Sep 10 2002 Ville Skyttä 2.1.0-1jpp +- 2.1.0. +- Updated description. +- Changed javadoc and manual group to Documentation. +- Spec file cleanups. + +* Fri Jul 12 2002 Henri Gomez 2.0.2-4jpp +- add BuildRequires xerces-j1 and xalan-j2 +- removed BuildRequires xml-commons-api since ant require jaxp_parser_impl + which in turn require xml-commons-api ;) + +* Mon Jul 01 2002 Guillaume Rousse 2.0.2-3jpp +- vendor, distribution, group tags +- provides jaxp_parser_impl +- dropped api jar +- renamed lone jar to %{name}.jar +- priority bumped to 40 +- fixed stylebook build (add xerces-j1 in classpath) + +* Wed Jun 26 2002 Guillaume Rousse 2.0.2-2jpp +- rebuild for missing symlinks +- use sed instead of bash 2.x extension in link area to make spec compatible with distro using bash 1.1x + +* Mon Jun 24 2002 Henri Gomez 2.0.2-1jpp +- 2.0.2 + +* Sun Mar 10 2002 Guillaume Rousse 2.0.1-1jpp +- 2.0.1 +- provides jaxp_parser2 virtual resource +- drop wrapper + +* Sun Feb 03 2002 Guillaume Rousse 2.0.0-1jpp +- first JPackage release