]>
Commit | Line | Data |
---|---|---|
1 | Summary: Convert DVI files to PNG | |
2 | Summary(pl.UTF-8): Konwersja plików DVI do PNG | |
3 | Name: dvipng | |
4 | Version: 1.17 | |
5 | Release: 1 | |
6 | License: LGPL v3 | |
7 | Group: Applications/Graphics | |
8 | Source0: http://downloads.sourceforge.net/dvipng/%{name}-%{version}.tar.gz | |
9 | # Source0-md5: 122fa97e4a8988eb33dda1fb75506b09 | |
10 | Patch0: %{name}-info.patch | |
11 | URL: http://sourceforge.net/projects/dvipng/ | |
12 | BuildRequires: freetype-devel >= 2.0.1 | |
13 | BuildRequires: gd-devel >= 2.0.28 | |
14 | BuildRequires: kpathsea-devel | |
15 | BuildRequires: libpng-devel | |
16 | BuildRequires: texinfo | |
17 | BuildRequires: zlib-devel | |
18 | Requires: freetype >= 2.0.1 | |
19 | Requires: gd >= 2.0.28 | |
20 | Conflicts: texlive | |
21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
22 | ||
23 | %description | |
24 | This program makes PNG graphics from DVI files as obtained from TeX | |
25 | and its relatives. | |
26 | ||
27 | It is intended to produce anti-aliased screen-resolution images as | |
28 | fast as is possible. The target audience is people who need to | |
29 | generate and regenerate many images again and again. | |
30 | ||
31 | %description -l pl.UTF-8 | |
32 | Ten program tworzy obrazki PNG z plików DVI tworzonych przez TeXa i | |
33 | pokrewne narzędzia. | |
34 | ||
35 | Program ma służyć do tworzenia obrazków w rozdzielczości ekranu z | |
36 | antyaliasingiem tak szybko, jak to tylko możliwe. Jest on przeznaczony | |
37 | dla osób potrzebujących ciągle generować lub regenerować wiele | |
38 | obrazków. | |
39 | ||
40 | %prep | |
41 | %setup -q -c | |
42 | %patch0 -p1 | |
43 | ||
44 | %build | |
45 | %configure | |
46 | %{__make} | |
47 | ||
48 | %install | |
49 | rm -rf $RPM_BUILD_ROOT | |
50 | ||
51 | %{__make} install \ | |
52 | DESTDIR=$RPM_BUILD_ROOT | |
53 | ||
54 | %clean | |
55 | rm -rf $RPM_BUILD_ROOT | |
56 | ||
57 | %post -p /sbin/postshell | |
58 | -/usr/sbin/fix-info-dir -c %{_infodir} | |
59 | ||
60 | %postun -p /sbin/postshell | |
61 | -/usr/sbin/fix-info-dir -c %{_infodir} | |
62 | ||
63 | %files | |
64 | %defattr(644,root,root,755) | |
65 | %doc ChangeLog README RELEASE | |
66 | %attr(755,root,root) %{_bindir}/dvigif | |
67 | %attr(755,root,root) %{_bindir}/dvipng | |
68 | %{_mandir}/man1/dvigif.1* | |
69 | %{_mandir}/man1/dvipng.1* | |
70 | %{_infodir}/dvipng.info* |