info a2ps.spec

ziembor@FAQ-bot.ZiemBor.Waw.PL ziembor w FAQ-bot.ZiemBor.Waw.PL
Pon, 28 Wrz 1998, 12:12:45 CEST


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


-------------- następna część ---------
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 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
 - 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 w osb.hu>
 - BuildRoot spec correction 


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