info a2ps.spec

ziembor at FAQ-bot.ZiemBor.Waw.PL ziembor at FAQ-bot.ZiemBor.Waw.PL
Mon Sep 28 12:12:45 CEST 1998


poprawiony... binaria i src.rpm ida na magellana (nie mam teraz dostepu do
cenzora) 
Problem: czy warto wyodrebniac binarny pakiet ogonkify (i wtedy zamiast
provides: ogonify dawac requies: ogonkify (najbardziej przeraza mnie 
w tym testowanie czy po rozdzieleniu dziala czy nie). 


-------------- next part --------------
Summary: Text to Postscript filter.
Summary(pl): Filtr text/plain do  Postscriptu
Name: a2ps
Version: 4.10.4
Release: 3
Copyright: GPL
Group: Utilities/Text
Source: ftp://ftp.enst.fr/pub/unix/a2ps/%{name}-%{version}.tar.bz2
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 static 
a2ps static libraries

%description static -l pl
Biblioteki statyczne do a2ps


%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. 

%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
perl -pe 's/^lispdir = $/lispdir = {prefix}\/lib/g' contrib/emacs/Makefile > tmp
mv tmp contrib/emacs/Makefile
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(noreplace) %verify(not size mtime md5) /etc/a2ps.cfg
%doc AUTHORS ChangeLog NEWS README TODO THANKS
%attr(711, root, root) /usr/bin/a2ps 
%attr(711, root, root) /usr/bin/fixnt
%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(755, root, root) /usr/lib/*so* 
%attr(644, root, root) /usr/lib/*la
/usr/include/*
%doc /usr/info/*
%doc /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 at faq-bot.ziembor.waw.pl>
[4.10.3-3]
 - based on Akim Demaille <demaille at inf.enst.fr> and 
 Dave Whitinger <dave at whitinger.net> specs 
 - added lang tag 
 - added pl spec translation
 - more detailed %files 
 - restricted permission for files (711 for ELF binaries, 755 for scripts) 
 - default medium == A4
 - default encoding == latin2 
* Mon Aug 07 1998 Soos Peter <sp at osb.hu>
 - BuildRoot spec correction 


More information about the pld-devel-pl mailing list