]> git.pld-linux.org Git - packages/dvipng.git/blobdiff - dvipng.spec
- updated to 1.17
[packages/dvipng.git] / dvipng.spec
index 96e81c80f9fb8b64a990fbea73c6f8fb8457f127..4f57afc530e446661d2ad1ca98a6bf227b591c4c 100644 (file)
@@ -1,24 +1,44 @@
-Summary:       -
-Summary(pl):   -
+Summary:       Convert DVI files to PNG
+Summary(pl.UTF-8):     Konwersja plików DVI do PNG
 Name:          dvipng
-Version:       0.7
-Release:       0.1
-License:       GPL v2  
-Group:         Applcations/Console
-Source0:       http://dl.sourceforge.net/preview-latex/%{name}-%{version}.tar.gz
-# Source0-md5: 00a8c39343d277f4d25878d6faf5689b
-Patch0:                %{name}-DESTDIR.patch
-URL:           http://www.sourceforge.net/projects/preview-latex/
+Version:       1.17
+Release:       1
+License:       LGPL v3
+Group:         Applications/Graphics
+Source0:       http://downloads.sourceforge.net/dvipng/%{name}-%{version}.tar.gz
+# Source0-md5: 122fa97e4a8988eb33dda1fb75506b09
+Patch0:                %{name}-info.patch
+URL:           http://sourceforge.net/projects/dvipng/
+BuildRequires: freetype-devel >= 2.0.1
+BuildRequires: gd-devel >= 2.0.28
+BuildRequires: kpathsea-devel
+BuildRequires: libpng-devel
+BuildRequires: texinfo
+BuildRequires: zlib-devel
+Requires:      freetype >= 2.0.1
+Requires:      gd >= 2.0.28
+Conflicts:     texlive
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-foo
+This program makes PNG graphics from DVI files as obtained from TeX
+and its relatives.
 
-%description -l pl
-shmoo
+It is intended to produce anti-aliased screen-resolution images as
+fast as is possible. The target audience is people who need to
+generate and regenerate many images again and again.
+
+%description -l pl.UTF-8
+Ten program tworzy obrazki PNG z plików DVI tworzonych przez TeXa i
+pokrewne narzędzia.
+
+Program ma służyć do tworzenia obrazków w rozdzielczości ekranu z
+antyaliasingiem tak szybko, jak to tylko możliwe. Jest on przeznaczony
+dla osób potrzebujących ciągle generować lub regenerować wiele
+obrazków.
 
 %prep
-%setup -q
+%setup -q -c
 %patch0 -p1
 
 %build
@@ -27,8 +47,6 @@ shmoo
 
 %install
 rm -rf $RPM_BUILD_ROOT
-# create directories if necessary
-#install -d $RPM_BUILD_ROOT
 
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
@@ -36,7 +54,17 @@ rm -rf $RPM_BUILD_ROOT
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post  -p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
+
+%postun        -p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
+
 %files
 %defattr(644,root,root,755)
-%doc README RELEASE
-%attr(755,root,root) %{_bindir}/*
+%doc ChangeLog README RELEASE
+%attr(755,root,root) %{_bindir}/dvigif
+%attr(755,root,root) %{_bindir}/dvipng
+%{_mandir}/man1/dvigif.1*
+%{_mandir}/man1/dvipng.1*
+%{_infodir}/dvipng.info*
This page took 0.031996 seconds and 4 git commands to generate.