pdftk/pdftk.spec

52 lines
1.4 KiB
RPMSpec

Name: pdftk
Version: 2.02
Release: 2mamba
Summary: Command-line tool for working with PDFs
Group: Applications/Publishing
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.pdflabs.com/tools/pdftk-server/
Source: https://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/pdftk-%{version}-src.zip
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libgcj4-devel
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
BuildRequires: libgcj4-devel >= 6.1.0-2mamba
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Command-line tool for working with PDFs.
%debug_package
%prep
%setup -q -n %{name}-%{version}-dist
%build
make -C pdftk -f Makefile.Redhat
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
install -D -m0755 pdftk/pdftk %{buildroot}%{_bindir}/pdftk
install -D -m0644 pdftk.1 %{buildroot}%{_mandir}/man1/pdftk.1
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/pdftk
%{_mandir}/man1/pdftk.1*
%doc license_gpl_pdftk/readme.txt
%changelog
* Sat May 14 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 2.02-2mamba
- rebuilt by autoport with build requirements: libgcj4-devel>=6.1.0-2mamba
* Wed Feb 17 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 2.02-1mamba
- package created using the webbuild interface