]>
Commit | Line | Data |
---|---|---|
9b8a65c6 TP |
1 | Summary: DVI to ASCII converter |
2 | Summary(pl.UTF-8): Konwerter DVI do ASCII | |
c4dd0d6a | 3 | Name: dvi2tty |
81bb71b0 | 4 | Version: 5.3.1 |
198126da | 5 | Release: 2 |
81bb71b0 | 6 | License: GPL v2 |
c4dd0d6a | 7 | Group: Applications/Text |
c4dd0d6a | 8 | Source0: http://www.mesa.nl/pub/%{name}/%{name}-%{version}.tar.gz |
c70b5262 | 9 | # Source0-md5: 315689466848529c2c7e94e11370a7df |
198126da | 10 | Patch0: %{name}-ansi-c.patch |
c4dd0d6a | 11 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
12 | ||
13 | %description | |
9b8a65c6 | 14 | Dvi2tty converts TeX DVI output to ASCII. |
c4dd0d6a | 15 | |
9ef83b6a | 16 | %description -l pl.UTF-8 |
9b8a65c6 | 17 | Dvi2tty konwertuje pliki wynikowe TeX DVI do ASCII. |
c4dd0d6a | 18 | |
19 | %prep | |
81bb71b0 | 20 | %setup -q |
198126da | 21 | %patch0 -p1 |
c4dd0d6a | 22 | |
23 | %build | |
81bb71b0 JB |
24 | %{__make} \ |
25 | CC="%{__cc}" \ | |
26 | CFLAGS="%{rpmcflags}" \ | |
27 | LDFLAGS="%{rpmldflags}" | |
c4dd0d6a | 28 | |
29 | %install | |
30 | rm -rf $RPM_BUILD_ROOT | |
c4dd0d6a | 31 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1} |
c92e968f | 32 | |
c4dd0d6a | 33 | install dvi2tty disdvi $RPM_BUILD_ROOT%{_bindir} |
34 | install *.1 $RPM_BUILD_ROOT%{_mandir}/man1 | |
35 | ||
c4dd0d6a | 36 | %clean |
37 | rm -rf $RPM_BUILD_ROOT | |
38 | ||
39 | %files | |
40 | %defattr(644,root,root,755) | |
94b4e89f | 41 | %doc README |
c4dd0d6a | 42 | %attr(755,root,root) %{_bindir}/* |
43 | %{_mandir}/*/* |