Browse Source

NEW: ant, xml-common-apis, xerces-j2

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@1678 ec354946-7b23-47d6-9f5a-488ba84defc7
inagaki 13 years ago
parent
commit
52ad691f76
3 changed files with 985 additions and 0 deletions
  1. 219 0
      a/ant/ant-vl.spec
  2. 492 0
      x/xerces-j2/xerces-j2-vl.spec
  3. 274 0
      x/xml-commons-apis/xml-commons-apis-vl.spec

+ 219 - 0
a/ant/ant-vl.spec

@@ -0,0 +1,219 @@
+%define ant_home %{_datadir}/ant
+%define gcj_support 0
+
+Name:           ant
+Summary:        Ant build tool for java
+Summary(ja):    Java 用ビルドツール
+Version:        1.8.1
+Release:        1%{?_dist_release}
+
+License:        ASL 2.0
+URL:            http://ant.apache.org/
+Group:          Development/Tools
+
+# using binary for bootstrap
+Source0:        http://www.apache.org/dist/ant/binaries/apache-ant-%{version}-bin.tar.bz2
+Source1:        apache-ant-1.7.ant.conf
+
+BuildRequires:  jpackage-utils >= 1.7.5
+BuildRequires:  java-devel >= 1.5.0
+#BuildRequires:  jaxp_transform_impl
+#if %without bootstrap
+#BuildRequires:  ant
+#BuildRequires:  junit
+#BuildRequires:  xml-commons-jaxp-1.3-apis
+#BuildRequires:  xerces-j2
+#endif
+
+Requires:       jpackage-utils >= 1.7.5
+Requires:       java-devel >= 1.5.0
+#if %without bootstrap
+Requires:       xerces-j2
+Requires:       xml-commons-jaxp-1.3-apis
+#endif
+
+%if !%{gcj_support}
+BuildArch:      noarch
+%endif
+BuildRoot:      %{_tmppath}/%{name}-%{version}-root
+# RHUG
+Obsoletes:      ant-devel < %{version}-%{release}
+Provides:       ant-devel = %{version}-%{release}
+# Mandriva
+Conflicts:      j2sdk-ant
+%if %{gcj_support}
+BuildRequires:  java-gcj-compat-devel
+Requires(post):   java-gcj-compat
+Requires(postun): java-gcj-compat
+%endif
+
+Requires(post):   jpackage-utils >= 1.7.5
+Requires(postun): jpackage-utils >= 1.7.5
+
+%description
+Ant is a platform-independent build tool for java. It's used by apache
+jakarta and xml projects.
+
+#'
+# -----------------------------------------------------------------------------
+
+%prep
+%setup -q -n apache-ant-%{version}
+
+# Fix file-not-utf8 rpmlint warning
+iconv KEYS -f iso-8859-1 -t utf-8 -o KEYS.utf8
+mv KEYS.utf8 KEYS
+iconv LICENSE -f iso-8859-1 -t utf-8 -o LICENSE.utf8
+mv LICENSE.utf8 LICENSE
+
+# Provides: exclude perl(oata), perl(examples)
+cat <<__EOF__ > %{name}-perl.prov
+#!/bin/sh
+/usr/lib/rpm/perl.prov \$* | grep -v '^perl(oata)$' | grep -v '^perl(examples)$'
+__EOF__
+%define __perl_provides %{_builddir}/apache-ant-%{version}/%{name}-perl.prov
+chmod +x %{__perl_provides}
+
+
+# Requires: exclude bogus perl(the)
+cat <<__EOF__ > %{name}-perl.req
+#!/bin/sh
+/usr/lib/rpm/perl.req \$* | grep -v '^perl(the)$'
+__EOF__
+%define __perl_requires %{_builddir}/apache-ant-%{version}/%{name}-perl.req
+chmod +x %{__perl_requires}
+
+# -----------------------------------------------------------------------------
+
+%build
+
+
+# -----------------------------------------------------------------------------
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+# ANT_HOME and subdirs
+mkdir -p $RPM_BUILD_ROOT%{ant_home}/{lib,etc}
+
+# jars
+install -d -m 755 $RPM_BUILD_ROOT%{_javadir}
+install -d -m 755 $RPM_BUILD_ROOT%{_javadir}/%{name}
+install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/maven2/poms
+
+pushd lib
+for jars in *.jar; do
+    suffix=`echo $jars | cut -f1 -d.`
+    case "$suffix" in
+	ant | ant-launcher)
+	    install -m 644 $jars $RPM_BUILD_ROOT%{_javadir}/$suffix-%{version}.jar
+	    ;;
+	*)
+	    install -m 644 $jars $RPM_BUILD_ROOT%{_javadir}/%{name}/$suffix-%{version}.jar
+	    ;;
+    esac
+done
+
+for poms in *.pom; do
+    case "$poms" in
+	ant.pom | ant-launcher.pom)
+	    install -m 644 $poms $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP-$poms
+	    ;;
+	*)
+	    install -m 644 $poms $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.%{name}-$poms
+	    ;;
+    esac
+done
+ln -sf %{name}-apache-bcel.jar $RPM_BUILD_ROOT%{_javadir}/%{name}/%{name}-jakarta-bcel.jar
+ln -sf %{name}-apache-log4j.jar $RPM_BUILD_ROOT%{_javadir}/%{name}/%{name}-jakarta-log4j.jar
+ln -sf %{name}-apache-oro.jar $RPM_BUILD_ROOT%{_javadir}/%{name}/%{name}-jakarta-oro.jar
+ln -sf %{name}-apache-regexp.jar $RPM_BUILD_ROOT%{_javadir}/%{name}/%{name}-jakarta-regexp.jar
+popd
+
+# jar aliases
+(cd $RPM_BUILD_ROOT%{_javadir} && for jar in *-%{version}.jar; do ln -sf ${jar} `echo $jar| sed "s|-%{version}||g"`; done)
+(cd $RPM_BUILD_ROOT%{_javadir}/%{name} && for jar in *-%{version}.jar; do ln -sf ${jar} `echo $jar| sed "s|-%{version}||g"`; done)
+
+# XSLs
+cp -p etc/*.xsl $RPM_BUILD_ROOT%{ant_home}/etc
+
+# install everything else
+mkdir -p $RPM_BUILD_ROOT%{_bindir}
+cp -p bin/ant{,Run} $RPM_BUILD_ROOT%{_bindir}
+
+# default ant.conf
+mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}
+cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.conf
+
+# OPT_JAR_LIST fragments
+mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d
+echo "ant/ant-jmf" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/jmf
+echo "ant/ant-nodeps" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/nodeps
+echo "ant/ant-swing" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/swing
+echo "jaxp_transform_impl ant/ant-trax xalan-j2-serializer" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/trax
+echo "antlr ant/ant-antlr" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/antlr
+echo "bsf ant/ant-apache-bsf" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/apache-bsf
+echo "xml-commons-resolver12 ant/ant-apache-resolver" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/apache-resolver
+echo "jakarta-commons-logging ant/ant-commons-logging" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/commons-logging
+echo "jakarta-commons-net ant/ant-commons-net" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/commons-net
+#echo "jai ant/ant-jai" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/jai
+echo "bcel ant/ant-apache-bcel" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/apache-bcel
+echo "log4j ant/ant-apache-log4j" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/apache-log4j
+echo "oro ant/ant-apache-oro" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/apache-oro
+echo "regexp ant/ant-apache-regexp" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/apache-regexp
+echo "javamail jaf ant/ant-javamail" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/javamail
+echo "jdepend ant/ant-jdepend" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/jdepend
+echo "jsch ant/ant-jsch" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/jsch
+echo "junit ant/ant-junit" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/junit
+
+# -----------------------------------------------------------------------------
+
+%if %{gcj_support}
+rm -rf aot-compile-rpm
+%{_bindir}/aot-compile-rpm
+%endif
+
+%if %{gcj_support}
+%post
+if [ -x %{_bindir}/rebuild-gcj-db ]
+then
+  %{_bindir}/rebuild-gcj-db
+fi
+
+%postun 
+if [ -x %{_bindir}/rebuild-gcj-db ]
+then
+  %{_bindir}/rebuild-gcj-db
+fi
+%endif
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+# -----------------------------------------------------------------------------
+
+%files
+%defattr(0644,root,root,0755)
+%doc KEYS LICENSE NOTICE README WHATSNEW
+%config(noreplace) %{_sysconfdir}/%{name}.conf
+%dir %{_sysconfdir}/%{name}.d
+%{_sysconfdir}/%{name}.d/*
+%attr(0755,root,root) %{_bindir}/ant
+%attr(0755,root,root) %{_bindir}/antRun
+%{_javadir}/*.jar
+%dir %{_javadir}/%{name}
+%{_javadir}/%{name}/*.jar
+%dir %{ant_home}
+%dir %{ant_home}/etc
+%{ant_home}/etc/*.xsl
+%{_datadir}/maven2/poms/*
+%if %{gcj_support}
+%attr(-,root,root) %{_libdir}/gcj/%{name}/*
+%endif
+
+# -----------------------------------------------------------------------------
+
+%changelog
+* Sat Aug 28 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.8.1-1
+- Initial build for Vine Linux
+- this release is based on binary distribution

+ 492 - 0
x/xerces-j2/xerces-j2-vl.spec

@@ -0,0 +1,492 @@
+%global cvs_version 2_9_0
+
+Name:          xerces-j2
+Summary:       Java XML parser
+Summary(ja):   Java XML パーサ
+Version:       2.9.0
+Release:       5%{?_dist_release}
+
+Group:         Development/Libraries
+License:       ASL 2.0
+URL:           http://xerces.apache.org/xerces2-j/
+
+# using binary for bootstrap
+Source0:       http://archive.apache.org/dist/xml/xerces-j/Xerces-J-bin.%{version}.tar.gz
+#Source0:       http://archive.apache.org/dist/xml/xerces-j/source/Xerces-J-src.%{version}.tar.gz
+Source1:       %{name}-version.sh
+Source2:       %{name}-constants.sh
+
+
+BuildRoot:     %{_tmppath}/%{name}-%{version}-root
+BuildArch:     noarch
+
+#BuildRequires: java-devel >= 1:1.6.0
+#BuildRequires: jpackage-utils
+#BuildRequires: xml-commons-apis >= 1.3
+#BuildRequires: xml-commons-resolver >= 1.1
+#BuildRequires: ant
+#BuildRequires: xalan-j2
+#BuildRequires: xml-stylebook
+#BuildRequires: jaxp_parser_impl
+#BuildRequires: dejavu-sans-fonts
+Requires:      java
+Requires:      jpackage-utils
+Requires:      xml-commons-apis >= 1.3
+#Requires:      xml-commons-resolver >= 1.1
+
+Provides:      jaxp_parser_impl = 1.3
+Requires(post):  alternatives jaxp_parser_impl
+Requires(preun): alternatives jaxp_parser_impl
+
+# This documentation is provided by xml-commons-apis
+#Obsoletes:     %{name}-javadoc-apis < %{version}-%{release}
+
+%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.
+
+Xerces2 is a fully conforming XML Schema processor. For more information,
+refer to the XML Schema page.
+
+Xerces2 also provides a complete implementation of the Document Object Model
+Level 3 Core and Load/Save W3C Recommendations and provides a complete
+implementation of the XML Inclusions (XInclude) W3C Recommendation. It also
+provides support for OASIS XML Catalogs v1.1.
+
+Xerces2 is able to parse documents written according to the XML 1.1
+Recommendation, except that it does not yet provide an option to enable
+normalization checking as described in section 2.13 of this specification. It
+also handles namespaces according to the XML Namespaces 1.1 Recommendation,
+and will correctly serialize XML 1.1 documents if the DOM level 3 load/save
+APIs are in use.
+
+#%package        javadoc-impl
+#Summary:        Javadoc for %{name} implementation
+#Group:          Documentation
+#
+#%description    javadoc-impl
+#%{summary}.
+
+#%package        javadoc-xs
+#Summary:        Javadoc for %{name} XML schema API
+#Group:          Documentation
+#
+#%description    javadoc-xs
+#%{summary}.
+
+#%package        javadoc-xni
+#Summary:        Javadoc for %{name} XNI
+#Group:          Documentation
+#
+#%description    javadoc-xni
+#%{summary}.
+
+#%package        javadoc-other
+#Summary:        Javadoc for other %{name} components
+#Group:          Documentation
+#
+#%description    javadoc-other
+#%{summary}.
+
+#%package        manual
+#Summary:        Manual for %{name}
+#Group:          Documentation
+#Requires:       xml-commons-apis-javadoc
+#Requires:       %{name}-javadoc-impl = %{version}-%{release}
+#Requires:       %{name}-javadoc-xs = %{version}-%{release}
+#Requires:       %{name}-javadoc-xni = %{version}-%{release}
+#Requires:       %{name}-javadoc-other = %{version}-%{release}
+#
+#%description    manual
+#%{summary}.
+
+#%package        demo
+#Summary:        Demonstrations and samples for %{name}
+#Group:          Development/Libraries
+#Requires:       %{name} = %{version}-%{release}
+#
+#%description    demo
+#%{summary}.
+
+#%package        scripts
+#Summary:        Additional utility scripts for %{name}
+#Group:          Development/Libraries
+#Requires:       %{name} = %{version}-%{release}
+#
+#%description    scripts
+#%{summary}.
+
+%prep
+%setup -q -n xerces-2_9_0
+#patch0 -p0 -b .orig
+
+%build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+# jars
+install -pD -T 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)
+
+# scripts
+install -pD -m755 -T %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/%{name}-version
+install -pD -m755 -T %{SOURCE2} $RPM_BUILD_ROOT%{_bindir}/%{name}-constants
+
+# demo
+#install -pD -T 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
+/sbin/update-alternatives --install %{_javadir}/jaxp_parser_impl.jar \
+    jaxp_parser_impl %{_javadir}/%{name}.jar 40
+
+%preun
+if [ $1 = 0 ]; then
+    /sbin/update-alternatives --remove jaxp_parser_impl \
+	%{_javadir}/%{name}.jar
+fi
+
+%files
+%defattr(-,root,root,-)
+%doc LICENSE NOTICE
+%{_javadir}/%{name}*
+#ghost %{_javadir}/jaxp_parser_impl.jar
+
+#%files javadoc-impl
+#%defattr(-,root,root,-)
+#%{_javadocdir}/%{name}-impl-%{version}
+#%{_javadocdir}/%{name}-impl
+
+#%files javadoc-xs
+#%defattr(-,root,root,-)
+#%{_javadocdir}/%{name}-xs-%{version}
+#%{_javadocdir}/%{name}-xs
+
+#%files javadoc-other
+#%defattr(-,root,root,-)
+#%{_javadocdir}/%{name}-other-%{version}
+#%{_javadocdir}/%{name}-other
+
+#%files javadoc-xni
+#%defattr(-,root,root,-)
+#%{_javadocdir}/%{name}-xni-%{version}
+#%{_javadocdir}/%{name}-xni
+
+#%files manual
+#%defattr(-,root,root,-)
+#%dir %{_docdir}/%{name}-%{version}
+#%{_docdir}/%{name}-%{version}/manual
+
+#%files demo
+#%defattr(-,root,root,-)
+#%{_datadir}/%{name}
+
+#%files scripts
+#%defattr(-,root,root,-)
+%{_bindir}/*
+
+%changelog
+* Fri Aug 27 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.9.0-5
+- Initial build for Vine Linux
+
+* Sat Jun 12 2010 Mat Booth <fedora@matbooth.co.uk> - 2.9.0-4
+- Fix broken links in manual and fix javadoc requires.
+- Build 1.5 bytecode instead of 1.6, for compatibility.
+
+* Fri Jan 22 2010 Andrew Overholt <overholt@redhat.com> - 2.9.0-3
+- Fix unversioned Provides for jaxp_parser_impl (make it 1.3).
+
+* Thu Jan 14 2010 Mat Booth <fedora@matbooth.co.uk> - 2.9.0-2
+- Add a build dep on a font package because the JDK is missing a dependency
+  to function correctly in headless mode. See RHBZ #478480 and #521523.
+- Fix groups.
+
+* Tue Jan 5 2010 Mat Booth <fedora@matbooth.co.uk> - 2.9.0-1
+- Update to 2.9.0: This is the version Eclipse expects, previously the OSGi
+  manifest was lying about its version :-o
+- Enable manual sub-package now xml-stylebook is in Fedora.
+- Drop GCJ support.
+- Minor changes to spec to make it more conforming to the guidelines.
+- Drop the libgcj patch, we don't seem to need it anymore.
+- Add the OSGi manifest as part of the build instead of the install.
+- Fix packaging bug RHBZ #472646.
+
+* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:2.7.1-12.3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
+
+* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:2.7.1-11.3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
+
+* Fri Jan 30 2009 Alexander Kurtakov <akurtako@redhat.com> 0:2.7.1-10.3
+- Add osgi manifest.
+
+* Thu Jul 10 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0:2.7.1-10.2
+- drop repotag
+- fix license tag
+
+* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0:2.7.1-10jpp.1
+- Autorebuild for GCC 4.3
+
+* Wed Mar 28 2007 Matt Wringe <mwringe@redhat.com> 0:2.7.1-9jpp.1
+- Update with newest jpp version
+- Clean up spec file for Fedora Review
+
+* Sun Aug 13 2006 Warren Togami <wtogami@redhat.com> 0:2.7.1-7jpp.2
+- fix typo in preun req
+
+* Sat Aug 12 2006 Matt Wringe <mwringe at redhat.com> 0:2.7.1-7jpp.1
+- Merge with upstream version
+
+* Sat Aug 12 2006 Matt Wringe <mwringe at redhat.com> 0:2.7.1-7jpp
+- Add conditional native compiling
+- Add missing requires for javadocs
+- Add missing requires for post and preun
+- Update version to 7jpp at Fedora's request
+
+* Sat Jul 22 2006 Jakub Jelinek <jakub@redhat.com> - 0:2.7.1-6jpp_9fc
+- Rebuilt
+
+* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0:2.7.1-6jpp_8fc
+- rebuild
+
+* Thu Mar 30 2006 Fernando Nasser <fnasser@redhat.com> 0:2.7.1-3jpp
+- Add missing BR for xml-stylebook
+
+* Wed Mar 22 2006 Ralph Apel <r.apel at r-apel.de> 0:2.7.1-2jpp
+- First JPP-1.7 release
+- use tools subdir and give it as java.endorsed.dirs (for java-1.4.2-bea e.g.)
+
+* Mon Mar  6 2006 Jeremy Katz <katzj@redhat.com> - 0:2.7.1-6jpp_7fc
+- stop scriptlet spew
+
+* Wed Feb 22 2006 Rafael Schloming <rafaels@redhat.com> - 0:2.7.1-6jpp_6fc
+- Updated to 2.7.1
+
+* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0:2.6.2-6jpp_5fc
+- bump again for double-long bug on ppc(64)
+
+* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0:2.6.2-6jpp_4fc
+- rebuilt for new gcc4.1 snapshot and glibc changes
+
+* Thu Feb  2 2006 Archit Shah <ashah@redhat.com> 0:2.6.2-6jpp_3fc
+- build xerces without using native code
+
+* Mon Jan  9 2006 Archit Shah <ashah@redhat.com> 0:2.6.2-6jpp_2fc
+- rebuilt for new gcj
+
+* Wed Dec 21 2005 Jesse Keating <jkeating@redhat.com> 0:2.6.2-6jpp_1fc
+- rebuilt for new gcj
+
+* Tue Dec 13 2005 Jesse Keating <jkeating@redhat.com>
+- rebuilt for new gcj
+
+* Fri Oct 07 2005 Ralph Apel <r.apel at r-apel.de> 0:2.7.1-1jpp
+- Upgrade to 2.7.1
+
+* Thu Jul 21 2005 Ralph Apel <r.apel at r-apel.de> 0:2.6.2-7jpp
+- Include target jars-dom3
+- Create new subpackage dom3
+
+* Mon Jul 18 2005 Gary Benson <gbenson at redhat.com> 0:2.6.2-5jpp_2fc
+- Build on ia64, ppc64, s390 and s390x.
+- Switch to aot-compile-rpm (also BC-compiles samples).
+
+* Wed Jul 13 2005 Gary Benson <gbenson at redhat.com> 0:2.6.2-6jpp
+- Build with Sun JDK (from <gareth.armstrong at hp.com>).
+
+* Wed Jun 15 2005 Gary Benson <gbenson at redhat.com> 0:2.6.2-5jpp_1fc
+- Upgrade to 2.6.2-5jpp.
+
+* Tue Jun 14 2005 Gary Benson <gbenson at redhat.com> 0:2.6.2-5jpp
+- Remove the tools tarball, and build xjavac from source.
+- Patch xjavac to fix the classpath under libgcj too.
+
+* Fri Jun 10 2005 Gary Benson <gbenson@redhat.com> 0:2.6.2-4jpp_8fc
+- Remove the tools tarball, and build xjavac from source.
+- Replace classpath workaround to xjavac task and use
+  xml-commons classes again (#152255).
+
+* Thu May 26 2005 Gary Benson <gbenson@redhat.com> 0:2.6.2-4jpp_7fc
+- Rearrange how BC-compiled stuff is built and installed.
+
+* Mon May 23 2005 Gary Benson <gbenson@redhat.com> 0:2.6.2-4jpp_6fc
+- Add alpha to the list of build architectures (#157522).
+- Use absolute paths for rebuild-gcj-db.
+
+* Thu May  5 2005 Gary Benson <gbenson@redhat.com> 0:2.6.2-4jpp_5fc
+- Add dependencies for %%post and %%postun scriptlets (#156901).
+
+* Fri Apr 29 2005 Gary Benson <gbenson@redhat.com> 0:2.6.2-4jpp_4fc
+- BC-compile.
+
+* Thu Apr 28 2005 Gary Benson <gbenson@redhat.com> 0:2.6.2-4jpp_3fc
+- Revert xjavac classpath workaround, and patch to use libgcj's
+  classes instead of those in xml-commons (#152255).
+
+* Thu Apr 21 2005 Gary Benson <gbenson@redhat.com> 0:2.6.2-4jpp_2fc
+- Add classpath workaround to xjavac task (#152255).
+
+* Wed Jan 12 2005 Gary Benson <gbenson@redhat.com> 0:2.6.2-4jpp_1fc
+- Reenable building of classes that require javax.swing (#130006).
+- Sync with RHAPS.
+
+* Mon Nov 15 2004 Fernando Nasser <fnasser@redhat.com>  0:2.6.2-4jpp_1rh
+- Merge with upstream for 2.6.2 upgrade
+
+* Thu Nov  4 2004 Gary Benson <gbenson@redhat.com> 0:2.6.2-2jpp_5fc
+- Build into Fedora.
+
+* Thu Oct 28 2004 Gary Benson <gbenson@redhat.com> 0:2.6.2-2jpp_4fc
+- Bootstrap into Fedora.
+
+* Fri Oct 1 2004 Andrew Overholt <overholt@redhat.com> 0:2.6.2-2jpp_4rh
+- add coreutils BuildRequires
+
+* Thu Sep 30 2004 Andrew Overholt <overholt@redhat.com> 0:2.6.2-2jpp_3rh
+- Remove xml-commons-resolver as a Requires
+
+* Thu Aug 26 2004 Ralph Apel <r.apel at r-apel.de> 0:2.6.2-4jpp
+- Build with ant-1.6.2
+- Dropped jikes requirement, built for 1.4.2
+
+* Wed Jun 23 2004 Kaj J. Niemi <kajtzu@fi.basen.net> 0:2.6.2-3jpp
+- Updated Patch #0 to fix breakage using BEA 1.4.2 SDK, new patch
+  from <mwringe@redhat.com> and <vivekl@redhat.com>.
+
+* Mon Jun 21 2004 Vivek Lakshmanan <vivekl@redhat.com> 0:2.6.2-2jpp_2rh
+- Added new Source1 URL and added new %%setup to expand it under the
+  expanded result of Source0.
+- Updated Patch0 to fix version discrepancies.
+- Added build requirement for xml-commons-apis
+ 
+* Mon Jun 14 2004 Matt Wringe <mwringe@redhat.com> 0:2.6.2-2jpp_1rh
+- Update to 2.6.2
+- made patch names comformant
+
+* Mon Mar 29 2004 Kaj J. Niemi <kajtzu@fi.basen.net> 0:2.6.2-2jpp
+- Rebuilt with jikes 1.18 for java 1.3.1_11
+
+* Fri Mar 26 2004 Frank Ch. Eigler <fche@redhat.com> 0:2.6.1-1jpp_2rh
+- add RHUG upgrade cleanup
+
+* Tue Mar 23 2004 Kaj J. Niemi <kajtzu@fi.basen.net> 0:2.6.2-1jpp
+- 2.6.2
+
+* Thu Mar 11 2004 Frank Ch. Eigler <fche@redhat.com> 0:2.6.1-1jpp_1rh
+- RH vacuuming
+- remove jikes dependency
+- add nonjikes-cast.patch
+
+* Sun Feb 08 2004 David Walluck <david@anti-microsoft.org> 0:2.6.1-1jpp
+- 2.6.1
+- update Source0 URL
+- now requires xml-commons-resolver
+
+* Fri Jan  9 2004 Kaj J. Niemi <kajtzu@fi.basen.net> - 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ä <ville.skytta at iki.fi> - 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ä <ville.skytta at iki.fi> - 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 <david@anti-microsoft.org> 0:2.4.0-2jpp
+- bug #17325 fixed upstream
+
+* Mon May 12 2003 David Walluck <david@anti-microsoft.org> 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 <Nicolas.Mailhot (at) JPackage.org> - 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ä <ville.skytta at iki.fi> - 2.3.0-1jpp
+- Update to 2.3.0.
+- Add a crude patch to work around invalid XML in doc sources, see
+  <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17325>.
+- Built with IBM's 1.3.1 SR3.
+
+* Sat Dec 28 2002 Ville Skyttä <ville.skytta at iki.fi> - 2.2.1-2jpp
+- Add upstream patch which fixes problems with Tomcat's webapps.
+  <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13282>
+  <http://marc.theaimsgroup.com/?l=xerces-cvs&m=103791990130308>
+- Separate scripts subpackage.
+
+* Fri Nov 15 2002 Ville Skyttä <ville.skytta at iki.fi> - 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ä <ville.skytta at iki.fi> 2.2.0-2jpp
+- Fix bad permissions for main jar.
+
+* Sun Sep 29 2002 Ville Skyttä <ville.skytta at iki.fi> 2.1.0-1jpp
+- Update to 2.2.0.
+
+* Tue Sep 10 2002 Ville Skyttä <ville.skytta at iki.fi> 2.1.0-2jpp
+- Rebuild with -Dcompiler=modern, not a Jikes bug this time, but sloppy code
+  that is tolerated by javac.  See <http://www-124.ibm.com/developerworks/bugs/?func=detailbug&bug_id=3218&group_id=10> for details.
+
+* Tue Sep 10 2002 Ville Skyttä <ville.skytta at iki.fi> 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 <hgomez@users.sourceforge.net> 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 <guillomovitch@users.sourceforge.net> 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 <guillomovitch@users.sourceforge.net> 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 <hgomez@users.sourceforge.net> 2.0.2-1jpp
+- 2.0.2
+
+* Sun Mar 10 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.0.1-1jpp 
+- 2.0.1
+- provides jaxp_parser2 virtual resource
+- drop wrapper
+
+* Sun Feb 03 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.0.0-1jpp 
+- first JPackage release

+ 274 - 0
x/xml-commons-apis/xml-commons-apis-vl.spec

@@ -0,0 +1,274 @@
+# Copyright (c) 2000-2007, JPackage Project
+# All rights reserved.
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions
+# are met:
+#
+# 1. Redistributions of source code must retain the above copyright
+#    notice, this list of conditions and the following disclaimer.
+# 2. Redistributions in binary form must reproduce the above copyright
+#    notice, this list of conditions and the following disclaimer in the
+#    documentation and/or other materials provided with the
+#    distribution.
+# 3. Neither the name of the JPackage Project nor the names of its
+#    contributors may be used to endorse or promote products derived
+#    from this software without specific prior written permission.
+#
+# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+#
+
+Name:           xml-commons-apis
+Summary:        APIs for DOM, SAX, and JAXP
+Version:        1.3.04
+Release:        1%{?_dist_release}
+
+#Group:          Text Processing/Markup/XML
+Group:          System Environment/Libraries
+License:        ASL 2.0 and W3C and Public Domain
+URL:            http://xml.apache.org/commons/
+
+
+# using binary package for bootstrap
+Source0:        xml-commons-external-%{version}-bin.tar.gz
+# svn export http://svn.apache.org/repos/asf/xml/commons/tags/xml-commons-external-1_4_01/java/external/
+# tar czf xml-commons-external-1.4.01-src.tar.gz external
+
+BuildRoot:      %{_tmppath}/%{name}-%{version}-root
+BuildArch:      noarch
+BuildRequires:  jpackage-utils >= 1.5
+#BuildRequires:  ant
+Requires:       jpackage-utils >= 1.5
+
+Obsoletes:      xml-commons <= 1.3.02
+Provides:       xml-commons = %{version}-%{release}
+
+Provides:       jaxp = 1.3
+Provides:       xml-commons-jaxp-1.3-apis = %{version}-%{release}
+
+%description
+xml-commons-apis is designed to organize and have common packaging for
+the various externally-defined standard interfaces for XML. This
+includes the DOM, SAX, and JAXP. 
+
+%package manual
+Summary: Manual for %{name}
+Group: Applications/Documentation
+
+%description manual
+Manual for %{name}.
+
+# -----------------------------------------------------------------------------
+
+%prep
+%setup -q -n xml-commons-external-%{version}
+
+# -----------------------------------------------------------------------------
+
+%build
+
+# -----------------------------------------------------------------------------
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+# Jars
+mkdir -p $RPM_BUILD_ROOT%{_javadir}
+cp -p xml-apis.jar \
+  $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar
+cp -p xml-apis-ext.jar \
+  $RPM_BUILD_ROOT%{_javadir}/%{name}-ext-%{version}.jar
+
+# Jar versioning
+(cd $RPM_BUILD_ROOT%{_javadir} && for jar in %{name}-%{version}.jar; do ln -sf ${jar} dom3-${jar}; done)
+(cd $RPM_BUILD_ROOT%{_javadir} && for jar in *-%{version}.jar; do ln -sf ${jar} `echo $jar| sed "s|-%{version}||g"`; done)
+# for better interoperability with the jpp apis packages
+ln -sf %{name}.jar $RPM_BUILD_ROOT%{_javadir}/jaxp13.jar
+ln -sf %{name}.jar $RPM_BUILD_ROOT%{_javadir}/jaxp.jar
+ln -sf %{name}.jar $RPM_BUILD_ROOT%{_javadir}/xml-commons-jaxp-1.3-apis.jar
+
+# -----------------------------------------------------------------------------
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+# -----------------------------------------------------------------------------
+
+%files
+%defattr(-,root,root,-)
+%doc LICENSE NOTICE 
+%doc LICENSE.dom-documentation.txt README.dom.txt
+%doc LICENSE.dom-software.txt
+%doc LICENSE.sax.txt README.sax.txt
+%{_javadir}/*
+
+%files manual
+%defattr(-,root,root,-)
+%doc docs/*
+
+#files javadoc
+#defattr(-,root,root,-)
+#{_javadocdir}/*
+
+# -----------------------------------------------------------------------------
+
+%changelog
+* Fri Aug 27 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.3.04-1
+- Initial build for Vine Linux
+- used version 1.3.04
+
+* Sat Jan 9 2010 Alexander Kurtakov <akurtako@redhat.com> 0:1.4.01-1
+- Update to 1.4.01.
+
+* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.3.04-3.5
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
+
+* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.3.04-2.5
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
+
+* Fri Feb 6 2009 Alexander Kurtakov <akurtako@redhat.com> 0:1.3.04-1.5
+- Add osgi metadata to the ext jar too.
+
+* Fri Jan 30 2009 Alexander Kurtakov <akurtako@redhat.com> 0:1.3.04-1.4
+- Add osgi metadata.
+
+* Fri Sep 19 2008 Matt Wringe <mwringe@redhat.com> - 0:1.3.04-1.3
+- Remove natively compiled bits from the javadoc package (462809)
+
+* Thu Jul 10 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0:1.3.04-1.2
+- drop repotag
+- fix license tag
+
+* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0:1.3.04-1jpp.1
+- Autorebuild for GCC 4.3
+
+* Tue Mar 06 2007 Matt Wringe <mwringe@redhat.com> - 0:1.3.04-0jpp.1
+- Update to 1.3.04
+
+* Tue Mar 06 2007 Matt Wringe <mwringe@redhat.com> - 0:1.3.03-0jpp.1
+- Split xml-commons package up into 2 separate package: xml-commons-apis
+  and xml-commons-which.
+
+* Mon Aug 21 2006 Fernando Nasser <fnasser@redhat.com> - 0:1.3.02-0.b2.7jpp.10
+- Add missing Requires for post and postun javadoc sections
+
+* Sat Jul 22 2006 Jakub Jelinek <jakub@redhat.com> - 0:1.3.02-0.b2.7jpp_9fc
+- Rebuilt
+
+* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0:1.3.02-0.b2.7jpp_8fc
+- rebuild
+
+* Mon Mar  6 2006 Jeremy Katz <katzj@redhat.com> - 0:1.3.02-0.b2.7jpp_7fc
+- stop scriptlet spew
+
+* Wed Feb 22 2006 Rafael Schloming <rafaels@redhat.com> - 0:1.3.02-0.b2.7jpp_6fc
+- Updated to 1.3
+
+* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0:1.0-0.b2.7jpp_5fc
+- bump again for double-long bug on ppc(64)
+
+* Wed Dec 21 2005 Jesse Keating <jkeating@redhat.com> 0:1.0-0.b2.7jpp_4fc
+- rebuilt again
+
+* Tue Dec 13 2005 Jesse Keating <jkeating@redhat.com>
+- rebuilt for new gcj
+
+* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
+- rebuilt
+
+* Fri Jul 15 2005 Gary Benson <gbenson@redhat.com> - 0:1.0-0.b2.7jpp_3fc
+- Build on ia64, ppc64, s390 and s390x.
+- Switch to aot-compile-rpm (also BC-compiles the which jar).
+
+* Wed Jun 15 2005 Gary Benson <gbenson@redhat.com> - 0:1.0-0.b2.7jpp_2fc
+- Remove all prebuilt stuff from the tarball.
+
+* Thu May 26 2005 Gary Benson <gbenson@redhat.com> - 0:1.0-0.b2.7jpp_1fc
+- Upgrade to 1.0-0.b2.7jpp.
+- Remove now-unnecessary workaround for #130162.
+- Rearrange how BC-compiled stuff is built and installed.
+
+* Mon May 23 2005 Gary Benson <gbenson@redhat.com> - 0:1.0-0.b2.6jpp_13fc
+- Add alpha to the list of build architectures (#157522).
+- Use absolute paths for rebuild-gcj-db.
+
+* Thu May  5 2005 Gary Benson <gbenson@redhat.com> - 0:1.0-0.b2.6jpp_12fc
+- Add dependencies for %%post and %%postun scriptlets (#156901).
+
+* Tue May  3 2005 Gary Benson <gbenson@redhat.com> - 0:1.0-0.b2.6jpp_11fc
+- BC-compile the API jar.
+
+* Tue Apr 26 2005 Gary Benson <gbenson@redhat.com> - 0:1.0-0.b2.6jpp_10fc
+- Remove gcj endorsed dir support (#155693).
+
+* Mon Apr 25 2005 Gary Benson <gbenson@redhat.com> - 0:1.0-0.b2.6jpp_9fc
+- Provide a default transformer when running under libgcj.
+
+* Mon Apr 25 2005 Gary Benson <gbenson@redhat.com> - 0:1.0-0.b2.6jpp_8fc
+- Provide a default DOM builder when running under libgcj (#155693).
+
+* Fri Apr 22 2005 Gary Benson <gbenson@redhat.com> - 0:1.0-0.b2.6jpp_7fc
+- Provide a default SAX parser when running under libgcj (#155693).
+
+* Thu Apr 21 2005 Gary Benson <gbenson@redhat.com> - 0:1.0-0.b2.6jpp_6fc
+- Add gcj endorsed dir support.
+
+* Tue Jan 11 2005 Gary Benson <gbenson@redhat.com> - 0:1.0-0.b2.6jpp_5fc
+- Sync with RHAPS.
+
+* Thu Nov  4 2004 Gary Benson <gbenson@redhat.com> - 0:1.0-0.b2.6jpp_4fc
+- Build into Fedora.
+
+* Thu Oct 28 2004 Gary Benson <gbenson@redhat.com> - 0:1.0-0.b2.6jpp_3fc
+- Bootstrap into Fedora.
+
+* Fri Oct 1 2004 Andrew Overholt <overholt@redhat.com> - 0:1.0-0.b2.6jpp_3rh
+- add coreutils BuildRequires
+
+* Thu Mar  4 2004 Frank Ch. Eigler <fche@redhat.com> - 0:1.0-0.b2.6jpp_2rh
+- RH vacuuming part II
+
+* Tue Mar  2 2004 Frank Ch. Eigler <fche@redhat.com> - 0:1.0-0.b2.6jpp_1rh
+- RH vacuuming
+
+* Thu Aug 26 2003 Ralph Apel <r.apel at r-apel.de> - 0:1.0-0.b2.7jpp
+- Build with ant-1.6.2
+
+* Mon May  5 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.0-0.b2.6jpp
+- Fix non-versioned javadoc symlinking.
+
+* Mon Apr 21 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.0-0.b2.5jpp
+- Fix xml-which script.
+- Include non-versioned javadoc symlinks.
+- Add Epoch: 0.
+- Fix jpackage-utils dependency versions.
+
+* Thu Mar 13 2003 Nicolas Mailhot <Nicolas.Mailhot at jpackage.org> - 1.0-0.b2.4jpp
+- For jpackage-utils 1.5
+
+* Wed Nov 13 2002 Ville Skyttä <ville.skytta at iki.fi> - 1.0-0.b2.3jpp
+- Following upstream changes, resolver is now built from its own package.
+
+* Sun Nov  3 2002 Ville Skyttä <ville.skytta at iki.fi> 1.0-0.b2.2jpp
+- Split resolver into its own subpackage.
+- Fix Group, Vendor and Distribution tags.
+- Use sed instead of bash 2 extension when symlinking jars.
+- Add resolver and which shell scripts.
+
+* Thu Jul 11 2002 Henri Gomez <hgomez@users.sourceforge.net> 1.0-0.b2.1jpp
+- 1.0.b2
+- get tarball from xml.apache.org
+- add macro section
+
+* Fri Jan 18 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 1.0-0.b1.1jpp
+- first jpp release