]> git.pld-linux.org Git - packages/a2ps.git/blobdiff - a2ps.spec
- removed Prereq: /usr/sbin/fix-info-dir
[packages/a2ps.git] / a2ps.spec
index 99602c94437d0e4114f9cb73213269e315484de0..59aaa135ab698504a9911ee5b9ee200940454246 100644 (file)
--- 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
This page took 0.097443 seconds and 4 git commands to generate.