]> git.pld-linux.org Git - packages/a2ps.git/commitdiff
- added pl.po-update patch auto/ac/a2ps-4_13b-24
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 23 Nov 2003 22:10:40 +0000 (22:10 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- refresh config.* (needed on athlon)
- release 24

Changed files:
    a2ps.spec -> 1.73

a2ps.spec

index 55bf9ac0efa6f3c72adcd3e70082e5476e44fffd..b694801b04b55c42b591efdbcbf3e157a4ea8f33 100644 (file)
--- a/a2ps.spec
+++ b/a2ps.spec
@@ -4,7 +4,7 @@ Summary(pl):    Filtr text/plain do Postscriptu
 Summary(zh_CN):        ´¿Îı¾µ½Postscriptת»»Æ÷
 Name:          a2ps
 Version:       4.13b
-Release:       23
+Release:       24
 License:       GPL
 Group:         Applications/Text
 Source0:       ftp://ftp.enst.fr/pub/unix/a2ps/%{name}-%{version}.tar.gz
@@ -21,9 +21,12 @@ Patch5:              %{name}-glibcpaper.patch
 Patch6:                %{name}-autoenc.patch
 Patch7:                %{name}-i18n.patch
 Patch8:                %{name}-ogonkify-xfig-fix.patch
+Patch9:                %{name}-pl.po-update.patch
 URL:           http://www.inf.enst.fr/~demaille/a2ps/
+BuildRequires: automake
 BuildRequires: flex
-Prereq:                /sbin/ldconfig
+BuildRequires: gettext-devel
+Requires(post,postun): /sbin/ldconfig
 Requires:      psutils
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -72,7 +75,7 @@ a2ps static libraries.
 Biblioteki statyczne do a2ps.
 
 %prep
-%setup  -q -n %{name}-4.13 -a 1
+%setup -q -n %{name}-4.13 -a1
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
@@ -82,8 +85,10 @@ Biblioteki statyczne do a2ps.
 %patch6 -p1
 %patch7 -p1
 %patch8 -p0
+%patch9 -p1
 
 %build
+cp -f /usr/share/automake/config.* auxdir
 %configure2_13 \
        --with-gnu-gettext \
        --with-medium=_glibc  \
@@ -97,9 +102,7 @@ rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_datadir}/a2ps/{afm,fonts} \
        $RPM_BUILD_ROOT%{_mandir}/pl/man1
 
-perl -pe 's/^lispdir = $/lispdir = \$(prefix)\/lib\/emacs\/site-lisp/g' contrib/emacs/Makefile >tmp
-
-mv -f tmp contrib/emacs/Makefile
+%{__perl} -pi -e 's/^lispdir = $/lispdir = \$(prefix)\/lib\/emacs\/site-lisp/g' contrib/emacs/Makefile
 
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
This page took 0.168524 seconds and 4 git commands to generate.