]> git.pld-linux.org Git - packages/dvipng.git/blob - dvipng.spec
- added info patch, register info page; BR: texinfo
[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:        0.7
5 Release:        0.2
6 License:        GPL v2  
7 Group:          Applcations/Console
8 Source0:        http://dl.sourceforge.net/preview-latex/%{name}-%{version}.tar.gz
9 # Source0-md5:  00a8c39343d277f4d25878d6faf5689b
10 Patch0:         %{name}-DESTDIR.patch
11 Patch1:         %{name}-info.patch
12 URL:            http://www.sourceforge.net/projects/preview-latex/
13 BuildRequires:  freetype-devel
14 BuildRequires:  gd-devel
15 BuildRequires:  kpathsea-devel
16 BuildRequires:  tetex-format-plain
17 BuildRequires:  texinfo
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
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 tworzenie obrazków w rozdzielczo¶ci ekranu z
33 antyaliasingiem tak szybko, jak to tylko mo¿liwe. Jest on dla ludzi
34 potrzebuj±cych ci±gle generowaæ lub regenerowaæ wiele obrazków.
35
36 %prep
37 %setup -q
38 %patch0 -p1
39 %patch1 -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
55 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
56
57 %postun
58 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
59
60 %files
61 %defattr(644,root,root,755)
62 %doc README RELEASE
63 %{_infodir}/*.info*
64 %attr(755,root,root) %{_bindir}/*
This page took 0.057802 seconds and 4 git commands to generate.