plain2-vl.spec 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. Name: plain2
  2. Version: 2.54
  3. Release: 0vl2
  4. Vendor: Project Vine
  5. Distribution: Vine Linux
  6. Packager: USAMI Kosuke <usami-k@yc5.so-net.ne.jp>
  7. License: distributable
  8. Group: Applications/Text
  9. Source0: http://ftp.debian.or.jp/debian-jp/pool/main/p/plain2/plain2_2.54p1.orig.tar.gz
  10. Patch0: http://ftp.debian.or.jp/debian-jp/pool/main/p/plain2/plain2_2.54p1-4.2.diff.gz
  11. Patch1: http://www.asahi-net.or.jp/~vw4k-kbys/plain2/plain2-2.54-html-table.diff.gz
  12. Patch2: plain2-2.54-plain2html.patch
  13. Patch3: plain2-2.54-doc.patch
  14. BuildRoot: %{_tmppath}/%{name}-root
  15. Requires: perl tetex tcsh gawk sed ImageMagick ghostscript
  16. Summary: plain-text converter (to LaTeX, ROFF and HTML)
  17. %description
  18. plain2 converts plain-text to LaTeX, ROFF and HTML.
  19. This package used the source and patch which are kept by Debian-JP,
  20. and used HTML table extension patch.
  21. %description -l ja
  22. plain2 はプレーンテキストを LaTeX,ROFF,HTML へ変換します.
  23. 本パッケージは,Debian-JP で保管されているソースとパッチを利用し,
  24. さらにHTMLテーブル拡張パッチをあてています.
  25. # 注意:HTMLテーブル拡張パッチを使用するためには
  26. # Debian-JP のソースとパッチを利用する必要がある
  27. %prep
  28. %setup -q -n plain2-2.54p1.orig
  29. %patch0 -p1
  30. %patch1 -p1
  31. %patch2 -p1
  32. %patch3 -p1
  33. %build
  34. cd src
  35. %__make BINDIR=%{buildroot}%{_bindir} LIBDIR=%{buildroot}%{_libdir}/%{name}
  36. cd ..
  37. %__mv debian/jverb.sty doc/
  38. %__mv debian/jmodules doc/jmodules.obj
  39. %install
  40. %__rm -rf %{buildroot}
  41. %__mkdir_p %{buildroot}%{_bindir} %{buildroot}%{_libdir}/%{name}
  42. cd src
  43. %makeinstall BINDIR=%{buildroot}%{_bindir} LIBDIR=%{buildroot}%{_libdir}/%{name}
  44. %clean
  45. %__rm -rf %{buildroot}
  46. %files
  47. %defattr(-,root,root)
  48. %doc debian/README.patch debian/README.nide debian/jverbsty.doc debian/*.ja
  49. %doc src/README.* src/HTML-table.pln
  50. %doc doc/
  51. %{_bindir}/*
  52. %{_libdir}/%{name}/
  53. %changelog
  54. * Thu Jul 31 2003 USAMI Kosuke <usami-k@yc5.so-net.ne.jp> - 2.54-0vl2
  55. - Rebuild for new Vine.
  56. * Tue Jun 10 2003 USAMI Kosuke <usami-k@yc5.so-net.ne.jp> 2.54-0vl1
  57. - Import source and patch from Debian.
  58. - Add html-table patch.