java-xmlgraphics-commons/java-xmlgraphics-commons.spec

57 lines
2.0 KiB
RPMSpec
Raw Permalink Normal View History

Name: java-xmlgraphics-commons
Version: 2.7
Release: 1mamba
Summary: Apache XML Graphics Commons
Group: Development/Libraries/Java
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://xmlgraphics.apache.org/commons/
Source: https://www.apache.org/dist/xmlgraphics/commons/binaries/xmlgraphics-commons-%{version}-bin.tar.gz
License: Apache Software License 2.0
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
Provides: xmlgraphics-commons
Obsoletes: xmlgraphics-commons <= 2.6
BuildRequires: javapackages
%description
Apache XML Graphics Commons is a library that consists of several reusable components used by Apache Batik and Apache FOP. Many of these components can easily be used separately outside the domains of SVG and XSL-FO. You will find components such as a PDF library, an RTF library, Graphics2D implementations that let you generate PDF & PostScript files, and much more.
%prep
%setup -q -n xmlgraphics-commons-%{version}
%build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
install -Dm 644 build/xmlgraphics-commons-%{version}.jar \
%{buildroot}%{_javadir}/xmlgraphics-commons-%{version}.jar
ln -s xmlgraphics-commons-%{version}.jar %{buildroot}%{_javadir}/xmlgraphics-commons.jar
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_javadir}/xmlgraphics-commons-%{version}.jar
%{_javadir}/xmlgraphics-commons.jar
%doc LICENSE NOTICE
%changelog
* Wed Jan 26 2022 Automatic Build System <autodist@mambasoft.it> 2.7-1mamba
- automatic version update by autodist
* Tue Apr 13 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.6-1mamba
- update to 2.6
* Wed Mar 23 2011 gil <puntogil@libero.it> 1.3.1-3mamba
- rebuilt with java-openjdk support
* Tue Nov 09 2010 gil <puntogil@libero.it> 1.3.1-2mamba
- rebuilt devel
* Wed Mar 04 2009 gil <puntogil@libero.it> 1.3.1-1mamba
- package created by autospec