]>
Commit | Line | Data |
---|---|---|
5907719e | 1 | Summary: Convert DVI files to PNG |
13ac5323 | 2 | Summary(pl.UTF-8): Konwersja plików DVI do PNG |
f2a8ca5a | 3 | Name: dvipng |
002d78a3 | 4 | Version: 1.12 |
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 |
002d78a3 | 9 | # Source0-md5: 0925fb516cdf6b2207138781a4b3076e |
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 | ||
f2eb1a04 ER |
52 | %post -p /sbin/postshell |
53 | -/usr/sbin/fix-info-dir -c %{_infodir} | |
cb88c03a | 54 | |
f2eb1a04 ER |
55 | %postun -p /sbin/postshell |
56 | -/usr/sbin/fix-info-dir -c %{_infodir} | |
cb88c03a | 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* |