2024-01-06 00:11:26 +01:00
|
|
|
%define pkgver %(echo %version | tr . -)
|
|
|
|
Name: java-saxon8
|
2024-01-06 00:11:27 +01:00
|
|
|
Version: 8.7.3
|
|
|
|
Release: 1mamba
|
2024-01-06 00:11:26 +01:00
|
|
|
Summary: Java XSLT processor
|
|
|
|
Group: Development/Libraries/Java
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
2024-01-06 00:11:27 +01:00
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-06 00:11:26 +01:00
|
|
|
URL: http://saxon.sourceforge.net
|
2024-01-06 00:11:27 +01:00
|
|
|
Source0: https://sourceforge.net/projects/saxon/files/Saxon-B/%{version}/saxonb%{pkgver}j.zip
|
2024-01-06 00:11:26 +01:00
|
|
|
License: MPL
|
2024-01-06 00:11:27 +01:00
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: javapackages
|
|
|
|
Requires: javapackages
|
|
|
|
Provides: java-saxon8-dom
|
|
|
|
Obsoletes: java-saxon8-dom <= 8.7-3mamba
|
|
|
|
Provides: java-saxon8-jdom
|
|
|
|
Obsoletes: java-saxon8-jdom <= 8.7-3mamba
|
|
|
|
Provides: java-saxon8-sql
|
|
|
|
Obsoletes: java-saxon8-sql <= 8.7-3mamba
|
|
|
|
Provides: java-saxon8-xom
|
|
|
|
Obsoletes: java-saxon8-xom <= 8.7-3mamba
|
|
|
|
Provides: java-saxon8-xpath
|
|
|
|
Obsoletes: java-saxon8-xpath <= 8.7-3mamba
|
2024-01-06 00:11:26 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
The SAXON package is a collection of tools for processing XML documents.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -c %{name}-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
mkdir -p %{buildroot}%{_javadir}
|
2024-01-06 00:11:27 +01:00
|
|
|
install -pm 644 saxon8.jar \
|
2024-01-06 00:11:26 +01:00
|
|
|
%{buildroot}%{_javadir}/saxon8-%{version}.jar
|
|
|
|
|
2024-01-06 00:11:27 +01:00
|
|
|
install -pm 644 saxon8-xpath.jar \
|
2024-01-06 00:11:26 +01:00
|
|
|
%{buildroot}%{_javadir}/saxon8-xpath-%{version}.jar
|
|
|
|
|
2024-01-06 00:11:27 +01:00
|
|
|
install -pm 644 saxon8-dom.jar \
|
2024-01-06 00:11:26 +01:00
|
|
|
%{buildroot}%{_javadir}/saxon8-dom-%{version}.jar
|
|
|
|
|
2024-01-06 00:11:27 +01:00
|
|
|
install -pm 644 saxon8-jdom.jar \
|
2024-01-06 00:11:26 +01:00
|
|
|
%{buildroot}%{_javadir}/saxon8-jdom-%{version}.jar
|
|
|
|
|
2024-01-06 00:11:27 +01:00
|
|
|
install -pm 644 saxon8-xom.jar \
|
2024-01-06 00:11:26 +01:00
|
|
|
%{buildroot}%{_javadir}/saxon8-xom-%{version}.jar
|
|
|
|
|
2024-01-06 00:11:27 +01:00
|
|
|
install -pm 644 saxon8-sql.jar \
|
2024-01-06 00:11:26 +01:00
|
|
|
%{buildroot}%{_javadir}/saxon8-sql-%{version}.jar
|
|
|
|
|
|
|
|
(
|
|
|
|
cd %{buildroot}%{_javadir}
|
|
|
|
for jar in *-%{version}*; do
|
|
|
|
ln -sf ${jar} `echo $jar| sed "s|-%{version}||g"`
|
|
|
|
done
|
|
|
|
)
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_javadir}/saxon8-%{version}.jar
|
|
|
|
%{_javadir}/saxon8.jar
|
|
|
|
%{_javadir}/saxon8-dom-%{version}.jar
|
|
|
|
%{_javadir}/saxon8-dom.jar
|
|
|
|
%{_javadir}/saxon8-jdom-%{version}.jar
|
|
|
|
%{_javadir}/saxon8-jdom.jar
|
|
|
|
%{_javadir}/saxon8-sql-%{version}.jar
|
|
|
|
%{_javadir}/saxon8-sql.jar
|
|
|
|
%{_javadir}/saxon8-xom-%{version}.jar
|
|
|
|
%{_javadir}/saxon8-xom.jar
|
|
|
|
%{_javadir}/saxon8-xpath-%{version}.jar
|
|
|
|
%{_javadir}/saxon8-xpath.jar
|
|
|
|
|
2024-01-06 00:11:27 +01:00
|
|
|
%changelog
|
|
|
|
* Fri Aug 19 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 8.7.3-1mamba
|
|
|
|
- update to 8.7.3
|
2024-01-06 00:11:26 +01:00
|
|
|
|
2024-01-06 00:11:27 +01:00
|
|
|
* Fri Aug 19 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 8.7-4mamba
|
|
|
|
- repackaged using upstream prebuild jars
|
2024-01-06 00:11:26 +01:00
|
|
|
|
|
|
|
* Thu Mar 24 2011 gil <puntogil@libero.it> 8.7-3mamba
|
|
|
|
- rebuilt with java-openjdk support
|
|
|
|
|
|
|
|
* Wed Nov 24 2010 gil <puntogil@libero.it> 8.7-2mamba
|
|
|
|
- rebuilt devel
|
|
|
|
|
|
|
|
* Wed Feb 25 2009 gil <puntogil@libero.it> 8.7-1mamba
|
|
|
|
- package created by autospec
|