package created using the webbuild interface [release 2.02-1mamba;Wed Feb 17 2016]

This commit is contained in:
Silvan Calarco 2024-01-06 08:28:40 +01:00
parent ac58d159a0
commit bc9921e3e8
2 changed files with 49 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# pdftk
Command-line tool for working with PDFs.

47
pdftk.spec Normal file
View File

@ -0,0 +1,47 @@
Name: pdftk
Version: 2.02
Release: 1mamba
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
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
* Wed Feb 17 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 2.02-1mamba
- package created using the webbuild interface