update to 2.7.2 [release 2.7.2-1mamba;Tue Aug 16 2022]

This commit is contained in:
Silvan Calarco 2024-01-05 19:32:08 +01:00
parent 2c7ac0e696
commit 8c6a41b683
8 changed files with 33 additions and 474 deletions

View File

@ -1,24 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project name="@NAME@">
<component id="@ID@"
licenseType="@LICENSE@"
version="@VERSION@"
projectHome="@PROJECTHOME@"
description="@DESCRIPTION@"
tag="@TAG@"
>
<artifact id="@ARTIFACTID1@"/>
<artifact id="@ARTIFACTID2@"/>
<import componentref="@COMPONENTREF@">
<compatible version="@VERSION_COMPONENTREF1@"/>
<compatible version="@VERSION_COMPONENTREF2@"/>
</import>
<export>
<include input="@INCLUDEINPUT1@"/>
<include input="@INCLUDEINPUT2@"/>
</export>
</component>
</project>

View File

@ -1,33 +0,0 @@
diff -Nru xalan-j_2_7_0/src/MANIFEST.MF xalan-j_2_7_0/src-gil/MANIFEST.MF
--- xalan-j_2_7_0/src/MANIFEST.MF 2009-02-24 04:26:18.000000000 +0100
+++ xalan-j_2_7_0/src-gil/MANIFEST.MF 2009-02-24 04:28:55.000000000 +0100
@@ -1,6 +1,6 @@
Manifest-Version: 1.0
Main-Class: org.apache.xalan.xslt.Process
-
+Class-Path: xercesImpl.jar xml-apis.jar xalan-j2-serializer.jar
Name: org/apache/xalan/
Comment: Main Xalan engine implementing TrAX/JAXP
diff -Nru xalan-j_2_7_0/src/manifest.xalan-interpretive xalan-j_2_7_0/src-gil/manifest.xalan-interpretive
--- xalan-j_2_7_0/src/manifest.xalan-interpretive 2009-02-24 04:30:01.000000000 +0100
+++ xalan-j_2_7_0/src-gil/manifest.xalan-interpretive 2009-02-24 04:26:18.000000000 +0100
@@ -1,7 +1,7 @@
Manifest-Version: 1.0
Created-By: @java.version@ (@java.vendor@)
Main-Class: org.apache.xalan.xslt.Process
-Class-Path: xercesImpl.jar xml-apis.jar serializer.jar
+Class-Path: xercesImpl.jar xml-apis.jar xalan-j2-serializer.jar
Name: org/apache/xalan/
Comment: Main Xalan engine implementing TrAX/JAXP
diff -Nru xalan-j_2_7_0/src/manifest.xsltc xalan-j_2_7_0/src-gil/manifest.xsltc
--- xalan-j_2_7_0/src/manifest.xsltc 2009-02-24 04:26:18.000000000 +0100
+++ xalan-j_2_7_0/src-gil/manifest.xsltc 2009-02-24 04:30:41.000000000 +0100
@@ -1,5 +1,5 @@
Manifest-Version: 1.0
-Class-Path: xercesImpl.jar xml-apis.jar serializer.jar
+Class-Path: xercesImpl.jar xml-apis.jar xalan-j2-serializer.jar
Name: org/apache/xalan/xsltc/
Comment: Main XSLTC engine implementing TrAX/JAXP

View File

