Browse Source

update: pdftk

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@1717 ec354946-7b23-47d6-9f5a-488ba84defc7
inagaki 13 years ago
parent
commit
1308b5f537
1 changed files with 34 additions and 14 deletions
  1. 34 14
      p/pdftk/pdftk-vl.spec

+ 34 - 14
p/pdftk/pdftk-vl.spec

@@ -1,18 +1,26 @@
-Summary:          pdftk - the pdf tool kit
-Summary(ja):      PDF 操作ツールキット
 Name:             pdftk
+Summary:          pdftk - the pdf toolkit
+Summary(ja):      PDF 操作ツールキット
 Version:          1.41
-Release:          1%{?_dist_release}
-License:          GPL
-URL:              http://www.accesspdf.com/pdftk/
-Source0:          %{name}-%{version}.tar.bz2
+Release:          2%{?_dist_release}
+
 Group:            Applications/Publishing
-Vendor:           Project Vine
-Distribution:     Vine Linux
-Packager:         Susumu Tanimura <stanimura-ngs@umin.ac.jp>
+License:          GPLv2+
+URL:              http://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/
+
+Source0:          %{name}-%{version}.tar.bz2
+
+Patch0:           pdftk-1.41-build_with_gcc44.patch
+Patch1:           pdftk-1.41-makefile.patch
+Patch2:           pdftk-1.41-no_embedded_libs.patch
+Patch3:           pdftk-1.41-calendar.patch
+
 BuildRoot:        %{_tmppath}/%{name}-%{version}-root
-Requires:         libgcj
 BuildRequires:    gcc-java libgcj-devel
+Requires:         libgcj
+
+Vendor:           Project Vine
+Distribution:     Vine Linux
 
 %description
 If PDF is electronic paper, then pdftk is an electronic staple-remover,
@@ -24,6 +32,8 @@ of your desktop and use it to:
     * Split PDF Pages into a New Document
     * Decrypt Input as Necessary (Password Required)
     * Encrypt Output as Desired
+    * Fill PDF Forms with FDF Data or XFDF Data and/or Flatten Forms
+    * Apply a Background Watermark or a Foreground Stamp
     * Burst a PDF Document into Single Pages
     * Report on PDF Metrics, including Metadata and Bookmarks
     * Uncompress and Re-Compress Page Streams
@@ -33,14 +43,19 @@ Pdftk is also an example of how to use a library of Java classes in a
 stand-alone C++ program. Specifically, it demonstrates how GCJ and CNI allow
 C++ code to use iText's (itext-paulo) Java classes.
 
-
 %description -l ja
-pdftk は PDF 文書を扱うツールであり、PDF文書の結合、分割、暗号化、復号
-化、ページ分解、文書情報表示、圧縮展開機能を有し、壊れたPDF文書を可能
-な限り修復する機能もある。
+pdftk は PDF 文書を扱うツールであり、PDF文書の結合、分割、暗号化、復号化
+(パスワードが必要)、PDF フォームへの穴埋め、背景への透かし挿入、ページ分解、
+文書情報表示、ページストリームの展開・再圧縮機能を有し、壊れたPDF文書を可能な
+限り修復する機能も備えています.
 
 %prep
 %setup -q
+%patch0 -p1 -b .gcc44
+%patch1 -p0 -b .dummy
+%patch2 -p1 -b .no_embedded_libs
+%patch3 -p1 -b .calendar
+
 
 %build
 cd pdftk
@@ -65,6 +80,11 @@ if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi
 %{_mandir}/man1/*
 
 %changelog 
+* Sun Aug 29 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.41-2
+- built with new toolchain
+- added Patch0, 1, 2 and 3 for building current toolchain
+- updated description
+
 * Thu Oct 09 2008 Shu KONNO <owa@bg.wakwak.com> 1.41-1vl5
 - applied new versioning policy, spec in utf-8