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