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