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: %{name}-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
72 --with-encoding=latin1 \
77 rm -rf $RPM_BUILD_ROOT
79 perl -pe 's/^lispdir = $/lispdir = \$(prefix)\/lib\/emacs\/site-lisp/g' contrib/emacs/Makefile >tmp
81 mv -f tmp contrib/emacs/Makefile
82 %{__make} install DESTDIR=$RPM_BUILD_ROOT
84 strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.*
86 gzip -9nf $RPM_BUILD_ROOT%{_infodir}/* \
87 $RPM_BUILD_ROOT%{_mandir}/man1/* \
88 AUTHORS ChangeLog NEWS README THANKS
93 rm -rf $RPM_BUILD_ROOT
96 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
100 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
103 %files -f %{name}.lang
104 %defattr(644,root,root,755)
105 %doc {AUTHORS,ChangeLog,NEWS,README,THANKS}.gz
108 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/a2ps.cfg
109 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/a2ps-site.cfg
111 %attr(755,root,root) %{_bindir}/*
112 %attr(755,root,root) %{_libdir}/lib*.so.*.*
114 %{_infodir}/a2ps*info*
115 %{_infodir}/ogonkify*info*
117 %dir %{_datadir}/a2ps/afm
118 %{_datadir}/a2ps/afm/*.afm
119 %{_datadir}/a2ps/afm/*.map
120 %attr(755,root,root) %{_datadir}/a2ps/afm/*.sh
122 %{_datadir}/a2ps/encoding
123 %{_datadir}/a2ps/fonts
126 %{_datadir}/a2ps/sheets
128 %dir %{_datadir}/ogonkify
129 %{_datadir}/ogonkify/*.enc
130 %{_datadir}/ogonkify/*.ps
131 %{_datadir}/ogonkify/afm
132 %{_datadir}/ogonkify/fonts
135 %defattr(644,root,root,755)
136 %attr(755,root,root) %{_libdir}/lib*.la
137 %attr(755,root,root) %{_libdir}/lib*.so
141 %defattr(644,root,root,755)