]>
Commit | Line | Data |
---|---|---|
5907719e | 1 | Summary: Convert DVI files to PNG |
e4f4e1c3 | 2 | Summary(pl.UTF-8): Konwersja plików DVI do PNG |
f2a8ca5a | 3 | Name: dvipng |
078449b9 | 4 | Version: 1.8 |
c069e8dd AG |
5 | Release: 1 |
6 | License: GPL v2 | |
7 | Group: Applications/Console | |
abea7b5a | 8 | Source0: http://dl.sourceforge.net/dvipng/%{name}-%{version}.tar.gz |
078449b9 | 9 | # Source0-md5: f0b18b2c32ec38df495f468080775421 |
94fd50ee | 10 | Patch0: %{name}-info.patch |
abea7b5a | 11 | URL: http://www.sourceforge.net/projetcs/dvipng/ |
cefff6ed AG |
12 | BuildRequires: freetype-devel |
13 | BuildRequires: gd-devel | |
14 | BuildRequires: kpathsea-devel | |
15 | BuildRequires: tetex-format-plain | |
cb88c03a | 16 | BuildRequires: texinfo |
f2a8ca5a AG |
17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
18 | ||
19 | %description | |
5907719e JB |
20 | This program makes PNG graphics from DVI files as obtained from TeX |
21 | and its relatives. | |
f2a8ca5a | 22 | |
cefff6ed | 23 | It is intended to produce anti-aliased screen-resolution images as |
5907719e | 24 | fast as is possible. The target audience is people who need to |
c069e8dd | 25 | generate and regenerate many images again and again. |
5907719e | 26 | |
e4f4e1c3 JR |
27 | %description -l pl.UTF-8 |
28 | Ten program tworzy obrazki PNG z plików DVI tworzonych przez TeXa i | |
29 | pokrewne narzędzia. | |
5907719e | 30 | |
e4f4e1c3 JR |
31 | Program ma służyć do tworzenie obrazków w rozdzielczości ekranu z |
32 | antyaliasingiem tak szybko, jak to tylko możliwe. Jest on dla ludzi | |
33 | potrzebujących ciągle generować lub regenerować wiele obrazków. | |
f2a8ca5a AG |
34 | |
35 | %prep | |
36 | %setup -q | |
37 | %patch0 -p1 | |
38 | ||
39 | %build | |
40 | %configure | |
41 | %{__make} | |
42 | ||
43 | %install | |
44 | rm -rf $RPM_BUILD_ROOT | |
f2a8ca5a AG |
45 | |
46 | %{__make} install \ | |
47 | DESTDIR=$RPM_BUILD_ROOT | |
48 | ||
49 | %clean | |
50 | rm -rf $RPM_BUILD_ROOT | |
51 | ||
cb88c03a JB |
52 | %post |
53 | [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1 | |
54 | ||
55 | %postun | |
56 | [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1 | |
57 | ||
f2a8ca5a AG |
58 | %files |
59 | %defattr(644,root,root,755) | |
3f4eef02 | 60 | %doc ChangeLog README RELEASE |
f2a8ca5a | 61 | %attr(755,root,root) %{_bindir}/* |
abea7b5a | 62 | %{_mandir}/man1/* |
078449b9 | 63 | %{_infodir}/*.info* |