]> git.pld-linux.org Git - packages/dvipng.git/blob - dvipng.spec
- updated dependencies
[packages/dvipng.git] / dvipng.spec
1 Summary:        Convert DVI files to PNG
2 Summary(pl.UTF-8):      Konwersja plików DVI do PNG
3 Name:           dvipng
4 Version:        1.15
5 Release:        2
6 License:        LGPL v3
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
19 Conflicts:      texlive
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 This program makes PNG graphics from DVI files as obtained from TeX
24 and its relatives.
25
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.
29
30 %description -l pl.UTF-8
31 Ten program tworzy obrazki PNG z plików DVI tworzonych przez TeXa i
32 pokrewne narzędzia.
33
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.
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
49
50 %{__make} install \
51         DESTDIR=$RPM_BUILD_ROOT
52
53 %clean
54 rm -rf $RPM_BUILD_ROOT
55
56 %post   -p /sbin/postshell
57 -/usr/sbin/fix-info-dir -c %{_infodir}
58
59 %postun -p /sbin/postshell
60 -/usr/sbin/fix-info-dir -c %{_infodir}
61
62 %files
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*
This page took 0.095122 seconds and 4 git commands to generate.