X-Git-Url: https://git.pld-linux.org/?a=blobdiff_plain;f=a2ps.spec;h=59aaa135ab698504a9911ee5b9ee200940454246;hb=c7b7616ca8e4f5e723e5d0cdef61678385c93e59;hp=99602c94437d0e4114f9cb73213269e315484de0;hpb=ce89659f82c6794b461f2361e8e9793011e58d14;p=packages%2Fa2ps.git diff --git a/a2ps.spec b/a2ps.spec index 99602c9..59aaa13 100644 --- a/a2ps.spec +++ b/a2ps.spec @@ -1,14 +1,13 @@ Summary: Text to Postscript filter. Summary(pl): Filtr text/plain do Postscriptu Name: a2ps -Version: 4.12h -Release: 2 +Version: 4.13b +Release: 1 License: GPL Group: Utilities/Text Group(pl): Narzêdzia/Tekst -Source: ftp://ftp.enst.fr/pub/unix/a2ps/%{name}-%{version}.tgz +Source: ftp://ftp.enst.fr/pub/unix/a2ps/%{name}-%{version}.tar.gz Patch0: a2ps-info.patch -Prereq: /usr/sbin/fix-info-dir Prereq: /sbin/ldconfig URL: http://www.inf.enst.fr/~demaille/a2ps/ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -59,7 +58,7 @@ a2ps static libraries. Biblioteki statyczne do a2ps. %prep -%setup -q +%setup -q -n %{name}-4.13 %patch0 -p1 %build @@ -91,11 +90,11 @@ gzip -9nf $RPM_BUILD_ROOT%{_infodir}/* \ rm -rf $RPM_BUILD_ROOT %post -/usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1 +[ -x /usr/sbin/fix-info-dir ] && /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1 /sbin/ldconfig %postun -/usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1 +[ -x /usr/sbin/fix-info-dir ] && /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1 /sbin/ldconfig %files -f %{name}.lang