]> git.pld-linux.org Git - packages/dvipng.git/blobdiff - dvipng.spec
- updated to 1.17
[packages/dvipng.git] / dvipng.spec
index a1ec3fd5837dfcc9bcddf3f57d06904b97729615..4f57afc530e446661d2ad1ca98a6bf227b591c4c 100644 (file)
@@ -1,19 +1,23 @@
 Summary:       Convert DVI files to PNG
 Summary:       Convert DVI files to PNG
-Summary(pl):   Konwersja plików DVI do PNG
+Summary(pl.UTF-8):     Konwersja plików DVI do PNG
 Name:          dvipng
 Name:          dvipng
-Version:       1.3
+Version:       1.17
 Release:       1
 Release:       1
-License:       GPL v2
-Group:         Applications/Console
-Source0:       http://dl.sourceforge.net/dvipng/%{name}-%{version}.tar.gz
-# Source0-md5: e17a922143ebb69979a0704cd64158b8
+License:       LGPL v3
+Group:         Applications/Graphics
+Source0:       http://downloads.sourceforge.net/dvipng/%{name}-%{version}.tar.gz
+# Source0-md5: 122fa97e4a8988eb33dda1fb75506b09
 Patch0:                %{name}-info.patch
 Patch0:                %{name}-info.patch
-URL:           http://www.sourceforge.net/projetcs/dvipng/
-BuildRequires: freetype-devel
-BuildRequires: gd-devel
+URL:           http://sourceforge.net/projects/dvipng/
+BuildRequires: freetype-devel >= 2.0.1
+BuildRequires: gd-devel >= 2.0.28
 BuildRequires: kpathsea-devel
 BuildRequires: kpathsea-devel
-BuildRequires: tetex-format-plain
+BuildRequires: libpng-devel
 BuildRequires: texinfo
 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
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -24,16 +28,17 @@ 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.
 
 fast as is possible. The target audience is people who need to
 generate and regenerate many images again and again.
 
-%description -l pl
-Ten program tworzy obrazki PNG z plików DVI tworzonych przez TeXa i
-pokrewne narzêdzia.
+%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 tworzenie obrazków w rozdzielczo¶ci ekranu z
-antyaliasingiem tak szybko, jak to tylko mo¿liwe. Jest on dla ludzi
-potrzebuj±cych ci±gle generowaæ lub regenerowaæ wiele obrazków.
+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
 
 %prep
-%setup -q
+%setup -q -c
 %patch0 -p1
 
 %build
 %patch0 -p1
 
 %build
@@ -49,15 +54,17 @@ rm -rf $RPM_BUILD_ROOT
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
+%post  -p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
 
 
-%postun
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
+%postun        -p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
 
 %files
 %defattr(644,root,root,755)
 
 %files
 %defattr(644,root,root,755)
-%doc README RELEASE
-%{_infodir}/*.info*
-%attr(755,root,root) %{_bindir}/*
-%{_mandir}/man1/*
+%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.078721 seconds and 4 git commands to generate.