1 |
jpp |
1.1 |
%define debug_package %{nil} |
2 |
|
|
|
3 |
|
|
Name: pdftk |
4 |
|
|
Version: 2.02 |
5 |
|
|
Release: 1%{?dist} |
6 |
|
|
Summary: PDFtk is a tool for doing everyday things with PDF |
7 |
|
|
|
8 |
|
|
Group: Application/Publishing |
9 |
|
|
License: GPL |
10 |
|
|
URL: https://www.pdflabs.com |
11 |
|
|
Source0: pdftk-2.02-1.el6.i686.rpm |
12 |
|
|
Source1: libgcj-4.4.7-18.el6.i686.rpm |
13 |
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
14 |
|
|
|
15 |
|
|
BuildArch: i686 |
16 |
|
|
Requires: zlib |
17 |
|
|
Requires: libstdc++ |
18 |
|
|
AutoReqProv: no |
19 |
|
|
|
20 |
|
|
%description |
21 |
|
|
PDFtk is a simple tool for doing everyday things with PDF documents. |
22 |
|
|
|
23 |
|
|
%prep |
24 |
|
|
%setup -q -c -T |
25 |
|
|
|
26 |
|
|
|
27 |
|
|
%build |
28 |
|
|
|
29 |
|
|
|
30 |
|
|
%install |
31 |
|
|
rm -rf %{buildroot} |
32 |
|
|
mkdir -p %{buildroot} |
33 |
|
|
pushd %{buildroot} |
34 |
|
|
rpm2cpio %{SOURCE0} | cpio -idV --quiet |
35 |
|
|
popd |
36 |
|
|
rpm2cpio %{SOURCE1} | cpio -idV --quiet |
37 |
|
|
|
38 |
|
|
mkdir -p %{buildroot}/usr/lib |
39 |
|
|
cp -av usr/lib/libgcj.so.10* %{buildroot}/usr/lib |
40 |
|
|
|
41 |
|
|
%clean |
42 |
|
|
rm -rf %{buildroot} |
43 |
|
|
|
44 |
|
|
|
45 |
|
|
%files |
46 |
|
|
%doc /usr/share/doc/pdftk-2.02/ |
47 |
|
|
/usr/bin/pdftk |
48 |
|
|
/usr/lib/libgcj.so.10 |
49 |
|
|
/usr/lib/libgcj.so.10.0.0 |
50 |
|
|
/usr/share/man/man1/pdftk.1.gz |
51 |
|
|
|
52 |
|
|
%changelog |
53 |
|
|
* Tue May 23 2017 Nux <rpm@li.nux.ro> - 2.02-1 |
54 |
|
|
- initial package from upstream 32bit RPM and libgcj from EL6. Patchy, messy, but hopefully functional |