2024-01-05 20:28:24 +01:00
Name : apache-fop
2024-01-05 20:28:24 +01:00
Version : 2.7
2024-01-05 20:28:24 +01:00
Release : 1mamba
2024-01-05 20:28:24 +01:00
Summary : Apache Formatting Objects Processor
2024-01-05 20:28:24 +01:00
Group : System/Libraries/Java
2024-01-05 20:28:24 +01:00
Vendor : openmamba
Distribution : openmamba
2024-01-05 20:28:24 +01:00
Packager : Silvan Calarco <silvan.calarco@mambasoft.it>
URL : https://xmlgraphics.apache.org/fop/
Source0 : https://ftp-stud.hs-esslingen.de/pub/Mirrors/ftp.apache.org/dist/xmlgraphics/fop/source/fop-%{version} -src.tar.gz
Source1 : fop.conf
2024-01-05 20:28:24 +01:00
License : Apache Software License 2.0
2024-01-05 20:28:24 +01:00
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
BuildRequires : javapackages
BuildRequires : java-openjdk8
2024-01-05 20:28:24 +01:00
BuildRequires : apache-ant
2024-01-05 20:28:24 +01:00
Requires : xmlgraphics-commons
2024-01-05 20:28:24 +01:00
Requires : jakarta-commons-io
Requires : jakarta-commons-logging
2024-01-05 20:28:24 +01:00
Requires : apache-batik
2024-01-05 20:28:24 +01:00
%description
2024-01-05 20:28:24 +01:00
Apache FOP is the world's first print formatter driven by XSL formatting objects (XSL-FO) and the world' s first output independent formatter. It is a Java application that reads a formatting object (FO) tree and renders the resulting pages to a specified output. Output formats currently supported include PDF, PCL, PS, AFP, TIFF, PNG, SVG, XML (area tree representation), Print, AWT and TXT. The primary output target is PDF.
2024-01-05 20:28:24 +01:00
%prep
2024-01-05 20:28:24 +01:00
%setup -q -n fop-%{version}
2024-01-05 20:28:24 +01:00
%build
2024-01-05 20:28:24 +01:00
export LC_ALL=en_US.UTF-8
export JAVA_HOME=%{_jvmdir} /java-8
ant -f fop/build.xml package
2024-01-05 20:28:24 +01:00
%install
[ " %{buildroot} " != / ] && rm -rf " %{buildroot} "
2024-01-05 20:28:24 +01:00
install -D -m0644 fop/build/fop.jar %{buildroot} %{_javadir} /fop-%{version} .jar
ln -s fop-%{version} .jar %{buildroot} %{_javadir} /fop.jar
2024-01-05 20:28:24 +01:00
2024-01-05 20:28:24 +01:00
install -D -m0644 %{SOURCE1} %{buildroot} %{_sysconfdir} /fop.conf
install -D -m0755 fop/fop %{buildroot} %{_bindir} /fop
2024-01-05 20:28:24 +01:00
%clean
[ " %{buildroot} " != / ] && rm -rf " %{buildroot} "
%files
%defattr (-,root,root)
2024-01-05 20:28:24 +01:00
%config %{_sysconfdir} /fop.conf
%{_bindir} /fop
2024-01-05 20:28:24 +01:00
%{_javadir} /fop-%{version} .jar
%{_javadir} /fop.jar
%changelog
2024-01-05 20:28:24 +01:00
* Fri Jan 21 2022 Automatic Build System <autodist@mambasoft.it> 2.7-1mamba
- automatic version update by autodist
2024-01-05 20:28:24 +01:00
* Sun Apr 11 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.6-1mamba
- update to 2.6
2024-01-05 20:28:24 +01:00
* Thu Mar 24 2011 gil <puntogil@libero.it> 0.95-7mamba
- rebuilt with java-openjdk support
* Tue Nov 09 2010 gil <puntogil@libero.it> 0.95-6mamba
- rebuilt devel
- added sun jai support
* Mon Aug 30 2010 gil <puntogil@libero.it> 0.95-5mamba
- added offo hyphenation support
* Fri Nov 20 2009 gil <puntogil@libero.it> 0.95-4mamba
- added OSGi manifests
* Fri Nov 20 2009 gil <puntogil@libero.it> 0.95-3mamba
- added maven support
* Thu Nov 19 2009 gil <puntogil@libero.it> 0.95-2mamba
- added xmlunit support
* Wed Mar 04 2009 gil <puntogil@libero.it> 0.95-1mamba
- package created by autospec