xml-commons-resolver/xml-commons-resolver.spec

90 lines
2.2 KiB
RPMSpec

Name: xml-commons-resolver
Version: 1.2
Release: 8mamba
Summary: Resolver subproject of xml-commons.
Group: Applications/Publishing
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://xerces.apache.org/xml-commons/
Source0: https://dlcdn.apache.org//xerces/xml-commons/binaries/xml-commons-resolver-%{version}.tar.gz
License: Apache Software License 2.0
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
BuildRequires: javapackages
Requires: coreutils
Requires: javapackages
Requires: xerces-j2
Requires: xml-commons-apis
%description
Resolver subproject of xml-commons.
%package javadoc
Summary: Javadoc for %{name}
Group: Documentation
%description javadoc
Javadoc for %{name}
%prep
%setup -q
%build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
mkdir -p %{buildroot}%{_javadir}
cp resolver.jar %{buildroot}%{_javadir}/xml-commons-resolver-%{version}.jar
(
pushd %{buildroot}%{_javadir}
for jar in *-%{version}.jar; do
ln -sf ${jar} `echo $jar| sed "s|-%{version}||g"`
done
popd
)
mkdir -p %{buildroot}%{_javadocdir}/%{name}-%{version}
cp -pr apidocs/resolver/* %{buildroot}%{_javadocdir}/%{name}-%{version}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_javadir}/xml-commons-resolver-%{version}.jar
%{_javadir}/xml-commons-resolver.jar
%doc KEYS LICENSE.resolver.txt
%files javadoc
%defattr(-,root,root)
%doc %{_javadocdir}/%{name}-%{version}
%changelog
* Sat Feb 03 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2-8mamba
- repackaged using binary distribution
* Wed Mar 23 2011 gil <puntogil@libero.it> 1.2-7mamba
- rebuilt with java-gcj-compat support
* Sat Nov 06 2010 gil <puntogil@libero.it> 1.2-6mamba
- rebuilt devel
* Sun Jan 10 2010 gil <puntogil@libero.it> 1.2-5mamba
- edit repodir
* Sun Jan 10 2010 gil <puntogil@libero.it> 1.2-4mamba
- added new sub package repolib
* Thu Feb 26 2009 gil <puntogil@libero.it> 1.2-3mamba
- fixed some errors
* Tue Feb 24 2009 gil <puntogil@libero.it> 1.2-2mamba
- added xerces-j2 support
* Tue Dec 23 2008 gil <puntogil@libero.it> 1.2-1mamba
- package created by autospec