]>
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 |
c50f91af JB |
4 | Version: 1.17 |
5 | Release: 1 | |
dd698edf JB |
6 | License: LGPL v3 |
7 | Group: Applications/Graphics | |
548ace6f | 8 | Source0: http://downloads.sourceforge.net/dvipng/%{name}-%{version}.tar.gz |
c50f91af | 9 | # Source0-md5: 122fa97e4a8988eb33dda1fb75506b09 |
94fd50ee | 10 | Patch0: %{name}-info.patch |
32490d83 | 11 | URL: http://sourceforge.net/projects/dvipng/ |
c50f91af | 12 | BuildRequires: freetype-devel >= 2.0.1 |
dd698edf | 13 | BuildRequires: gd-devel >= 2.0.28 |
cefff6ed | 14 | BuildRequires: kpathsea-devel |
dd698edf | 15 | BuildRequires: libpng-devel |
cb88c03a | 16 | BuildRequires: texinfo |
dd698edf | 17 | BuildRequires: zlib-devel |
c50f91af | 18 | Requires: freetype >= 2.0.1 |
dd698edf | 19 | Requires: gd >= 2.0.28 |
548ace6f | 20 | Conflicts: texlive |
f2a8ca5a AG |
21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
22 | ||
23 | %description | |
5907719e JB |
24 | This program makes PNG graphics from DVI files as obtained from TeX |
25 | and its relatives. | |
f2a8ca5a | 26 | |
cefff6ed | 27 | It is intended to produce anti-aliased screen-resolution images as |
5907719e | 28 | fast as is possible. The target audience is people who need to |
c069e8dd | 29 | generate and regenerate many images again and again. |
5907719e | 30 | |
e4f4e1c3 JR |
31 | %description -l pl.UTF-8 |
32 | Ten program tworzy obrazki PNG z plików DVI tworzonych przez TeXa i | |
33 | pokrewne narzędzia. | |
5907719e | 34 | |
548ace6f | 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. | |
f2a8ca5a AG |
39 | |
40 | %prep | |
c50f91af | 41 | %setup -q -c |
f2a8ca5a AG |
42 | %patch0 -p1 |
43 | ||
44 | %build | |
45 | %configure | |
46 | %{__make} | |
47 | ||
48 | %install | |
49 | rm -rf $RPM_BUILD_ROOT | |
f2a8ca5a AG |
50 | |
51 | %{__make} install \ | |
52 | DESTDIR=$RPM_BUILD_ROOT | |
53 | ||
54 | %clean | |
55 | rm -rf $RPM_BUILD_ROOT | |
56 | ||
dd698edf | 57 | %post -p /sbin/postshell |
f2eb1a04 | 58 | -/usr/sbin/fix-info-dir -c %{_infodir} |
cb88c03a | 59 | |
dd698edf | 60 | %postun -p /sbin/postshell |
f2eb1a04 | 61 | -/usr/sbin/fix-info-dir -c %{_infodir} |
cb88c03a | 62 | |
f2a8ca5a AG |
63 | %files |
64 | %defattr(644,root,root,755) | |
3f4eef02 | 65 | %doc ChangeLog README RELEASE |
dd698edf JB |
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* |