dvi2tty-vl.spec 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. Summary: convert dvi files to simple ASCII
  2. Name: dvi2tty
  3. Version: 5.1
  4. Release: 1%{?_dist_release}
  5. License: nocommercial
  6. Group: Applications/Publishing
  7. Source0: ftp://ftp.cdrom.com/pub/tex/ctan/systems/unix/linux/dvi/dvi2tty51.tgz
  8. Source1: dvi2tty.sh
  9. Source2: dvi2tty.csh
  10. Patch0: dvi2tty-5.1.patch.gz
  11. Patch1: dvi2tty-5.1-disdvi.patch
  12. BuildPrereq: tetex, gzip
  13. Requires: less
  14. Buildroot: %{_tmppath}/%{name}-root
  15. Vendor: Project Vine
  16. Distribution: Vine Linux
  17. %description
  18. dvi2tty is designed to preview TeX dvi files on ASCII devices, (such as
  19. terminals and line printers). This version was written in the C language
  20. by Marcel J.E. Mol, and is derived from the original pascal program
  21. written by Svante Lindahl.
  22. Since more sophisticated output devices are now common place, most users
  23. rely on dvips, or other dvi converters, for everyday TeX processing.
  24. However, every TeX user will find dvi2tty to be handy, (ie: you need
  25. to transmit a TeX document in softcopy form to someone who religiously
  26. bought every release of Word, thinking they could read *any* document
  27. in existance).
  28. %description -l ja
  29. dvi ファイルをターミナル上で閲覧するためのツールです.
  30. 日本語のTeXファイルをAscii pTeX で処理したものを閲覧するには,
  31. -A オプションを用いるか,環境変数DVI2TTYをAに設定してください.
  32. NTT TeX で処理した場合は -J オプションとなります.
  33. %prep
  34. %setup -b 0
  35. %patch0 -p1
  36. %patch1 -p0 -b .disdvi
  37. %build
  38. make
  39. %install
  40. rm -rf %{buildroot}
  41. mkdir -p %{buildroot}/{%{_bindir},%{_mandir}/man1}
  42. make install bindir=%{buildroot}/%{_bindir} mandir=%{buildroot}/%{_mandir}/man1
  43. mkdir -p %{buildroot}/%{_sysconfdir}/profile.d/
  44. install -m 755 %{SOURCE1} %{buildroot}/%{_sysconfdir}/profile.d/
  45. install -m 755 %{SOURCE2} %{buildroot}/%{_sysconfdir}/profile.d/
  46. %clean
  47. rm -rf %{buildroot}
  48. %files
  49. %defattr(-,root,root)
  50. %doc DVI.format README* TODO credits
  51. %doc dvi2tty.tex test.* ligtest.* debian/
  52. %{_bindir}/disdvi
  53. %{_bindir}/dvi2tty
  54. %{_mandir}/man1/*
  55. %{_sysconfdir}/profile.d/dvi2tty.*
  56. %changelog
  57. * Mon Sep 22 2008 Shu KONNO <owa@bg.wakwak.com> 5.1-1vl5
  58. - applied new versioning policy, spec in utf-8
  59. - added dvi2tty-5.1-disdvi.patch
  60. * Wed Oct 8 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.1-0vl2
  61. - rebuild with new toolchains
  62. - change BuildPrereq: tetex
  63. - s/Copyright/License/
  64. * Thu Mar 29 2001 Jun Nishii <jun@vinelinux.org>
  65. - 5.1-0vl1