From: kloczek Date: Wed, 7 Mar 2001 19:36:46 +0000 (+0000) Subject: - release 14, X-Git-Tag: a2ps-4_13b-14 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fa2ps.git;a=commitdiff_plain;h=f4c7b40d0e0aa7bc059bafe6329272410b433771 - release 14, - merge rawhide patches (eucjp not included because this makes problem with build a2ps in automake > 1.4 enviroment), - spec adaptrized, - added more fonts (Source1: ftp://ftp.enst.fr/pub/unix/a2ps/i18n-fonts-0.1.tar.gz). Changed files: a2ps.spec -> 1.44 --- diff --git a/a2ps.spec b/a2ps.spec index 1541c24..232e527 100644 --- a/a2ps.spec +++ b/a2ps.spec @@ -2,16 +2,24 @@ Summary: Text to Postscript filter Summary(pl): Filtr text/plain do Postscriptu Name: a2ps Version: 4.13b -Release: 4 +Release: 14 License: GPL Group: Applications/Text Group(de): Applikationen/Text Group(fr): Utilitaires/Texte Group(pl): Aplikacje/Tekst Source0: ftp://ftp.enst.fr/pub/unix/a2ps/%{name}-%{version}.tar.gz +Source1: ftp://ftp.enst.fr/pub/unix/a2ps/i18n-fonts-0.1.tar.gz Patch0: %{name}-info.patch -Prereq: /sbin/ldconfig +Patch1: %{name}-security.patch +Patch2: %{name}-etc.patch +Patch3: %{name}-flex.patch +Patch4: %{name}-conf.patch +Patch5: %{name}-glibcpaper.patch +Patch6: %{name}-autoenc.patch URL: http://www.inf.enst.fr/~demaille/a2ps/ +Prereq: /sbin/ldconfig +Requires: psutils BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %define _sysconfdir /etc/a2ps @@ -39,6 +47,7 @@ Summary: Header files and development documentation for a2ps Summary(pl): Pliki nag³ówkowe i dokunentacja do a2ps Group: Libraries Group(de): Libraries +Group(es): Bibliotecas Group(fr): Librairies Group(pl): Biblioteki Requires: %{name} = %{version} @@ -54,6 +63,7 @@ Summary: a2ps static libraries Summary(pl): Biblioteki statyczne do a2ps Group: Libraries Group(de): Libraries +Group(es): Bibliotecas Group(fr): Librairies Group(pl): Biblioteki Requires: %{name}-devel = %{version} @@ -65,20 +75,27 @@ a2ps static libraries. Biblioteki statyczne do a2ps. %prep -%setup -q -n %{name}-4.13 +%setup -q -n %{name}-4.13 -a 1 %patch0 -p1 +%patch1 -p1 +%patch2 -p1 +%patch3 -p1 +%patch4 -p1 +%patch5 -p1 +%patch6 -p1 %build %configure \ - --sysconfdir=/etc/a2ps \ - --with-gnu-gettext \ - --with-medium=A4 \ + --with-gnu-gettext \ + --with-medium=_glibc \ --with-encoding=latin1 \ - --enable-shared + --enable-shared \ + --enable-kanji %{__make} %install rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT/usr/share/a2ps/{afm,fonts} perl -pe 's/^lispdir = $/lispdir = \$(prefix)\/lib\/emacs\/site-lisp/g' contrib/emacs/Makefile >tmp @@ -88,6 +105,9 @@ mv -f tmp contrib/emacs/Makefile gzip -9nf AUTHORS ChangeLog NEWS README THANKS +install i18n-fonts-0.1/afm/*.afm %{buildroot}/usr/share/a2ps/afm +install i18n-fonts-0.1/fonts/*.pfb %{buildroot}/usr/share/a2ps/fonts + %find_lang %{name} %clean