X-Git-Url: https://git.pld-linux.org/?p=packages%2Fdvipng.git;a=blobdiff_plain;f=dvipng.spec;h=4f57afc530e446661d2ad1ca98a6bf227b591c4c;hp=85d167881c5d5fd183bea2b0f0596ae724ece51a;hb=HEAD;hpb=32490d830382530c865745b90997a7eb4b096367 diff --git a/dvipng.spec b/dvipng.spec index 85d1678..4f57afc 100644 --- a/dvipng.spec +++ b/dvipng.spec @@ -1,19 +1,22 @@ Summary: Convert DVI files to PNG Summary(pl.UTF-8): Konwersja plików DVI do PNG Name: dvipng -Version: 1.13 +Version: 1.17 Release: 1 -License: GPL v2 -Group: Applications/Console +License: LGPL v3 +Group: Applications/Graphics Source0: http://downloads.sourceforge.net/dvipng/%{name}-%{version}.tar.gz -# Source0-md5: da8d062977cbfeb2fb39b81d28d0b7f3 +# Source0-md5: 122fa97e4a8988eb33dda1fb75506b09 Patch0: %{name}-info.patch URL: http://sourceforge.net/projects/dvipng/ -BuildRequires: freetype-devel -BuildRequires: gd-devel +BuildRequires: freetype-devel >= 2.0.1 +BuildRequires: gd-devel >= 2.0.28 BuildRequires: kpathsea-devel +BuildRequires: libpng-devel BuildRequires: texinfo -BuildRequires: texinfo-texi2dvi +BuildRequires: zlib-devel +Requires: freetype >= 2.0.1 +Requires: gd >= 2.0.28 Conflicts: texlive BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -35,7 +38,7 @@ dla osób potrzebujących ciągle generować lub regenerować wiele obrazków. %prep -%setup -q +%setup -q -c %patch0 -p1 %build @@ -51,15 +54,17 @@ rm -rf $RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT -%post -p /sbin/postshell +%post -p /sbin/postshell -/usr/sbin/fix-info-dir -c %{_infodir} -%postun -p /sbin/postshell +%postun -p /sbin/postshell -/usr/sbin/fix-info-dir -c %{_infodir} %files %defattr(644,root,root,755) %doc ChangeLog README RELEASE -%attr(755,root,root) %{_bindir}/* -%{_mandir}/man1/* -%{_infodir}/*.info* +%attr(755,root,root) %{_bindir}/dvigif +%attr(755,root,root) %{_bindir}/dvipng +%{_mandir}/man1/dvigif.1* +%{_mandir}/man1/dvipng.1* +%{_infodir}/dvipng.info*