]> git.pld-linux.org Git - packages/dvipng.git/blob - dvipng.spec
- BR: texinfo-texi2dvi
[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.13
5 Release:        1
6 License:        GPL v2
7 Group:          Applications/Console
8 Source0:        http://downloads.sourceforge.net/dvipng/%{name}-%{version}.tar.gz
9 # Source0-md5:  da8d062977cbfeb2fb39b81d28d0b7f3
10 Patch0:         %{name}-info.patch
11 URL:            http://www.sourceforge.net/projetcs/dvipng/
12 BuildRequires:  freetype-devel
13 BuildRequires:  gd-devel
14 BuildRequires:  kpathsea-devel
15 BuildRequires:  texinfo
16 BuildRequires:  texinfo-texi2dvi
17 Conflicts:      texlive
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 This program makes PNG graphics from DVI files as obtained from TeX
22 and its relatives.
23
24 It is intended to produce anti-aliased screen-resolution images as
25 fast as is possible. The target audience is people who need to
26 generate and regenerate many images again and again.
27
28 %description -l pl.UTF-8
29 Ten program tworzy obrazki PNG z plików DVI tworzonych przez TeXa i
30 pokrewne narzędzia.
31
32 Program ma służyć do tworzenia obrazków w rozdzielczości ekranu z
33 antyaliasingiem tak szybko, jak to tylko możliwe. Jest on przeznaczony
34 dla osób potrzebujących ciągle generować lub regenerować wiele
35 obrazków.
36
37 %prep
38 %setup -q
39 %patch0 -p1
40
41 %build
42 %configure
43 %{__make}
44
45 %install
46 rm -rf $RPM_BUILD_ROOT
47
48 %{__make} install \
49         DESTDIR=$RPM_BUILD_ROOT
50
51 %clean
52 rm -rf $RPM_BUILD_ROOT
53
54 %post   -p      /sbin/postshell
55 -/usr/sbin/fix-info-dir -c %{_infodir}
56
57 %postun -p      /sbin/postshell
58 -/usr/sbin/fix-info-dir -c %{_infodir}
59
60 %files
61 %defattr(644,root,root,755)
62 %doc ChangeLog README RELEASE
63 %attr(755,root,root) %{_bindir}/*
64 %{_mandir}/man1/*
65 %{_infodir}/*.info*
This page took 0.074772 seconds and 4 git commands to generate.