]> git.pld-linux.org Git - packages/dvipng.git/blob - dvipng.spec
- updated to 1.5
[packages/dvipng.git] / dvipng.spec
1 Summary:        Convert DVI files to PNG
2 Summary(pl):    Konwersja plików DVI do PNG
3 Name:           dvipng
4 Version:        1.5
5 Release:        1
6 License:        GPL v2
7 Group:          Applications/Console
8 Source0:        http://dl.sourceforge.net/dvipng/%{name}-%{version}.tar.gz
9 # Source0-md5:  214b0831efb6c31e31a85e362921347d
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:  tetex-format-plain
16 BuildRequires:  texinfo
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 This program makes PNG graphics from DVI files as obtained from TeX
21 and its relatives.
22
23 It is intended to produce anti-aliased screen-resolution images as
24 fast as is possible. The target audience is people who need to
25 generate and regenerate many images again and again.
26
27 %description -l pl
28 Ten program tworzy obrazki PNG z plików DVI tworzonych przez TeXa i
29 pokrewne narzêdzia.
30
31 Program ma s³u¿yæ do tworzenie obrazków w rozdzielczo¶ci ekranu z
32 antyaliasingiem tak szybko, jak to tylko mo¿liwe. Jest on dla ludzi
33 potrzebuj±cych ci±gle generowaæ lub regenerowaæ wiele obrazków.
34
35 %prep
36 %setup -q
37 %patch0 -p1
38
39 %build
40 %configure
41 %{__make}
42
43 %install
44 rm -rf $RPM_BUILD_ROOT
45
46 %{__make} install \
47         DESTDIR=$RPM_BUILD_ROOT
48
49 %clean
50 rm -rf $RPM_BUILD_ROOT
51
52 %post
53 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
54
55 %postun
56 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
57
58 %files
59 %defattr(644,root,root,755)
60 %doc README RELEASE
61 %{_infodir}/*.info*
62 %attr(755,root,root) %{_bindir}/*
63 %{_mandir}/man1/*
This page took 0.054576 seconds and 4 git commands to generate.