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: c82043f4a366a560bb87fd9eafb6ef2f
10 Patch0: %{name}-info.patch
11 URL: http://sourceforge.net/projects/dvipng/
12 BuildRequires: freetype-devel >= 2
13 BuildRequires: gd-devel >= 2.0.28
14 BuildRequires: kpathsea-devel
15 BuildRequires: libpng-devel
16 BuildRequires: texinfo
17 BuildRequires: zlib-devel
18 Requires: gd >= 2.0.28
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 This program makes PNG graphics from DVI files as obtained from TeX
26 It is intended to produce anti-aliased screen-resolution images as
27 fast as is possible. The target audience is people who need to
28 generate and regenerate many images again and again.
30 %description -l pl.UTF-8
31 Ten program tworzy obrazki PNG z plików DVI tworzonych przez TeXa i
34 Program ma służyć do tworzenia obrazków w rozdzielczości ekranu z
35 antyaliasingiem tak szybko, jak to tylko możliwe. Jest on przeznaczony
36 dla osób potrzebujących ciągle generować lub regenerować wiele
48 rm -rf $RPM_BUILD_ROOT
51 DESTDIR=$RPM_BUILD_ROOT
54 rm -rf $RPM_BUILD_ROOT
56 %post -p /sbin/postshell
57 -/usr/sbin/fix-info-dir -c %{_infodir}
59 %postun -p /sbin/postshell
60 -/usr/sbin/fix-info-dir -c %{_infodir}
63 %defattr(644,root,root,755)
64 %doc ChangeLog README RELEASE
65 %attr(755,root,root) %{_bindir}/dvigif
66 %attr(755,root,root) %{_bindir}/dvipng
67 %{_mandir}/man1/dvigif.1*
68 %{_mandir}/man1/dvipng.1*
69 %{_infodir}/dvipng.info*