]> git.pld-linux.org Git - packages/a2ps.git/blobdiff - a2ps.spec
- release 4: use rpm new automation suit.
[packages/a2ps.git] / a2ps.spec
index c99fca2adec8f7608dca8c6f3ea336aadb6ea6cf..bb1a09d1a84847bf1ed3de3857b6f414ffd3fd07 100644 (file)
--- a/a2ps.spec
+++ b/a2ps.spec
@@ -1,14 +1,15 @@
-Summary:       Text to Postscript filter.
+Summary:       Text to Postscript filter
 Summary(pl):   Filtr text/plain do  Postscriptu
 Name:          a2ps
 Version:       4.13b
-Release:       2
+Release:       4
 License:       GPL
-Group:         Utilities/Text
+Group:         Applications/Text
+Group(de):     Applikationen/Text
 Group(fr):     Utilitaires/Texte
-Group(pl):     Narzêdzia/Tekst
+Group(pl):     Aplikacje/Tekst
 Source0:       ftp://ftp.enst.fr/pub/unix/a2ps/%{name}-%{version}.tar.gz
-Patch0:                a2ps-info.patch
+Patch0:                %{name}-info.patch
 Prereq:                /sbin/ldconfig
 URL:           http://www.inf.enst.fr/~demaille/a2ps/
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -37,6 +38,7 @@ PostScript zawieraj
 Summary:       Header files and development documentation for a2ps
 Summary(pl):   Pliki nag³ówkowe i dokunentacja do a2ps
 Group:         Libraries
+Group(de):     Libraries
 Group(fr):     Librairies
 Group(pl):     Biblioteki
 Requires:      %{name} = %{version}
@@ -51,6 +53,7 @@ Pliki nag
 Summary:       a2ps static libraries
 Summary(pl):   Biblioteki statyczne do a2ps
 Group:         Libraries
+Group(de):     Libraries
 Group(fr):     Librairies
 Group(pl):     Biblioteki
 Requires:      %{name}-devel = %{version}
@@ -66,7 +69,6 @@ Biblioteki statyczne do a2ps.
 %patch0 -p1
 
 %build
-LDFLAGS="-s"; export LDFLAGS
 %configure \
        --with-gnu-gettext \
        --with-medium=A4  \
@@ -79,14 +81,11 @@ rm -rf $RPM_BUILD_ROOT
 
 perl -pe 's/^lispdir = $/lispdir = \$(prefix)\/lib\/emacs\/site-lisp/g' contrib/emacs/Makefile >tmp
 
-mv tmp contrib/emacs/Makefile
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
+mv -f tmp contrib/emacs/Makefile
 
-strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.*
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
 
-gzip -9nf $RPM_BUILD_ROOT%{_infodir}/* \
-       $RPM_BUILD_ROOT%{_mandir}/man1/* \
-       AUTHORS ChangeLog NEWS README THANKS
+gzip -9nf AUTHORS ChangeLog NEWS README THANKS
 
 %find_lang %{name}
 
This page took 0.03786 seconds and 4 git commands to generate.