1 Summary: Convert DVI files to PNG
2 Summary(pl.UTF-8): Konwersja plików DVI do PNG
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
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 This program makes PNG graphics from DVI files as obtained from TeX
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.
31 %description -l pl.UTF-8
32 Ten program tworzy obrazki PNG z plików DVI tworzonych przez TeXa i
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
49 rm -rf $RPM_BUILD_ROOT
52 DESTDIR=$RPM_BUILD_ROOT
55 rm -rf $RPM_BUILD_ROOT
57 %post -p /sbin/postshell
58 -/usr/sbin/fix-info-dir -c %{_infodir}
60 %postun -p /sbin/postshell
61 -/usr/sbin/fix-info-dir -c %{_infodir}
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*