pdftk-vl.spec 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. Summary: pdftk - the pdf tool kit
  2. Summary(ja): PDF 操作ツールキット
  3. Name: pdftk
  4. Version: 1.41
  5. Release: 1%{?_dist_release}
  6. License: GPL
  7. URL: http://www.accesspdf.com/pdftk/
  8. Source0: %{name}-%{version}.tar.bz2
  9. Group: Applications/Publishing
  10. Vendor: Project Vine
  11. Distribution: Vine Linux
  12. Packager: Susumu Tanimura <stanimura-ngs@umin.ac.jp>
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  14. Requires: libgcj
  15. BuildRequires: gcc-java libgcj-devel
  16. %description
  17. If PDF is electronic paper, then pdftk is an electronic staple-remover,
  18. hole-punch, binder, secret-decoder-ring, and X-Ray-glasses. Pdftk is a simple
  19. tool for doing everyday things with PDF documents. Keep one in the top drawer
  20. of your desktop and use it to:
  21. * Merge PDF Documents
  22. * Split PDF Pages into a New Document
  23. * Decrypt Input as Necessary (Password Required)
  24. * Encrypt Output as Desired
  25. * Burst a PDF Document into Single Pages
  26. * Report on PDF Metrics, including Metadata and Bookmarks
  27. * Uncompress and Re-Compress Page Streams
  28. * Repair Corrupted PDF (Where Possible)
  29. Pdftk is also an example of how to use a library of Java classes in a
  30. stand-alone C++ program. Specifically, it demonstrates how GCJ and CNI allow
  31. C++ code to use iText's (itext-paulo) Java classes.
  32. %description -l ja
  33. pdftk は PDF 文書を扱うツールであり、PDF文書の結合、分割、暗号化、復号
  34. 化、ページ分解、文書情報表示、圧縮展開機能を有し、壊れたPDF文書を可能
  35. な限り修復する機能もある。
  36. %prep
  37. %setup -q
  38. %build
  39. cd pdftk
  40. ## don't use smp_mflags
  41. %{__make} -f Makefile.RedHat
  42. cd -
  43. %install
  44. if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi
  45. %{__install} -d $RPM_BUILD_ROOT/%{_bindir}
  46. %{__install} -d $RPM_BUILD_ROOT/%{_mandir}/man1
  47. %{__install} -m 0755 pdftk/pdftk $RPM_BUILD_ROOT/%{_bindir}/
  48. %{__install} -m 0644 debian/pdftk.1 $RPM_BUILD_ROOT/%{_mandir}/man1/
  49. %clean
  50. if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi
  51. %files
  52. %defattr(-,root,root)
  53. %doc pdftk.1.html pdftk.1.notes pdftk.1.txt
  54. %{_bindir}/*
  55. %{_mandir}/man1/*
  56. %changelog
  57. * Thu Oct 09 2008 Shu KONNO <owa@bg.wakwak.com> 1.41-1vl5
  58. - applied new versioning policy, spec in utf-8
  59. * Fri Feb 29 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.41-0vl2
  60. - updated release number
  61. * Sun Sep 2 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.41-0vl1
  62. - new upstream release
  63. - rebuilt with new toolchain and environment
  64. * Thu Aug 17 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com>
  65. - rebuilt for VineSeed (4.0)
  66. * Mon Jun 6 2005 Susumu Tanimura <stanimura-ngs@umin.ac.jp>
  67. - Inital package for VineLinux3.1