@ -1,27 +0,0 @@
--- xalan-j_2_7_0/build.xml 2005-08-06 17:16:46.000000000 +0200
+++ xalan-j_2_7_0/build.xml-gil 2009-02-24 03:25:35.000000000 +0100
@@ -181,7 +181,7 @@
<property name="xdocs.DONE.file" value="${xdocs.dir}/sources/xalan/DONE"/>
<property name="xdocs.XSLTCDONE.file" value="XSLTCDONE"/>
<property name="xdocs.XSLTCDONE.location" value="${xdocs.dir}/sources/xalan/${xdocs.XSLTCDONE.file}"/>
-
+ <property name="api.j2se" value="http://java.sun.com/j2se/1.4/docs/api/"/>
<!-- PROPERTIES TO COMPILE THE SERIALIZER ======================================= -->
<property name="serializer.src.dir" value="./src"/>
@@ -1086,6 +1086,7 @@
<group title="DOM 2" packages="org.w3c.dom*"/>
<group title="XSLTC Core"
packages="org.apache.xalan.xsltc*"/>
+ <link href="${api.j2se}"/>
</javadoc>
</target>
@@ -1121,6 +1122,7 @@
<group title="DOM 2" packages="org.w3c.dom*"/>
<group title="XSLTC Core"
packages="org.apache.xalan.xsltc*"/>
+ <link href="${api.j2se}"/>
</javadoc>
</target>

View File

@ -1,98 +0,0 @@
diff -Nru xalan-j_2_7_0/src/MANIFEST.MF xalan-j_2_7_0/src-gil/MANIFEST.MF
--- xalan-j_2_7_0/src/MANIFEST.MF 2005-08-06 17:16:30.000000000 +0200
+++ xalan-j_2_7_0/src-gil/MANIFEST.MF 2009-02-24 03:31:31.000000000 +0100
@@ -1,7 +1,5 @@
Manifest-Version: 1.0
-Created-By: @java.version@ (@java.vendor@)
Main-Class: org.apache.xalan.xslt.Process
-Class-Path: xercesImpl.jar xml-apis.jar serializer.jar
Name: org/apache/xalan/
@@ -28,43 +26,5 @@
Implementation-Vendor: Apache Software Foundation
Implementation-URL: http://xml.apache.org/xalan-j/
-Name: org/apache/xalan/xsltc/
-Comment: Main XSLTC engine implementing TrAX/JAXP
-Specification-Title: Java API for XML Processing
-Specification-Vendor: Sun Microsystems Inc.
-Specification-Version: 1.3
-Implementation-Title: org.apache.xalan.xsltc
-Implementation-Version: @impl.version@
-Implementation-Vendor: Apache Software Foundation
-Implementation-URL: http://xml.apache.org/xalan-j/
-Name: java_cup/runtime/
-Comment: Runtime component of JCup
-Specification-Title: Runtime component of JCup
-Specification-Vendor: Princeton University
-Specification-Version: 0.10k
-Implementation-Title: runtime
-Implementation-Version: @impl.version@
-Implementation-Vendor: Princeton University
-Implementation-URL: http://www.cs.princeton.edu/~appel/modern/java/CUP/
-
-Name: org/apache/bcel/
-Comment: Byte Code Engineering Library
-Specification-Title: Byte Code Engineering Library
-Specification-Vendor: Markus Dahm
-Specification-Version: 5.0 rc1
-Implementation-Title: org.apache.bcel
-Implementation-Version: @impl.version@
-Implementation-Vendor: Apache Software Foundation
-Implementation-URL: http://jakarta.apache.org/bcel
-
-Name: org/apache/regexp/
-Comment: Java Regular Expression package
-Specification-Title: Java Regular Expression package
-Specification-Vendor: Apache Software Foundation
-Specification-Version: 1.2
-Implementation-Title: org.apache.regexp
-Implementation-Version: @impl.version@
-Implementation-Vendor: Apache Software Foundation
-Implementation-URL: http://jakarta.apache.org/regexp
diff -Nru xalan-j_2_7_0/src/manifest.xsltc xalan-j_2_7_0/src-gil/manifest.xsltc
--- xalan-j_2_7_0/src/manifest.xsltc 2005-08-06 17:16:34.000000000 +0200
+++ xalan-j_2_7_0/src-gil/manifest.xsltc 2009-02-24 03:33:53.000000000 +0100
@@ -1,5 +1,4 @@
Manifest-Version: 1.0
-Created-By: @java.version@ (@java.vendor@)
Class-Path: xercesImpl.jar xml-apis.jar serializer.jar
Name: org/apache/xalan/xsltc/
@@ -19,33 +18,4 @@
Implementation-Vendor: Apache Software Foundation
Implementation-URL: http://xml.apache.org/xalan-j/dist/
-Name: java_cup/runtime/
-Comment: Runtime component of JCup
-Specification-Title: Runtime component of JCup
-Specification-Vendor: Princeton University
-Specification-Version: 0.10k
-Implementation-Title: runtime
-Implementation-Version: @impl.version@
-Implementation-Vendor: Princeton University
-Implementation-URL: http://www.cs.princeton.edu/~appel/modern/java/CUP/
-
-Name: org/apache/bcel/
-Comment: Byte Code Engineering Library
-Specification-Title: Byte Code Engineering Library
-Specification-Vendor: Markus Dahm
-Specification-Version: 5.0 rc1
-Implementation-Title: org.apache.bcel
-Implementation-Version: @impl.version@
-Implementation-Vendor: Apache Software Foundation
-Implementation-URL: http://jakarta.apache.org/bcel
-
-Name: org/apache/regexp/
-Comment: Java Regular Expression package
-Specification-Title: Java Regular Expression package
-Specification-Vendor: Apache Software Foundation
-Specification-Version: 1.2
-Implementation-Title: org.apache.regexp
-Implementation-Version: @impl.version@
-Implementation-Vendor: Apache Software Foundation
-Implementation-URL: http://jakarta.apache.org/regexp

