enscript-vl.spec 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  1. Summary: A plain ASCII to PostScript converter.
  2. Name: enscript
  3. Version: 1.6.1
  4. Release: 28%{?_dist_release}
  5. License: GPL
  6. Group: Applications/Publishing
  7. Source0: ftp://ftp.gnu.org/pub/gnu/enscript-%{version}.tar.gz
  8. Patch0: enscript-1.6.1-config.patch
  9. Patch2: enscript-1.6.1-tmp.patch
  10. Patch3: enscript-1.6.1-locale.patch
  11. URL: http://people.ssh.fi/mtr/genscript/index.html
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. BuildPrereq: flex, libtool, automake, autoconf
  14. Requires: perl
  15. %description
  16. GNU enscript is a free replacement for Adobe's Enscript
  17. program. Enscript converts ASCII files to PostScript(TM) and spools
  18. generated PostScript output to the specified printer or saves it to a
  19. file. Enscript can be extended to handle different output media and
  20. includes many options for customizing printouts.
  21. %description -l ja
  22. GNU enscriptはAdobe's Enscriptに代わるフリーなプログラムです。
  23. EnscriptはASCIIファイルをPostScript(TM)に変換して、
  24. 特定のプリンタに作成したPostScriptファイルをスプールしたり、
  25. ファイルに保存することができます。
  26. Enscriptは異なる出力メディアを扱えるように拡張されており、
  27. プリント出力をカスタマイズするための多くのオプションを含んでいます。
  28. %prep
  29. %setup -q
  30. %patch0 -p1 -b .config
  31. %patch2 -p1 -b .tmp
  32. %patch3 -p1 -b .locale
  33. %build
  34. %configure
  35. %install
  36. rm -rf %{buildroot}
  37. mkdir -p %{buildroot}%{_datadir}/locale/{de,es,fi,fr,nl,sl}/LC_MESSAGES
  38. make DESTDIR=%{buildroot} install
  39. %find_lang %name
  40. # XXX note doubled %% in sed script below.
  41. (cd %{buildroot};find .%{_datadir}/enscript/*) | \
  42. sed -e 's,^\.,,' | sed -e 's,*font.map,%%config &,' > share.list
  43. ( cd %{buildroot}
  44. ln .%{_prefix}/bin/enscript .%{_prefix}/bin/nenscript
  45. )
  46. cat %{name}.lang >> share.list
  47. %clean
  48. rm -rf %{buildroot}
  49. %files -f share.list
  50. %defattr(-,root,root)
  51. %{_bindir}/*
  52. %{_mandir}/man1/*
  53. %dir %{_datadir}/enscript
  54. %config(noreplace) %{_sysconfdir}/enscript.cfg
  55. %doc AUTHORS ChangeLog FAQ.html NEWS README README.ESCAPES THANKS TODO
  56. %changelog
  57. * Mon Sep 22 2008 Shu KONNO <owa@bg.wakwak.com> 1.6.1-28vl5
  58. - applied new versioning policy, spec in utf-8
  59. * Sun Jul 11 2004 Satoshi MACHINO <machino@vinelinux.org> 1.6.1-27vl1
  60. - build for VineLinux
  61. - added BuildPrereq and Requires
  62. - added japanese description
  63. * Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
  64. - rebuilt
  65. * Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
  66. - rebuilt
  67. * Mon Nov 3 2003 Tim Waugh <twaugh@redhat.com>
  68. - Removed mail patch. It was included to be more compatible with an
  69. lpr we no longer ship. Fixes bug #108762.
  70. * Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
  71. - rebuilt
  72. * Wed Jan 22 2003 Tim Powers <timp@redhat.com>
  73. - rebuilt
  74. * Wed Nov 20 2002 Tim Powers <timp@redhat.com>
  75. - rebuild on all arches
  76. * Fri Jun 21 2002 Tim Powers <timp@redhat.com>
  77. - automated rebuild
  78. * Sun May 26 2002 Tim Powers <timp@redhat.com>
  79. - automated rebuild
  80. * Wed May 22 2002 Tim Waugh <twaugh@redhat.com> 1.6.1-20
  81. - Fix URL (bug #65278).
  82. * Wed Apr 3 2002 Tim Waugh <twaugh@redhat.com> 1.6.1-19
  83. - Fix license (bug #62573).
  84. * Mon Mar 18 2002 Tim Waugh <twaugh@redhat.com> 1.6.1-18
  85. - Fix locale issues (bug #61294).
  86. * Mon Feb 04 2002 Tim Waugh <twaugh@redhat.com> 1.6.1-17
  87. - Rebuild in new environment.
  88. * Mon Jan 14 2002 Tim Waugh <twaugh@redhat.com> 1.6.1-16.2
  89. - Use tmpfile instead of tmpnam or tempnam (bug #57704).
  90. - Built for Red Hat Linux 7.x.
  91. * Wed Jan 09 2002 Tim Powers <timp@redhat.com> 1.6.1-16
  92. - automated rebuild
  93. * Wed Dec 19 2001 Tim Waugh <twaugh@redhat.com> 1.6.1-15
  94. - Own %{_datadir}/enscript directory (bug #56974).
  95. * Mon Jun 25 2001 Crutcher Dunnavant <crutcher@redhat.com> 1.6.1-14
  96. - add optional mail paramater, closing bug #17750
  97. - patch from marques@cs.cornell.edu
  98. * Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
  99. - Bump release + rebuild.
  100. * Tue Feb 27 2001 Trond Eivind GlomsrÅ <teg@redhat.com>
  101. - langify
  102. * Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
  103. - automatic rebuild
  104. * Mon Jun 12 2000 Preston Brown <pbrown@redhat.com>
  105. - FHS paths
  106. * Thu Feb 03 2000 Preston Brown <pbrown@redhat.com>
  107. - rebuild to gzip man pages
  108. * Wed Mar 24 1999 Erik Troan <ewt@redhat.com>
  109. - marked /usr/share/enscript/font.map as a config file
  110. * Mon Mar 22 1999 Preston Brown <pbrown@redhat.com>
  111. - added documentation to the RPM
  112. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  113. - auto rebuild in the new build environment (release 5)
  114. * Fri Mar 19 1999 Jeff Johnson <jbj@redhat.com>
  115. - strip binaries.
  116. - include i18n locales.
  117. * Wed Feb 24 1999 Preston Brown <pbrown@redhat.com>
  118. - Injected new description and group.
  119. * Wed Nov 11 1998 Preston Brown <pbrown@redhat.com>
  120. - translations ripped out, slight cleanup to build section.
  121. * Mon Nov 09 1998 Preston Brown <pbrown@redhat.com>
  122. - initial build of GNU enscript to replace nenscript.