SPECS: pdftk.spec (NEW) - new spec, adapterized, builds and even w...

hawk hawk at pld-linux.org
Fri Nov 25 15:38:54 CET 2005


Author: hawk                         Date: Fri Nov 25 14:38:54 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new spec, adapterized, builds and even works

---- Files affected:
SPECS:
   pdftk.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/pdftk.spec
diff -u /dev/null SPECS/pdftk.spec:1.1
--- /dev/null	Fri Nov 25 15:38:54 2005
+++ SPECS/pdftk.spec	Fri Nov 25 15:38:49 2005
@@ -0,0 +1,61 @@
+# $Revision$, $Date$
+Summary:	pdftk - the pdf tool kit
+Summary(pl):	pdftk - Zestaw narzędzi dla plików PDF
+Name:		pdftk
+Version:	1.12
+Release:	1
+License:	GPL
+Group:		Applications/Publishing
+Source0:	http://www.pdfhacks.com/pdftk/%{name}-%{version}.tar.bz2
+# Source0-md5:	ec1b6d9e06109c6f05e19033f1d91d8a
+URL:		http://www.accesspdf.com/pdftk/
+BuildRequires:	gcc-java
+BuildRequires:	libgcj-devel
+BuildRequires:	libwmf-devel
+BuildRequires:	jasper-devel
+Requires:	libgcj
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Pdftk is a simple tool for doing everyday things with PDF documents.
+It allows you to merge PDF documents, split PDF pages into a new
+document, decrypt input as necessary (password required), encrypt
+output as desired, apply a background watermark, fill PDF forms with
+FDF data and/or flatten forms report on PDF metrics including Metadata
+and Bookmarks, update PDF metadata, attach files to PDF pages or the
+PDF document, unpack PDF attachments, burst a PDF document into single
+pages, uncompress and re-compress page streams, repair corrupted PDF
+(where possible).
+
+%prep
+%setup -q
+
+%build
+unset CLASSPATH && cd pdftk && make -f Makefile.RedHat && cd -
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT/%{_bindir}
+install -d $RPM_BUILD_ROOT/%{_mandir}/man1
+install pdftk/pdftk $RPM_BUILD_ROOT/%{_bindir}/pdftk
+install debian/pdftk.1 $RPM_BUILD_ROOT/%{_mandir}/man1/pdftk.1
+gzip $RPM_BUILD_ROOT/%{_mandir}/man1/pdftk.1
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc pdftk.1.html  pdftk.1.notes  pdftk.1.txt
+%attr(755,root,root) %{_bindir}/*
+%{_mandir}/man1/*
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2005/11/25 14:38:49  hawk
+- new spec, adapterized, builds and even works
+
================================================================



More information about the pld-cvs-commit mailing list