View File

@ -1,11 +0,0 @@
--- xalan-j_2_7_0/build.xml 2005-08-06 17:16:46.000000000 +0200
+++ xalan-j_2_7_0/build.xml-gil 2009-02-24 03:16:15.000000000 +0100
@@ -733,7 +733,7 @@
<!-- =================================================================== -->
<!-- Creates one big xalan jar (Xalan interpretive + XSLTC + support jars) -->
<!-- =================================================================== -->
- <target name="jar" depends="xalan-interpretive.compile,xsltc.compile,xsltc.copy-deps-jars"
+ <target name="jar" depends="xalan-interpretive.compile,xsltc.compile"
description="Jar up everything (Xalan, XSLTC and XSLTC dependencies)" >
<!-- Copy over the manifest, with filtering (for version number) -->

View File

@ -1,18 +0,0 @@
--- build.xml 2010-03-09 19:29:44.000000000 +0100
+++ build.xml-gil 2010-03-09 20:13:38.000000000 +0100
@@ -1029,6 +1029,7 @@
additionalparam="-breakiterator"
destdir="${build.apidocs}"
public="true"
+ maxmemory="512m"
sourcepath="${src.dir}"
overview="${src.dir}/javadocOverview.html"
packagenames="org.apache.*,org.xml.*,org.w3c.*,javax.xml.*"
@@ -1062,6 +1063,7 @@
<!-- Ant ignores destdir arg if doclet is set, so must send to doclet in doclet subelement-->
<javadoc
public="true"
+ maxmemory="512m"
sourcepath="${src.dir}"
overview="${src.dir}/javadocOverview.html"
packagenames="org.apache.*,org.xml.*,org.w3c.*,javax.xml.*"

View File

@ -1,11 +0,0 @@
Manifest-Version: 1.0
Bundle-RequiredExecutionEnvironment: J2SE-1.2
Bundle-SymbolicName: org.apache.xml.serializer
Bundle-ManifestVersion: 2
Bundle-Name: %Bundle-Name.0
Bundle-Localization: plugin
Bundle-Version: 2.7.1.v200806030322
Bundle-Vendor: %Bundle-Vendor.0
Require-Bundle: system.bundle
Export-Package: org.apache.xml.serializer,org.apache.xml.serializer.do
m3

View File

