source: projects/specs/trunk/p/pdftk/pdftk-vl.spec @ 5691

Revision 5691, 3.4 KB checked in by munepi, 12 years ago (diff)

updated pdftk-vl.spec

Line 
1Name:             pdftk
2Summary:          pdftk - the pdf toolkit
3Summary(ja):      PDF 操作ツールキット
4Version:          1.41
5Release:          3%{?_dist_release}
6
7Group:            Applications/Publishing
8License:          GPLv2+
9URL:              http://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/
10
11Source0:          %{name}-%{version}.tar.bz2
12
13Patch0:           pdftk-1.41-build_with_gcc44.patch
14Patch1:           pdftk-1.41-makefile.patch
15Patch2:           pdftk-1.41-no_embedded_libs.patch
16Patch3:           pdftk-1.41-calendar.patch
17
18BuildRoot:        %{_tmppath}/%{name}-%{version}-root
19BuildRequires:    gcc-java libgcj-devel
20Requires:         libgcj
21
22Vendor:           Project Vine
23Distribution:     Vine Linux
24
25%description
26If PDF is electronic paper, then pdftk is an electronic staple-remover,
27hole-punch, binder, secret-decoder-ring, and X-Ray-glasses. Pdftk is a simple
28tool for doing everyday things with PDF documents. Keep one in the top drawer
29of your desktop and use it to:
30
31    * Merge PDF Documents
32    * Split PDF Pages into a New Document
33    * Decrypt Input as Necessary (Password Required)
34    * Encrypt Output as Desired
35    * Fill PDF Forms with FDF Data or XFDF Data and/or Flatten Forms
36    * Apply a Background Watermark or a Foreground Stamp
37    * Burst a PDF Document into Single Pages
38    * Report on PDF Metrics, including Metadata and Bookmarks
39    * Uncompress and Re-Compress Page Streams
40    * Repair Corrupted PDF (Where Possible)
41
42Pdftk is also an example of how to use a library of Java classes in a
43stand-alone C++ program. Specifically, it demonstrates how GCJ and CNI allow
44C++ code to use iText's (itext-paulo) Java classes.
45
46%description -l ja
47pdftk は PDF 文書を扱うツールであり、PDF文書の結合、分割、暗号化、復号化
48(パスワードが必要)、PDF フォームへの穴埋め、背景への透かし挿入、ページ分解、
49文書情報表示、ページストリームの展開・再圧縮機能を有し、壊れたPDF文書を可能な
50限り修復する機能も備えています.
51
52%prep
53%setup -q
54%patch0 -p1 -b .gcc44
55%patch1 -p0 -b .dummy
56%patch2 -p1 -b .no_embedded_libs
57%patch3 -p1 -b .calendar
58
59
60%build
61cd pdftk
62## don't use smp_mflags
63%{__make} -f Makefile.RedHat
64cd -
65
66%install
67if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi
68%{__install} -d $RPM_BUILD_ROOT/%{_bindir}
69%{__install} -d $RPM_BUILD_ROOT/%{_mandir}/man1
70%{__install} -m 0755 pdftk/pdftk $RPM_BUILD_ROOT/%{_bindir}/
71%{__install} -m 0644 debian/pdftk.1 $RPM_BUILD_ROOT/%{_mandir}/man1/
72
73%clean
74if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi
75
76%files
77%defattr(-,root,root)
78%doc pdftk.1.html  pdftk.1.notes  pdftk.1.txt
79%{_bindir}/*
80%{_mandir}/man1/*
81
82%changelog
83* Sun Feb 19 2012 Munehiro Yamamoto <munepi@vinelinux.org> 1.41-3
84- rebuild
85 
86* Sun Aug 29 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.41-2
87- built with new toolchain
88- added Patch0, 1, 2 and 3 for building current toolchain
89- updated description
90
91* Thu Oct 09 2008 Shu KONNO <owa@bg.wakwak.com> 1.41-1vl5
92- applied new versioning policy, spec in utf-8
93
94* Fri Feb 29 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.41-0vl2
95- updated release number
96
97* Sun Sep  2 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.41-0vl1
98- new upstream release
99- rebuilt with new toolchain and environment
100
101* Thu Aug 17 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com>
102- rebuilt for VineSeed (4.0)
103
104* Mon Jun  6 2005 Susumu Tanimura <stanimura-ngs@umin.ac.jp>
105- Inital package for VineLinux3.1
106
Note: See TracBrowser for help on using the repository browser.