48 lines
1.2 KiB
RPMSpec
48 lines
1.2 KiB
RPMSpec
|
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
|