]> git.pld-linux.org Git - packages/a2ps.git/commitdiff
- release 14, a2ps-4_13b-14
authorkloczek <kloczek@pld-linux.org>
Wed, 7 Mar 2001 19:36:46 +0000 (19:36 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- 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

a2ps.spec

index 1541c2460dae5b044cb71b960c1374aa82d77d81..232e527e530fdae5bd242a07d792988e7122bdd5 100644 (file)
--- 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
This page took 0.120134 seconds and 4 git commands to generate.