%global cvs_version %(echo %{version} | tr . _) Name: xalan-j2 Version: 2.7.2 Release: 12%{?dist} Summary: Java XSLT processor # src/org/apache/xpath/domapi/XPathStylesheetDOM3Exception.java is W3C License: ASL 2.0 and W3C URL: http://xalan.apache.org/ # ./generate-tarball.sh Source0: %{name}-%{version}.tar.gz Source1: xalan-j2-serializer-MANIFEST.MF Source2: http://repo1.maven.org/maven2/xalan/xalan/%{version}/xalan-%{version}.pom Source3: http://repo1.maven.org/maven2/xalan/serializer/%{version}/serializer-%{version}.pom Source4: xsltc-%{version}.pom Source5: xalan-j2-MANIFEST.MF # Remove bundled binaries which cannot be easily verified for licensing Source6: generate-tarball.sh Patch0: xalan-j2-noxsltcdeps.patch BuildArch: noarch BuildRequires: javapackages-local BuildRequires: ant BuildRequires: apache-parent BuildRequires: bcel BuildRequires: java_cup BuildRequires: regexp BuildRequires: sed BuildRequires: xerces-j2 >= 0:2.7.1 BuildRequires: xml-commons-apis >= 0:1.3 Requires: xerces-j2 Provides: jaxp_transform_impl %description Xalan is an XSLT processor for transforming XML documents into HTML, text, or other XML document types. It implements the W3C Recommendations for XSL Transformations (XSLT) and the XML Path Language (XPath). It can be used from the command line, in an applet or a servlet, or as a module in other program. %package xsltc Summary: XSLT compiler License: ASL 2.0 Requires: java_cup Requires: bcel Requires: regexp Requires: xerces-j2 %description xsltc The XSLT Compiler is a Java-based tool for compiling XSLT stylesheets into lightweight and portable Java byte codes called translets. %package manual Summary: Manual for %{name} License: ASL 2.0 %description manual Documentation for %{name}. %prep %setup -q -n xalan-j_%{cvs_version} %patch0 -p0 find . -name '*.jar' -delete find . -name '*.class' -delete sed -i '//dev/null || : # restore the symlink mv %{_javadir}/jaxp_transform_impl.jar{.tmp,} || : %files -f .mfiles %license LICENSE.txt NOTICE.txt %doc KEYS readme.html %files xsltc -f .mfiles-xsltc %license LICENSE.txt NOTICE.txt %files manual %license LICENSE.txt NOTICE.txt %doc build/docs/* %changelog * Sat Feb 05 2022 Jiri Vanek - 2.7.2-12 - Rebuilt for java-17-openjdk as system jdk * Sat Jan 22 2022 Fedora Release Engineering - 2.7.2-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Tue Nov 02 2021 Mikolaj Izdebski - 2.7.2-10 - Bump Java compiler source/target levels to 1.7 * Fri Jul 23 2021 Fedora Release Engineering - 2.7.2-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Mon Jun 28 2021 Mikolaj Izdebski - 2.7.2-8 - Build with OpenJDK 11 * Wed Jan 27 2021 Fedora Release Engineering - 0:2.7.2-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 0:2.7.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Sat Jul 11 2020 Jiri Vanek - 0:2.7.2-5 - Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11 * Mon Jun 29 2020 Mat Booth - 0:2.7.2-4 - Peg to Java 8 due to build issues on Java 11 * Fri Jun 19 2020 Mat Booth - 0:2.7.2-3 - Allow building against Java 11 * Fri Jan 31 2020 Fedora Release Engineering - 0:2.7.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Tue Nov 05 2019 Mikolaj Izdebski - 2.7.2-2 - Mass rebuild for javapackages-tools 201902 * Wed Oct 16 2019 Fabio Valentini - 0:2.7.2-1 - Update to version 2.7.2. * Wed Jul 31 2019 Marian Koncek - 2.7.2-1 - Update to upstream version 2.7.2 * Sat Jul 27 2019 Fedora Release Engineering - 0:2.7.1-40 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri May 24 2019 Mikolaj Izdebski - 2.7.1-39 - Mass rebuild for javapackages-tools 201901 * Sun Feb 03 2019 Fedora Release Engineering - 0:2.7.1-39 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Tue Aug 07 2018 Michael Simacek - 0:2.7.1-38 - Update license of subpackages * Tue Jul 31 2018 Michael Simacek - 0:2.7.1-37 - Remove BR on xml-stylebook * Tue Jul 31 2018 Michael Simacek - 0:2.7.1-36 - Repack the tarball without binaries * Sat Jul 14 2018 Fedora Release Engineering - 0:2.7.1-35 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri Feb 09 2018 Fedora Release Engineering - 0:2.7.1-34 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Mon Sep 25 2017 Mikolaj Izdebski - 0:2.7.1-33 - Elimitate race condition when injecting JAR manifest - Resolves: rhbz#1495250 * Thu Jul 27 2017 Fedora Release Engineering - 0:2.7.1-32 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Wed Mar 08 2017 Michael Simacek - 0:2.7.1-31 - Fix missing jaxp_transformer_impl symlink after upgrade * Thu Feb 23 2017 Michael Simacek - 0:2.7.1-30 - Install with XMvn - Remove alternatives * Tue Feb 07 2017 Michael Simacek - 0:2.7.1-29 - Build against glassfish-servlet-api * Fri Feb 05 2016 Fedora Release Engineering - 0:2.7.1-28 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Fri Jun 19 2015 Fedora Release Engineering - 0:2.7.1-27 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Wed Mar 4 2015 Alexander Kurtakov 0:2.7.1-26 - Move to Servlet 3.1. * Thu Feb 12 2015 Michael Simacek - 0:2.7.1-25 - Remove bundled JARs - Remove unused patch - Fix end-of-line issues * Wed Feb 11 2015 Mikolaj Izdebski - 0:2.7.1-24 - Update to current packaging guidelines * Sun Jun 08 2014 Fedora Release Engineering - 0:2.7.1-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Thu Mar 27 2014 Mikolaj Izdebski - 0:2.7.1-22 - Add patch to fix remote code execution vulnerability - Resolves: CVE-2014-0107 * Mon Aug 19 2013 Mikolaj Izdebski - 0:2.7.1-21 - Move depmaps to appropriate packages - Resolves: rhbz#998594 * Sun Aug 04 2013 Fedora Release Engineering - 0:2.7.1-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Wed Jul 10 2013 Krzysztof Daniel 0:2.7.1-19 - Add export packages from Eclipse orbit. - Restore dependency to system.bundle. * Fri Feb 15 2013 Fedora Release Engineering - 0:2.7.1-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Fri Oct 12 2012 Mikolaj Izdebski - 0:2.7.1-17 - Remove classpaths from manifests, resolves: rhbz#575635 - Remove jlex from classpath - Fix source URL to archive.apache.org - Don't mix spaces and tabs in spec file - Fix end-of-line encoding of some documentation files * Fri Aug 24 2012 Stanislav Ochotnicky - 0:2.7.1-16 - No more ASL 1.1 code present in the package, fix license * Thu Aug 23 2012 Stanislav Ochotnicky - 0:2.7.1-15 - Add NOTICE.txt file to subpackages - Remove bundled sources of other packages used to build javadocs * Thu Aug 16 2012 Andy Grimm - 0:2.7.1-14 - Remove osgi(system.bundle) requirement * Sun Jul 22 2012 Fedora Release Engineering - 0:2.7.1-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Thu Jul 12 2012 Andy Grimm - 0:2.7.1-12 - Change javax.servlet requirement to use tomcat 7 * Mon Jul 02 2012 Gerard Ryan - 0:2.7.1-11 - Fix Requires for javax.servlet to geronimo-osgi-support * Sun Jun 24 2012 Gerard Ryan - 0:2.7.1-10 - Inject OSGI Manifest for xalan-j2.jar * Tue May 29 2012 Andy Grimm - 0:2.7.1-9 - Follow new guidelines for EE API deps (#819546) * Sat Jan 14 2012 Fedora Release Engineering - 0:2.7.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Mon Oct 10 2011 Andy Grimm 0:2.7.1-7 - add POM files * Wed Aug 10 2011 Andrew Overholt 0:2.7.1-6 - Fix filename of serializer.jar in xalan-j2's MANIFEST.MF - https://bugzilla.redhat.com/show_bug.cgi?id=718738 * Tue Jul 26 2011 Alexander Kurtakov 0:2.7.1-5 - Remove old commented parts. - Fix rpmlint warnings. * Tue Jun 28 2011 Alexander Kurtakov 0:2.7.1-4 - Fix FTBFS. * Mon Feb 07 2011 Fedora Release Engineering - 0:2.7.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Thu Dec 16 2010 Alexander Kurtakov 0:2.7.1-2 - Update to current guidelines. * Wed Apr 7 2010 Alexander Kurtakov 0:2.7.1-1 - Update to 2.7.1. - Drop gcj_support. * Mon Jul 27 2009 Fedora Release Engineering - 0:2.7.0-9.5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Wed Feb 25 2009 Fedora Release Engineering - 0:2.7.0-8.5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Tue Feb 3 2009 Alexander Kurtakov 0:2.7.0-7.5 - Add osgi manifest. * Sat Sep 6 2008 Tom "spot" Callaway 0:2.7.0-7.4 - fix license tag * Thu Jul 10 2008 Tom "spot" Callaway - 0:2.7.0-7.3 - drop repotag - fix license tag * Mon Feb 18 2008 Fedora Release Engineering - 0:2.7.0-7jpp.2 - Autorebuild for GCC 4.3 * Fri Apr 20 2007 Vivek Lakshmanan - 0:2.7.0-6jpp.2.fc7 - Rebuild to fix incomplete .db/so files due to broken aot-compile-rpm * Fri Aug 18 2006 Vivek Lakshmanan - 0:2.7.0-6jpp.1 - Resync with latest from JPP. * Fri Aug 11 2006 Vivek Lakshmanan - 0:2.7.0-5jpp.3 - Rebuild. * Thu Aug 10 2006 Vivek Lakshmanan - 0:2.7.0-5jpp.2 - Rebuild. * Thu Aug 10 2006 Vivek Lakshmanan - 0:2.7.0-5jpp.1 - Resync with latest from JPP. - Partially adopt new naming convention (.1 suffix). - Use ln and rm explicitly instead of core-utils in Requires(x). * Thu Aug 10 2006 Karsten Hopp 2.7.0-4jpp_5fc - Requires(post): coreutils * Wed Jul 26 2006 Vivek Lakshmanan - 0:2.7.0-4jpp_4fc - Extend patch to cover all applicable MANIFEST files in src directory. * Wed Jul 26 2006 Vivek Lakshmanan - 0:2.7.0-4jpp_3fc - Apply patch to replace serializer.jar in MANIFEST file with xalan-j2-serializer.jar. * Sat Jul 22 2006 Jakub Jelinek - 0:2.7.0-4jpp_2fc - Rebuilt * Fri Jul 21 2006 Vivek Lakshmanan - 0:2.7.0-4jpp_1fc - Resync with latest JPP version. * Wed Jul 19 2006 Vivek Lakshmanan - 0:2.7.0-3jpp_1fc - Merge with latest version from jpp. - Undo ExcludeArch since eclipse available for all arch-es. - Remove jars from sources for new upstream version. - Purge unused patches from previous release. - Conditional native compilation with GCJ. - Use NVR macros wherever possible. * Wed Mar 8 2006 Rafael Schloming - 0:2.6.0-3jpp_10fc - excluded s390[x] and ppc64 due to eclipse * Mon Mar 6 2006 Jeremy Katz - 0:2.6.0-3jpp_9fc - stop scriptlet spew * Fri Feb 10 2006 Jesse Keating - 0:2.6.0-3jpp_8fc - bump again for double-long bug on ppc(64) * Tue Feb 07 2006 Jesse Keating - 0:2.6.0-3jpp_7fc - rebuilt for new gcc4.1 snapshot and glibc changes * Wed Dec 21 2005 Jesse Keating 0:2.6.0-3jpp_6fc - rebuild again * Tue Dec 13 2005 Jesse Keating 0:2.6.0-3jpp_5fc.3 - patch to not use target= in build.xml * Tue Dec 13 2005 Jesse Keating 0:2.6.0-3jpp_5fc.1 - rebuild again with gcc-4.1 * Fri Dec 09 2005 Warren Togami 0:2.6.0-3jpp_5fc - rebuild with gcc-4.1 * Tue Nov 1 2005 Archit Shah 0:2.6.0-3jpp_4fc - Exclude war which blocks aot compilation of main jar (#171005). * Tue Jul 19 2005 Gary Benson 0:2.6.0-3jpp_3fc - Build on ia64, ppc64, s390 and s390x. - Switch to aot-compile-rpm (also BC-compiles xsltc and samples). * Tue Jun 28 2005 Gary Benson 0:2.6.0-3jpp_2fc - Remove a tarball from the tarball too. - Fix demo subpackage's dependencies. * Wed Jun 15 2005 Gary Benson 0:2.6.0-3jpp_1fc - Remove jarfiles from the tarball. * Fri May 27 2005 Gary Benson 0:2.6.0-3jpp - Add NOTICE file as per Apache License version 2.0. - Build with servletapi5. * Fri May 27 2005 Gary Benson 0:2.6.0-2jpp_3fc - Remove now-unnecessary workaround for #130162. - Rearrange how BC-compiled stuff is built and installed. * Tue May 24 2005 Gary Benson 0:2.6.0-2jpp_2fc - Add DOM3 stubs to classes that need them (#152255). - BC-compile the main jarfile. * Fri Apr 1 2005 Gary Benson - Add NOTICE file as per Apache License version 2.0. * Wed Jan 12 2005 Gary Benson 0:2.6.0-2jpp_1fc - Sync with RHAPS. * Mon Nov 15 2004 Fernando Nasser 0:2.6.0-2jpp_1rh - Merge with latest community release * Thu Nov 4 2004 Gary Benson 0:2.6.0-1jpp_2fc - Build into Fedora. * Thu Aug 26 2004 Ralph Apel 0:2.6.0-2jpp - Build with ant-1.6.2 - Try with -Djava.awt.headless=true * Mon Jul 26 2004 Fernando Nasser 0:2.6.0-1jpp_1rh - Merge with latest community version * Fri Mar 26 2004 Frank Ch. Eigler 0:2.5.2-1jpp_2rh - add RHUG upgrade cleanup * Tue Mar 23 2004 Kaj J. Niemi 0:2.6.0-1jpp - Updated to 2.6.0 - Patches supplied by * Thu Mar 4 2004 Frank Ch. Eigler - 0:2.5.2-1jpp_1rh - RH vacuuming * Sat Nov 15 2003 Ville Skyttä - 0:2.5.2-1jpp - Update to 2.5.2. - Re-enable javadocs, new style versionless symlink handling, crosslink with local J2SE javadocs. - Spec cleanups. * Sat Jun 7 2003 Ville Skyttä - 0:2.5.1-1jpp - Update to 2.5.1. - Fix jpackage-utils version in BuildRequires, add xerces-j2. - Non-versioned javadoc symlinking. - Add one missing epoch. - Clean up manifests from Class-Path's and other stuff we don't include. - xsltc no longer provides a jaxp_transform_impl because of huge classpath and general unsuitablity for production-use, system-installed transformer. - Own (ghost) %%{_javadir}/jaxp_transform_impl.jar. - Remove alternatives in preun instead of postun. - Disable javadoc subpackage for now: * Thu Mar 27 2003 Nicolas Mailhot 0:2.5.0.d1-1jpp - For jpackage-utils 1.5 * Wed Jan 22 2003 Ville Skyttä - 2.4.1-2jpp - bsf -> oldbsf. - Use non-versioned jar in alternative, don't remove it on upgrade. - Remove hardcoded packager tag. * Mon Nov 04 2002 Henri Gomez 2.4.1-1jpp - 2.4.1 * Tue Sep 10 2002 Ville Skyttä 2.4.0-1jpp - 2.4.0. * Thu Aug 22 2002 Guillaume Rousse 2.4-0.D1.3jpp - corrected case for Group tag - fixed servlet classpath * Tue Aug 20 2002 Ville Skyttä 2.4-0.D1.2jpp - Remove xerces-j1 runtime dependency. - Add bcel, jlex, regexp to xsltc runtime requirements: - Build with -Dbuild.compiler=modern (IBM 1.3.1) to avoid stylebook errors. - XSLTC now provides jaxp_transform_impl too. - Earlier changes by Henri, from unreleased 2.4-D1.1jpp: Mon Jul 15 2002 Henri Gomez 2.4-D1.1jpp - 2.4D1 - use the jlex 1.2.5-5jpp (patched by Xalan/XSLTC team) rpm - use the stylebook-1.0-b3_xalan-2.jar included in source file till it will be packaged in jpackage - use jaxp_parser_impl (possibly xerces-j2) instead of xerces-j1 for docs generation, since it's tuned for stylebook-1.0-b3_xalan-2.jar - build and provide xsltc in a separate rpm * Mon Jul 01 2002 Guillaume Rousse 2.3.1-2jpp - provides jaxp_transform_impl - requires jaxp_parser_impl - stylebook already requires xml-commons-apis - jaxp_parser_impl already requires xml-commons-apis - use sed instead of bash 2.x extension in link area to make spec compatible with distro using bash 1.1x * Wed Jun 26 2002 Henri Gomez 2.3.1-2jpp - fix built classpath (bsf, bcel are existing jpackage rpms), - add buildrequires for javacup and JLex * Wed May 08 2002 Guillaume Rousse 2.3.1-1jpp - 2.3.1 - vendor, distribution, group tags * Mon Mar 18 2002 Guillaume Rousse 2.3.0-2jpp - generic servlet support * Wed Feb 20 2002 Guillaume Rousse 2.3.0-1jpp - 2.3.0 - no more compat jar * Sun Jan 27 2002 Guillaume Rousse 2.2.0-2jpp - adaptation to new stylebook1.0b3 package - used source tarball - section macro * Fri Jan 18 2002 Guillaume Rousse 2.2.0-1jpp - 2.2.0 final - versioned dir for javadoc - no dependencies for manual and javadoc packages - stricter dependency for compat and demo packages - fixed package confusion - adaptation for new servlet3 package - requires xerces-j1 instead of jaxp_parser - xml-apis jar now in required xml-commons-apis external package * Wed Dec 5 2001 Guillaume Rousse 2.2.D14-1jpp - 2.2.D14 - javadoc into javadoc package - compat.jar into compat package - compat javadoc into compat-javadoc package * Wed Nov 21 2001 Christian Zoffoli 2.2.D13-2jpp - changed extension to jpp - prefixed xml-apis * Tue Nov 20 2001 Christian Zoffoli 2.2.D13-1jpp - 2.2.D13 - removed packager tag * Sat Oct 6 2001 Guillaume Rousse 2.2.D11-1jpp - 2.2.D11 * Sun Sep 30 2001 Guillaume Rousse 2.2.D10-2jpp - first unified release - s/jPackage/JPackage * Fri Sep 14 2001 Guillaume Rousse 2.2.D10-1mdk - cvs references - splitted demo package - moved demo files to %%{_datadir}/%%{name} - only manual package requires stylebook-1.0b3 - only demo package requires servletapi3 * Wed Aug 22 2001 Guillaume Rousse 2.2.D9-1mdk - 2.2.9 - used new source packaging policy - added samples data * Wed Aug 08 2001 Guillaume Rousse 2.2.D6-1mdk - first Mandrake release