2024-01-06 00:11:52 +01:00
|
|
|
%define pkgver %(echo %version | tr . -)
|
|
|
|
Name: java-saxon9
|
2024-01-06 00:11:53 +01:00
|
|
|
Version: 9.1.0.8
|
|
|
|
Release: 1mamba
|
2024-01-06 00:11:52 +01:00
|
|
|
Summary: Saxon XSLT and XQuery Processor
|
|
|
|
Group: Development/Libraries/Java
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
2024-01-06 00:11:53 +01:00
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-06 00:11:52 +01:00
|
|
|
URL: http://saxon.sourceforge.net
|
2024-01-06 00:11:53 +01:00
|
|
|
Source0: https://sourceforge.net/projects/saxon/files/Saxon-B/%{version}/saxonb%{pkgver}j.zip
|
2024-01-06 00:11:52 +01:00
|
|
|
License: MPL
|
2024-01-06 00:11:53 +01:00
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: javapackages
|
|
|
|
#Requires: java-bea-stax
|
|
|
|
#Requires: java-bea-stax-api
|
|
|
|
#Requires: java-dom
|
|
|
|
#Requires: java-dom4j
|
|
|
|
Requires: javapackages
|
|
|
|
#Requires: xml-commons-apis
|
2024-01-06 00:11:52 +01:00
|
|
|
Provides: saxon9
|
2024-01-06 00:11:53 +01:00
|
|
|
Obsoletes: saxon9 < 9.1.0.7
|
|
|
|
Provides: java-saxon9 = 9.1.0.7
|
2024-01-06 00:11:52 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
The Saxon XSLT and XQuery processor, developed by Michael Kay
|
|
|
|
The SAXON package is a collection of tools for processing XML documents.
|
|
|
|
The main components are:
|
|
|
|
- An XSLT processor, which implements the Version 1.0 XSLT and XPath Recommendations from the World Wide Web Consortium, found at
|
|
|
|
http://www.w3.org/TR/1999/REC-xslt-19991116 and
|
|
|
|
http://www.w3.org/TR/1999/REC-xpath-19991116 with a number of powerful
|
|
|
|
extensions. This version of Saxon also includes many of the new features
|
|
|
|
defined in the XSLT 1.1 working draft, but for conformance and portability
|
|
|
|
reasons these are not available if the stylesheet header specifies
|
|
|
|
version="1.0".
|
|
|
|
- A Java library, which supports a similar processing model to XSL, but allows
|
|
|
|
full programming capability, which you need if you want to perform complex
|
|
|
|
processing of the data or to access external services such as a relational
|
|
|
|
database.
|
|
|
|
So you can use SAXON with any SAX-compliant XML parser by writing XSLT stylesheets, by writing Java applications, or by any combination of the two.
|
|
|
|
|
|
|
|
%package dom
|
|
|
|
Summary: DOM support for %{name}
|
|
|
|
Group: Applications/Publishing
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
Provides: saxon9-dom
|
2024-01-06 00:11:53 +01:00
|
|
|
Obsoletes: saxon9-dom < 9.1.0.7
|
2024-01-06 00:11:52 +01:00
|
|
|
|
|
|
|
%description dom
|
|
|
|
The SAXON package is a collection of tools for processing XML documents.
|
|
|
|
Provides additional classes enabling Saxon to be used with the DOM Document Object Model. Supports using a DOM as the input or output of transformations and queries, and calling extension functions that use DOM interfaces to access a Saxon tree structure. Requires DOM level 3 (dom.jar, part of JAXP 1.3) to be on the classpath, if not running under JDK 1.5.
|
|
|
|
|
|
|
|
%package jdom
|
|
|
|
Group: Development/Libraries/Java
|
|
|
|
Summary: JDOM support for %{name}
|
2024-01-06 00:11:53 +01:00
|
|
|
#Requires: java-dom
|
2024-01-06 00:11:52 +01:00
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
Provides: saxon9-jdom
|
2024-01-06 00:11:53 +01:00
|
|
|
Obsoletes: saxon9-jdom < 9.1.0.7
|
2024-01-06 00:11:52 +01:00
|
|
|
|
|
|
|
%description jdom
|
|
|
|
The SAXON package is a collection of tools for processing XML documents.
|
|
|
|
This package contains JDOM support for %{name}.
|
|
|
|
|
|
|
|
%package dom4j
|
|
|
|
Group: Development/Libraries/Java
|
|
|
|
Summary: DOM4J support for %{name}
|
2024-01-06 00:11:53 +01:00
|
|
|
#Requires: java-dom
|
2024-01-06 00:11:52 +01:00
|
|
|
Requires: %{name} = %{version}-%{release}
|
2024-01-06 00:11:53 +01:00
|
|
|
Obsoletes: saxon9-dom4j < 9.1.0.7
|
2024-01-06 00:11:52 +01:00
|
|
|
Provides: saxon9-dom4j
|
|
|
|
|
|
|
|
%description dom4j
|
|
|
|
The SAXON package is a collection of tools for processing XML documents.
|
|
|
|
This package contains DOM4J support for %{name}.
|
|
|
|
|
|
|
|
%package sql
|
|
|
|
Group: Applications/Publishing
|
|
|
|
Summary: SQL support for %{name}
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
Provides: saxon9-sql
|
2024-01-06 00:11:53 +01:00
|
|
|
Obsoletes: saxon9-sql < 9.1.0.7
|
2024-01-06 00:11:52 +01:00
|
|
|
|
|
|
|
%description sql
|
|
|
|
The SAXON package is a collection of tools for processing XML documents.
|
|
|
|
This package contains supports XSLT extensions for accessing and updating a relational database from within a stylesheet.
|
|
|
|
|
|
|
|
%package s9api
|
|
|
|
Group: Development/Libraries/Java
|
|
|
|
Summary: Java API for %{name}
|
|
|
|
Provides: saxon9-s9api
|
2024-01-06 00:11:53 +01:00
|
|
|
Obsoletes: saxon9-s9api < 9.1.0.7
|
2024-01-06 00:11:52 +01:00
|
|
|
|
|
|
|
%description s9api
|
|
|
|
The SAXON package is a collection of tools for processing XML documents.
|
|
|
|
This package provides a Java API for %{name}
|
|
|
|
|
|
|
|
%package xom
|
|
|
|
Group: Applications/Publishing
|
|
|
|
Summary: XOM support for %{name}
|
|
|
|
Group: Applications/Publishing
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
2024-01-06 00:11:53 +01:00
|
|
|
#Requires: java-xom
|
2024-01-06 00:11:52 +01:00
|
|
|
Provides: saxon9-xom
|
2024-01-06 00:11:53 +01:00
|
|
|
Obsoletes: saxon9-xom < 9.1.0.7
|
2024-01-06 00:11:52 +01:00
|
|
|
|
|
|
|
%description xom
|
|
|
|
The SAXON package is a collection of tools for processing XML documents.
|
|
|
|
Provides additional classes enabling Saxon to be used with XOM trees. Supports using a XOM document as the input or output of transformations and queries. Requires xom.jar on the classpath.
|
|
|
|
|
|
|
|
%package xpath
|
|
|
|
Group: Applications/Publishing
|
|
|
|
Summary: XPATH support for %{name}
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
Provides: saxon9-xpath
|
2024-01-06 00:11:53 +01:00
|
|
|
Obsoletes: saxon9-xpath < 9.1.0.7
|
2024-01-06 00:11:52 +01:00
|
|
|
|
|
|
|
%description xpath
|
|
|
|
The SAXON package is a collection of tools for processing XML documents.
|
|
|
|
Provides support for the JAXP 1.3 XPath API. Requires the JAXP 1.3 version of jaxp-api.jar on the classpath, if not running under JDK 1.5.
|
|
|
|
|
|
|
|
%package xqj
|
|
|
|
Group: Applications/Publishing
|
|
|
|
Summary: XQUERY support for %{name}
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
2024-01-06 00:11:53 +01:00
|
|
|
#Requires: java-xqjapi
|
2024-01-06 00:11:52 +01:00
|
|
|
Provides: saxon9-xqj
|
2024-01-06 00:11:53 +01:00
|
|
|
Obsoletes: saxon9-xqj < 9.1.0.7
|
2024-01-06 00:11:52 +01:00
|
|
|
|
|
|
|
%description xqj
|
|
|
|
The SAXON package is a collection of tools for processing XML documents.
|
|
|
|
This package contains XQUERY support for %{name}.
|
|
|
|
|
|
|
|
%prep
|
2024-01-06 00:11:53 +01:00
|
|
|
%setup -q -c
|
2024-01-06 00:11:52 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
mkdir -p %{buildroot}%{_javadir}
|
|
|
|
|
2024-01-06 00:11:53 +01:00
|
|
|
install -m 644 saxon9-dom4j.jar \
|
2024-01-06 00:11:52 +01:00
|
|
|
%{buildroot}%{_javadir}/saxon9-dom4j-%{version}.jar
|
|
|
|
|
2024-01-06 00:11:53 +01:00
|
|
|
install -m 644 saxon9-dom.jar \
|
2024-01-06 00:11:52 +01:00
|
|
|
%{buildroot}%{_javadir}/saxon9-dom-%{version}.jar
|
|
|
|
|
2024-01-06 00:11:53 +01:00
|
|
|
install -m 644 saxon9-jdom.jar \
|
2024-01-06 00:11:52 +01:00
|
|
|
%{buildroot}%{_javadir}/saxon9-jdom-%{version}.jar
|
|
|
|
|
2024-01-06 00:11:53 +01:00
|
|
|
install -m 644 saxon9-s9api.jar \
|
2024-01-06 00:11:52 +01:00
|
|
|
%{buildroot}%{_javadir}/saxon9-s9api-%{version}.jar
|
|
|
|
|
2024-01-06 00:11:53 +01:00
|
|
|
install -m 644 saxon9-sql.jar \
|
2024-01-06 00:11:52 +01:00
|
|
|
%{buildroot}%{_javadir}/saxon9-sql-%{version}.jar
|
|
|
|
|
2024-01-06 00:11:53 +01:00
|
|
|
install -m 644 saxon9-xom.jar \
|
2024-01-06 00:11:52 +01:00
|
|
|
%{buildroot}%{_javadir}/saxon9-xom-%{version}.jar
|
|
|
|
|
2024-01-06 00:11:53 +01:00
|
|
|
install -m 644 saxon9-xqj.jar \
|
2024-01-06 00:11:52 +01:00
|
|
|
%{buildroot}%{_javadir}/saxon9-xqj-%{version}.jar
|
|
|
|
|
2024-01-06 00:11:53 +01:00
|
|
|
install -m 644 saxon9-xpath.jar \
|
2024-01-06 00:11:52 +01:00
|
|
|
%{buildroot}%{_javadir}/saxon9-xpath-%{version}.jar
|
|
|
|
|
2024-01-06 00:11:53 +01:00
|
|
|
install -m 644 saxon9.jar \
|
2024-01-06 00:11:52 +01:00
|
|
|
%{buildroot}%{_javadir}/saxon9-%{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}/saxon9-%{version}.jar
|
|
|
|
%{_javadir}/saxon9.jar
|
|
|
|
|
|
|
|
%files dom
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_javadir}/saxon9-dom-%{version}.jar
|
|
|
|
%{_javadir}/saxon9-dom.jar
|
|
|
|
|
|
|
|
%files dom4j
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_javadir}/saxon9-dom4j-%{version}.jar
|
|
|
|
%{_javadir}/saxon9-dom4j.jar
|
|
|
|
|
|
|
|
%files jdom
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_javadir}/saxon9-jdom-%{version}.jar
|
|
|
|
%{_javadir}/saxon9-jdom.jar
|
|
|
|
|
|
|
|
%files s9api
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_javadir}/saxon9-s9api-%{version}.jar
|
|
|
|
%{_javadir}/saxon9-s9api.jar
|
|
|
|
|
|
|
|
%files sql
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_javadir}/saxon9-sql-%{version}.jar
|
|
|
|
%{_javadir}/saxon9-sql.jar
|
|
|
|
|
|
|
|
%files xom
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_javadir}/saxon9-xom-%{version}.jar
|
|
|
|
%{_javadir}/saxon9-xom.jar
|
|
|
|
|
|
|
|
%files xpath
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_javadir}/saxon9-xpath-%{version}.jar
|
|
|
|
%{_javadir}/saxon9-xpath.jar
|
|
|
|
|
|
|
|
%files xqj
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_javadir}/saxon9-xqj-%{version}.jar
|
|
|
|
%{_javadir}/saxon9-xqj.jar
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 00:11:53 +01:00
|
|
|
* Sun Dec 12 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 9.1.0.8-1mamba
|
|
|
|
- update to 9.1.0.8
|
|
|
|
|
|
|
|
* Sun Dec 12 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 9.1.0.7-4mamba
|
|
|
|
- rebuilt providing upstream jars
|
|
|
|
|
2024-01-06 00:11:52 +01:00
|
|
|
* Fri Mar 25 2011 gil <puntogil@libero.it> 9.1.0.7-3mamba
|
|
|
|
- rebuilt with java-gcj-compat support
|
|
|
|
|
|
|
|
* Wed Nov 24 2010 gil <puntogil@libero.it> 9.1.0.7-2mamba
|
|
|
|
- rebuilt devel
|
|
|
|
|
|
|
|
* Fri May 08 2009 gil <puntogil@libero.it> 9.1.0.7-1mamba
|
|
|
|
- package created by autospec
|