a2ps.spec

Ziemek Borowski ziembor w FAQ-bot.ZiemBor.Waw.PL
Wto, 8 Wrz 1998, 21:29:51 CEST


Summary: Text to Postscript filter.
Summary(pl): Filtr text/plain do  Postscriptu
Name: a2ps
Version: 4.10.3
Release: 3
Copyright: GPL
Group: Utilities/Text
Source: ftp://ftp.enst.fr/pub/unix/a2ps/%{name}-%{version}.tar.gz 
Url: http://www.inf.enst.fr/~demaille/a2ps/
Vendor: Akim Demaille 
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-root

%package static 
Summary: a2ps static libraries
Summary(pl): Biblioteki statyczne do a2ps
Group:       Libraries


%description
a2ps is a text to PostScript filter with pretty-printing capabilities.
It includes support for a wide number of programming languages,
encodings (ISO Latins, Cyrillic etc.), medias, and spoken languages
(for the interface).
It has also the ability to delegate the processing of some files to
other applications, letting you print DVI, PostScript etc. with the
very same interface.
 

%description -l pl 
  a2ps jest programem pozwalajającym na ładne drukowanie plików 
tekstowych w PostScript. 
  Posiada wsparcie dla wielu różnych języków programowania, 
zestawów znaków (ISO Latins, Cyrilica etc.), wielkości papieru, 
i języków komunikacji z użytkownikiem. 
  Potrafi także przekazać przetwarzanie plików do innych programów (tak, 
że można wszystko drukować (DVI, PostScript) przy użyciu tego samego 
polecenia.  
  Zawiera program ,,ogonkify'' poprawiający błędnie zakodowany PostScript 
zawierający polskie znaki. 

%description static 
a2ps static libraries

a2ps is a text to PostScript filter with pretty-printing capabilities.
It includes support for a wide number of programming languages,
encodings (ISO Latins, Cyrillic etc.), medias, and spoken languages
(for the interface).
It has also the ability to delegate the processing of some files to
other applications, letting you print DVI, PostScript etc. with the
very same interface.


%description static -l pl
  Biblioteki statyczne do a2ps
  a2ps jest programem pozwalajającym na ładne drukowanie plików
tekstowych w PostScript.
  Posiada wsparcie dla wielu różnych języków programowania,
zestawów znaków (ISO Latins, Cyrilica etc.), wielkości papieru,
i języków komunikacji z użytkownikiem.
  Potrafi także przekazaľ przetwarzanie plików do innych programów (tak,
że można wszystko drukowaľ (DVI, PostScript) przy użyciu tego samego
polecenia.
  Zawiera program ,,ogonkify'' poprawiający błędnie zakodowany PostScript
zawierający polskie znaki.


%prep
%setup -q 

%build

CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" ./configure --with-included-gettext --prefix=/usr --sysconfdir=/etc   --with-medium=A4  --with-encoding=latin2


make

%install
rm -rf $RPM_BUILD_ROOT

make prefix=$RPM_BUILD_ROOT/usr sysconfdir=$RPM_BUILD_ROOT/etc install
gzip -9nf $RPM_BUILD_ROOT/usr/info/*

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(644, root, root, 755)
%config /etc/a2ps.cfg
%doc AUTHORS ChangeLog COPYING NEWS README TODO THANKS
%attr(711, root, root) /usr/bin/a2ps 
%attr(711, root, root) /usr/bin/fixnt
%attr(755, root, root) /usr/bin/compose
%attr(755, root, root) /usr/bin/ogonkify
%attr(755, root, root) /usr/bin/card 
%attr(755, root, root) /usr/bin/fixps 
%attr(755, root, root) /usr/bin/pdiff
%attr(755, root, root) /usr/bin/psmandup
%attr(755, root, root) /usr/bin/texi2dvi4a2ps
%attr(0755, root, root) /usr/lib/*so* 
%attr(0644, root, root) /usr/lib/*la
/usr/include/*
/usr/info/*
/usr/man/man1/*
/usr/share/a2ps/*
%lang(ca) /usr/share/locale/ca/LC_MESSAGES/a2ps.mo
%lang(cs) /usr/share/locale/cs/LC_MESSAGES/a2ps.mo
%lang(da) /usr/share/locale/da/LC_MESSAGES/a2ps.mo
%lang(de) /usr/share/locale/de/LC_MESSAGES/a2ps.mo
%lang(es) /usr/share/locale/es/LC_MESSAGES/a2ps.mo
%lang(fr) /usr/share/locale/fr/LC_MESSAGES/a2ps.mo
%lang(it) /usr/share/locale/it/LC_MESSAGES/a2ps.mo
%lang(ko) /usr/share/locale/ko/LC_MESSAGES/a2ps.mo
%lang(nl) /usr/share/locale/nl/LC_MESSAGES/a2ps.mo
%lang(pl) /usr/share/locale/pl/LC_MESSAGES/a2ps.mo
%lang(pt) /usr/share/locale/pt/LC_MESSAGES/a2ps.mo
%lang(ru) /usr/share/locale/ru/LC_MESSAGES/a2ps.mo
%lang(sl) /usr/share/locale/sl/LC_MESSAGES/a2ps.mo
%lang(sv) /usr/share/locale/sv/LC_MESSAGES/a2ps.mo
%lang(tr) /usr/share/locale/tr/LC_MESSAGES/a2ps.mo

%files static
%attr(0644, root, root) /usr/lib/*.a


%changelog
* Mon Sep 07 1998 Ziemek Borowski <ziembor w faq-bot.ziembor.waw.pl>
[4.10.3-3]
 - based on Akim Demaille <demaille w inf.enst.fr> and 
 Dave Whitinger <dave w whitinger.net> specs 
 - added lang tag 
 - added pl spec translation
 - restricted permission for files (711 for ELF binaries, 755 for scripts) 
 - default medium == A4
 - default encoding == latin2 



Więcej informacji o liście dyskusyjnej pld-devel-pl