detex-vl.spec 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. Summary: a program to remove TeX constructs
  2. Summary(ja): TeXコマンドを取り除くプログラム
  3. Name: detex
  4. Version: 2.8
  5. Release: 1%{?_dist_release}
  6. URL: http://www.cs.purdue.edu/homes/trinkle/detex/
  7. License: distributable
  8. Group: Applications/Text
  9. Source: http://www.cs.purdue.edu/homes/trinkle/detex/detex-2.8.tar
  10. Patch0: detex-2.8-malloc.patch
  11. Buildroot: %{_tmppath}/%{name}-%{version}-root
  12. BuildRequires: sed flex
  13. Vendor: Project Vine
  14. Distribution: Vine Linux
  15. %description
  16. Detex is a program to remove TeX constructs from a text file.
  17. It recognizes the \input command.
  18. This program assumes it is dealing with LaTeX input if it sees the string
  19. "\begin{document}" in the text. It recognizes the \include and \includeonly
  20. commands.
  21. %description -l ja
  22. LaTeX 文書から LaTeX コマンドを取り除くプログラムです。
  23. %prep
  24. %setup -q
  25. %patch0 -p0 -b .malloc
  26. %build
  27. make
  28. %install
  29. [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
  30. mkdir -p $RPM_BUILD_ROOT%{_bindir}
  31. install -m 775 detex $RPM_BUILD_ROOT%{_bindir}
  32. %clean
  33. [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
  34. %files
  35. %defattr(-,root,root)
  36. %doc README
  37. %{_bindir}/detex
  38. %changelog
  39. * Mon Sep 29 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8-1vl5
  40. - new upstream release
  41. - added Patch0 for compiling new toolchains
  42. - added BuildRequires: sed flex
  43. - applied new versioning policy
  44. - spec in UTF-8
  45. * Sun Jul 15 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.7-0vl3
  46. - build with new toolchains
  47. - to use License instead of Copyright
  48. * Thu Jan 4 2001 Jun Nishii <jun@vinelinux.org>
  49. - 2.7-0vl2
  50. - build with gcc
  51. * Wed Jan 3 2001 Jun Nishii <jun@vinelinux.org>
  52. - 2.7-0vl1
  53. - first build