@ -1,53 +1,24 @@
%define repodir %{_javadir}/repository.jboss.com/apache-xalan/%{version}-brew
%define repodirlib %{repodir}/lib
%define repodirsrc %{repodir}/src
%define pkgver %(echo %version | tr . _) %define pkgver %(echo %version | tr . _)
Name: xalan-j2 Name: xalan-j2
Version: 2.7.1 Version: 2.7.2
Release: 6mamba Release: 1mamba
Summary: Java XSLT processor Summary: Java XSLT processor
Group: Applications/Publishing Group: Applications/Publishing
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://xml.apache.org/xalan-j/ URL: https://xml.apache.org/xalan-j/
Source0: ftp://mirror.nohup.it/apache/xml/xalan-j/source/xalan-j_%{pkgver}-src.zip Source0: https://archive.apache.org/dist/xalan/xalan-j/binaries/xalan-j_%{pkgver}-bin-2jars.zip
Source1: java-component-info7.xml
Source2: xalan-j2-2.7.1-serializer-OSGi-MANIFEST.MF
Patch0: xalan-j2-2.7.0-noxsltcdeps.patch
Patch1: xalan-j2-2.7.0-manifest.patch
Patch2: xalan-j2-2.7.0-crosslink.patch
#This patch uses xalan-j2-serializer.jar in the MANIFEST files instead of serializer
Patch3: xalan-j2-2.7.0-MANIFEST-MF.patch
Patch4: xalan-j2-2.7.1-maxmemory.patch
#Patch5: xalan-j2-2.7.1-pdfdoc.patch
License: Apache Software License 1.1, Apache Software License 2.0, W3C License: Apache Software License 1.1, Apache Software License 2.0, W3C
BuildRequires: apache-ant ## AUTOBUILDREQ-BEGIN
%if "%{stage1}" != "1" ## AUTOBUILDREQ-END
BuildRequires: apache-tomcat5-servletapi5 BuildRequires: javapackages
BuildRequires: xerces-j2 Requires: javapackages
BuildRequires: jakarta-regexp Requires: xerces-j2
BuildRequires: java-lex Obsoletes: xalan-j2-demo < 2.7.2
BuildRequires: apache-xml-stylebook Obsoletes: xalan-j2-manual < 2.7.2
%endif Obsoletes: xalan-j2-javadoc < 2.7.2
BuildRequires: jakarta-bcel Obsoletes: xalan-j2-repolib < 2.7.2
BuildRequires: coreutils
BuildRequires: java_cup
BuildRequires: xml-commons-apis
#BuildRequires: apache-batik
#BuildRequires: apache-fop == 0.95
#BuildRequires: jakarta-commons-logging
#BuildRequires: java-dom
#BuildRequires: java-excalibur-avalon-framework
#BuildRequires: xmlgraphics-commons == 1.3.1
%if "%{stage1}" != "1"
Requires: apache-tomcat5-servletapi5
Requires: apache-xml-stylebook
%endif
Requires: coreutils
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %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. 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.
@ -55,151 +26,36 @@ Xalan is an XSLT processor for transforming XML documents into HTML, text, or ot
%package xsltc %package xsltc
Group: Applications/Publishing Group: Applications/Publishing
Summary: XSLT compiler Summary: XSLT compiler
Requires: jakarta-bcel #Requires: jakarta-bcel
%if "%{stage1}" != "1" #%if "%{stage1}" != "1"
Requires: jakarta-regexp #Requires: jakarta-regexp
Requires: java-lex #Requires: java-lex
%endif #%endif
Requires: java_cup Requires: java_cup
%description xsltc %description xsltc
The XSLT Compiler is a Java-based tool for compiling XSLT stylesheets into lightweight and portable Java byte codes called translets. The XSLT Compiler is a Java-based tool for compiling XSLT stylesheets into lightweight and portable Java byte codes called translets.
%package manual
Group: Documentation
Summary: Manual for %{name}
Requires: %{name}-javadoc = %{version}-%{release}
%description manual
Xalan is an XSLT processor for transforming XML documents into HTML, text, or other XML document types.
This package contains documentation for %{name}.
%package javadoc
Group: Documentation
Summary: Javadoc for %{name}
%description javadoc
Xalan is an XSLT processor for transforming XML documents into HTML, text, or other XML document types.
This package contains javadoc for %{name}.
%package demo
Group: Applications/Publishing
Summary: Demo for %{name}
Requires: %{name} = %{version}-%{release}
%if "%{stage1}" != "1"
Requires: apache-tomcat5-servletapi5
%endif
%description demo
Xalan is an XSLT processor for transforming XML documents into HTML, text, or other XML document types.
This package contains demonstrations and samples for %{name}.
%package repolib
Group: Development/Libraries/Java
Summary: Artifacts to be uploaded to a repository library
%description repolib
Xalan is an XSLT processor for transforming XML documents into HTML, text, or other XML document types.
This package contains artifacts to be uploaded to a repository library.
This package is not meant to be installed but so its contents can be extracted through rpm2cpio
%prep %prep
%setup -q -n xalan-j_%{pkgver} %setup -q -n xalan-j_%{pkgver}
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4
#%patch5
#%patch6
for j in $(find . -name "*.jar"); do
mv $j $j.no
done
pushd lib
ln -sf $(build-classpath java_cup-runtime) runtime.jar
ln -sf $(build-classpath bcel) BCEL.jar
%if "%{stage1}" != "1"
ln -sf $(build-classpath xerces-j2) xercesImpl.jar
ln -sf $(build-classpath regexp) regexp.jar
%endif
ln -sf $(build-classpath xml-commons-apis) xml-apis.jar
popd
mkdir -p bin
%if "%{stage1}" != "1"
ln -sf $(build-classpath fop) bin/
ln -sf $(build-classpath xml-commons-apis-ext) bin/w3c.jar
%endif
pushd tools
ln -sf $(build-classpath java_cup) java_cup.jar
ln -sf $(build-classpath ant-1.7.1) ant.jar
%if "%{stage1}" != "1"
ln -sf $(build-classpath jlex) JLex.jar
ln -sf $(build-classpath xml-stylebook-1.0) stylebook-1.0-b3_xalan-2.jar
%endif
mv xalan2jdoc.jar.no xalan2jdoc.jar
mv xalan2jtaglet.jar.no xalan2jtaglet.jar
popd
chmod 0755 samples/extensions/sql/*.sh
%build %build
#BUILD_PDF="fop fop-pdf-transcoder fop-hyph fop-sandbox fop-transcoder-allinone jdom batik-all commons-logging xmlgraphics-commons excalibur/avalon-framework" $BUILD_PDF
export JAVA_HOME=%{_jvmdir}/jdk ANT_OPTS="-Xmx1024m -Djava.awt.headless=true"
%if "%{stage1}" != "1"
export CLASSPATH=$(build-classpath servletapi5 xml-commons-apis-ext):$JAVA_HOME/lib/tools.jar:build/classes:build/serializer
%endif
ant \
-Dbuild.xalan-interpretive.jar=build/xalan-interpretive.jar \
-Dbin.dir=bin \
-Dapi.j2se=%{_javadocdir}/java \
xalan-interpretive.jar \
xsltc.unbundledjar \
docs \
xsltc.docs \
javadocs \
samples \
%if "%{stage1}" != "1"
servlet
%endif
# \
# printerdocs
# TODO
# printerdocs:
# [echo] NOTICE: requires fop.jar and xml.jar on the classpath
# [java] Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/fop/apps/CommandLine
mkdir -p META-INF
cp -p %{SOURCE2} META-INF/MANIFEST.MF
touch META-INF/MANIFEST.MF
zip -u build/serializer.jar META-INF/MANIFEST.MF
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
mkdir -p %{buildroot}%{_javadir} mkdir -p %{buildroot}%{_javadir}
install -p -m 644 build/xalan-interpretive.jar \ #install -p -m 644 xalan-interpretive.jar \
%{buildroot}%{_javadir}/xalan-j2-interpretive-%{version}.jar # %{buildroot}%{_javadir}/xalan-j2-interpretive-%{version}.jar
install -p -m 644 build/xsltc.jar \ install -p -m 644 xsltc.jar \
%{buildroot}%{_javadir}/xsltc-%{version}.jar %{buildroot}%{_javadir}/xsltc-%{version}.jar
install -p -m 644 build/serializer.jar \ install -p -m 644 serializer.jar \
%{buildroot}%{_javadir}/xalan-j2-serializer-%{version}.jar %{buildroot}%{_javadir}/xalan-j2-serializer-%{version}.jar
install -p -m 644 build/xalan.jar \ install -p -m 644 xalan.jar \
%{buildroot}%{_javadir}/xalan-j2-%{version}.jar %{buildroot}%{_javadir}/xalan-j2-%{version}.jar
install -p -m 644 build/xalansamples.jar \ #install -p -m 644 samples/xalansamples.jar \
%{buildroot}%{_javadir}/xalan-j2-samples.jar # %{buildroot}%{_javadir}/xalan-j2-samples.jar
( (
cd %{buildroot}%{_javadir} cd %{buildroot}%{_javadir}
@ -208,65 +64,6 @@ install -p -m 644 build/xalansamples.jar \
done done
) )
mkdir -p %{buildroot}%{_javadocdir}/xalan-j2-%{version}
cp -pr build/docs/apidocs/* %{buildroot}%{_javadocdir}/xalan-j2-%{version}
ln -s xalan-j2-%{version} %{buildroot}%{_javadocdir}/xalan-j2
rm -rf build/docs/apidocs
mkdir -p %{buildroot}%{_datadir}/xalan-j2
cp -pr samples %{buildroot}%{_datadir}/xalan-j2
%if "%{stage1}" != "1"
install -pm 644 build/xalanservlet.war \
%{buildroot}%{_datadir}/xalan-j2/
%endif
#ln -sf $JAVA_HOME/db/lib/derby.jar samples/extensions/sql/derby.jar
#ln -sf $JAVA_HOME/db/lib/derbytools.jar samples/extensions/sql/derbytools.jar
mkdir -p %{buildroot}%{_datadir}/xalan-j2/docs
cp -pr build/docs/* %{buildroot}%{_datadir}/xalan-j2/docs/
(
cd %{buildroot}%{_datadir}/xalan-j2/docs
ln -sf ../../javadoc/xalan-j2-%{version} apidocs
)
sed -i "s|docs/whatsnew.html|../../xalan-j2/docs/whatsnew.html|" readme.html
# jaxp_transform_impl ghost symlink
ln -s %{_sysconfdir}/alternatives \
%{buildroot}%{_javadir}/jaxp_transform_impl.jar
mkdir -p %{buildroot}%{repodir}
mkdir -p %{buildroot}%{repodirlib}
install -pm 644 %{SOURCE1} %{buildroot}%{repodir}/component-info.xml
sed -i "s/@NAME@/apache-xalan-component-info/g" %{buildroot}%{repodir}/component-info.xml
sed -i "s/@ID@/apache-xalan/g" %{buildroot}%{repodir}/component-info.xml
tag=`echo %{name}-%{version}-%{release} | sed 's|\.|_|g'`
sed -i "s/@TAG@/$tag/g" %{buildroot}%{repodir}/component-info.xml
sed -i 's/@VERSION@/%{version}-brew/g' %{buildroot}%{repodir}/component-info.xml
sed -i "s/@LICENSE@/Apache Software License 2.0/g" %{buildroot}%{repodir}/component-info.xml
sed -i "s|@PROJECTHOME@|%{url}|g" %{buildroot}%{repodir}/component-info.xml
sed -i "s/@DESCRIPTION@/Xalan-Java is an XSLT processor for transforming XML documents/g" %{buildroot}%{repodir}/component-info.xml
sed -i "s/@COMPONENTREF@/apache-xerces/g" %{buildroot}%{repodir}/component-info.xml
sed -i "s/@VERSION_COMPONENTREF1@/2.9.1/g" %{buildroot}%{repodir}/component-info.xml
sed -i "s/@VERSION_COMPONENTREF2@/2.9.1-brew/g" %{buildroot}%{repodir}/component-info.xml
sed -i "s/@ARTIFACTID1@/xalan.jar/g" %{buildroot}%{repodir}/component-info.xml
sed -i "s/@ARTIFACTID2@/serializer.jar/g" %{buildroot}%{repodir}/component-info.xml
sed -i "s/@INCLUDEINPUT1@/xalan.jar/g" %{buildroot}%{repodir}/component-info.xml
sed -i "s/@INCLUDEINPUT2@/serializer.jar/g" %{buildroot}%{repodir}/component-info.xml
mkdir -p %{buildroot}%{repodirsrc}
install -pm 644 %{PATCH0} %{buildroot}%{repodirsrc}
install -pm 644 %{PATCH1} %{buildroot}%{repodirsrc}
install -pm 644 %{PATCH2} %{buildroot}%{repodirsrc}
install -pm 644 %{PATCH3} %{buildroot}%{repodirsrc}
install -pm 644 %{SOURCE0} %{buildroot}%{repodirsrc}
cp -p %{buildroot}%{_javadir}/xalan-j2-serializer-%{version}.jar %{buildroot}%{repodirlib}/serializer.jar
cp -p %{buildroot}%{_javadir}/xalan-j2-%{version}.jar %{buildroot}%{repodirlib}/xalan.jar
#%{_bindir}/aot-compile-rpm --exclude %{_datadir}/xalan-j2/xalan-j2-servlet.war
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -283,40 +80,24 @@ update-alternatives --install %{_javadir}/jaxp_transform_impl.jar jaxp_transform
%defattr(-,root,root) %defattr(-,root,root)
%{_javadir}/xalan-j2-%{version}.jar %{_javadir}/xalan-j2-%{version}.jar
%{_javadir}/xalan-j2.jar %{_javadir}/xalan-j2.jar
%{_javadir}/xalan-j2-interpretive-%{version}.jar #%{_javadir}/xalan-j2-interpretive-%{version}.jar
%{_javadir}/xalan-j2-interpretive.jar #%{_javadir}/xalan-j2-interpretive.jar
%{_javadir}/xalan-j2-serializer-%{version}.jar %{_javadir}/xalan-j2-serializer-%{version}.jar
%{_javadir}/xalan-j2-serializer.jar %{_javadir}/xalan-j2-serializer.jar
%{_javadir}/xalan-j2-samples.jar #%{_javadir}/xalan-j2-samples.jar
%ghost %{_javadir}/jaxp_transform_impl.jar %ghost %{_javadir}/jaxp_transform_impl.jar
%doc KEYS LICENSE.txt NOTICE.txt readme.html %doc LICENSE.txt
%files javadoc
%defattr(-,root,root)
%{_javadocdir}/xalan-j2-%{version}
%{_javadocdir}/xalan-j2
%files xsltc %files xsltc
%defattr(-,root,root) %defattr(-,root,root)
%{_javadir}/xsltc-%{version}.jar %{_javadir}/xsltc-%{version}.jar
%{_javadir}/xsltc.jar %{_javadir}/xsltc.jar
%doc LICENSE.txt
%files manual
%defattr(-,root,root)
%doc %{_datadir}/xalan-j2/docs
%files demo
%defattr(-,root,root)
%if "%{stage1}" != "1"
%{_datadir}/xalan-j2/*.war
%endif
%{_datadir}/xalan-j2/samples
%files repolib
%defattr(-,root,root)
%{repodir}
%changelog %changelog
* Tue Aug 16 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 2.7.2-1mamba
- update to 2.7.2
* Wed Mar 23 2011 gil <puntogil@libero.it> 2.7.1-6mamba * Wed Mar 23 2011 gil <puntogil@libero.it> 2.7.1-6mamba
- rebuilt with java-openjdk support - rebuilt with java-openjdk support