1 Summary: Text to Postscript filter.
2 Summary(pl): Filtr text/plain do Postscriptu
8 Group(fr): Utilitaires/Texte
9 Group(pl): Narzêdzia/Tekst
10 Source0: ftp://ftp.enst.fr/pub/unix/a2ps/%{name}-%{version}.tar.gz
11 Patch0: a2ps-info.patch
12 Prereq: /sbin/ldconfig
13 URL: http://www.inf.enst.fr/~demaille/a2ps/
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 %define _sysconfdir /etc/a2ps
19 a2ps is a text to PostScript filter with pretty-printing capabilities.
20 It includes support for a wide number of programming languages,
21 encodings (ISO Latins, Cyrillic etc.), medias, and spoken languages
22 (for the interface). It has also the ability to delegate the
23 processing of some files to other applications, letting you print DVI,
24 PostScript etc. with the very same interface.
27 A2ps jest programem pozwalajaj±cym na ³adne drukowanie plików
28 tekstowych w PostScript. Posiada wsparcie dla wielu ró¿nych jêzyków
29 programowania, zestawów znaków (ISO Latins, Cyrilica etc.), wielko¶ci
30 papieru, i jêzyków komunikacji z u¿ytkownikiem. Potrafi tak¿e
31 przekazaæ przetwarzanie plików do innych programów (tak, ¿e mo¿na
32 wszystko drukowaæ (DVI, PostScript) przy u¿yciu tego samego polecenia.
33 Zawiera program ,,ogonkify'' poprawiaj±cy b³êdnie zakodowany
34 PostScript zawieraj±cy polskie znaki.
37 Summary: Header files and development documentation for a2ps
38 Summary(pl): Pliki nag³ówkowe i dokunentacja do a2ps
42 Requires: %{name} = %{version}
45 Header files and development documentation for a2ps.
47 %description devel -l pl
48 Pliki nag³ówkowe i dokumentacja do a2ps.
51 Summary: a2ps static libraries
52 Summary(pl): Biblioteki statyczne do a2ps
56 Requires: %{name}-devel = %{version}
59 a2ps static libraries.
61 %description static -l pl
62 Biblioteki statyczne do a2ps.
65 %setup -q -n %{name}-4.13
69 LDFLAGS="-s"; export LDFLAGS
73 --with-encoding=latin1 \
78 rm -rf $RPM_BUILD_ROOT
80 perl -pe 's/^lispdir = $/lispdir = \$(prefix)\/lib\/emacs\/site-lisp/g' contrib/emacs/Makefile >tmp
82 mv tmp contrib/emacs/Makefile
83 %{__make} install DESTDIR=$RPM_BUILD_ROOT
85 strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.*
87 gzip -9nf $RPM_BUILD_ROOT%{_infodir}/* \
88 $RPM_BUILD_ROOT%{_mandir}/man1/* \
89 AUTHORS ChangeLog NEWS README THANKS
94 rm -rf $RPM_BUILD_ROOT
97 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
101 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
104 %files -f %{name}.lang
105 %defattr(644,root,root,755)
106 %doc {AUTHORS,ChangeLog,NEWS,README,THANKS}.gz
109 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/a2ps.cfg
110 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/a2ps-site.cfg
112 %attr(755,root,root) %{_bindir}/*
113 %attr(755,root,root) %{_libdir}/lib*.so.*.*
115 %{_infodir}/a2ps*info*
116 %{_infodir}/ogonkify*info*
118 %dir %{_datadir}/a2ps/afm
119 %{_datadir}/a2ps/afm/*.afm
120 %{_datadir}/a2ps/afm/*.map
121 %attr(755,root,root) %{_datadir}/a2ps/afm/*.sh
123 %{_datadir}/a2ps/encoding
124 %{_datadir}/a2ps/fonts
127 %{_datadir}/a2ps/sheets
129 %dir %{_datadir}/ogonkify
130 %{_datadir}/ogonkify/*.enc
131 %{_datadir}/ogonkify/*.ps
132 %{_datadir}/ogonkify/afm
133 %{_datadir}/ogonkify/fonts
136 %defattr(644,root,root,755)
137 %attr(755,root,root) %{_libdir}/lib*.la
138 %attr(755,root,root) %{_libdir}/lib*.so
142 %defattr(644,root,root,755)