From bc9921e3e854f9bf2650a8cefa5deb88249ac437 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 08:28:40 +0100 Subject: [PATCH] package created using the webbuild interface [release 2.02-1mamba;Wed Feb 17 2016] --- README.md | 2 ++ pdftk.spec | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+) create mode 100644 pdftk.spec diff --git a/README.md b/README.md index 15406fb..280ebcb 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # pdftk +Command-line tool for working with PDFs. + diff --git a/pdftk.spec b/pdftk.spec new file mode 100644 index 0000000..23a4a67 --- /dev/null +++ b/pdftk.spec @@ -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 +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 2.02-1mamba +- package created using the webbuild interface