]> git.pld-linux.org Git - packages/enscript.git/blob - enscript.spec
4a4d468c4dd7069030b4b3084cf6ead59ba44153
[packages/enscript.git] / enscript.spec
1 Summary:        Converts plain ASCII to PostScript.
2 Summary(pl):    Konwertuje czyste ASCII do PostScriptu.
3 Name:           enscript
4 Version:        1.6.1
5 Release:        8
6 License:        GNU
7 Group:          Applications/Publishing
8 Group(pl):      Aplikacje/Publikowanie
9 Source0:        ftp://ftp.gnu.org/pub/gnu/%{name}-%{version}.tar.gz
10 Patch0:         enscript-1.6.1-config.patch
11 URL:            http://www.ngs.fi/mtr/genscript/index.html
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13 Obsoletes:      nenscript
14
15 %description
16 Enscript is a print filter. It can take ASCII input and format it into
17 PostScript output. At the same time, it can also do nice
18 transformations like putting two ASCII pages on one physical page
19 (side by side) or changing fonts.
20
21 %description
22 Enscript jest filtrem wykorzystywanym przy drukowaniu. Na wej¶ciu
23 przyjmuje dane ASCII i konwertuje je na PostScript. Potrafi
24 równocze¶nie dokonaæ pewnych u¿ytecznych przekszta³ceñ, jak np.
25 umieszczenie dwóch stron ASCII na jednej stronie fizycznej (obok
26 siebie) czy zmiana czcionki.
27
28 %prep
29 %setup -q
30 %patch -p1
31
32 %build
33 gettextize --copy --force
34 aclocal
35 autoconf
36 %configure \
37         --with-media=A4 \
38         --sysconfdir=%{_sysconfdir}
39 %{__make}
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43
44 %{__make} install DESTDIR=$RPM_BUILD_ROOT
45
46 ln -s enscript $RPM_BUILD_ROOT%{_bindir}/nenscript
47
48 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/* \
49         AUTHORS ChangeLog NEWS README README.ESCAPES THANKS TODO
50
51 %find_lang %{name}
52
53 %clean
54 rm -rf $RPM_BUILD_ROOT
55
56 %files -f %{name}.lang
57 %defattr(644,root,root,755)
58 %doc {AUTHORS,ChangeLog,NEWS,README,README.ESCAPES,THANKS,TODO}.gz FAQ.html
59 %config(noreplace) %{_sysconfdir}/enscript.cfg
60 %attr(755,root,root) %{_bindir}/diffpp
61 %attr(755,root,root) %{_bindir}/sliceprint
62 %attr(755,root,root) %{_bindir}/enscript
63 %attr(755,root,root) %{_bindir}/nenscript
64 %attr(755,root,root) %{_bindir}/mkafmmap
65 %attr(755,root,root) %{_bindir}/states
66 %attr(755,root,root) %{_bindir}/over
67 %dir %{_datadir}/enscript
68 %{_datadir}/enscript/*
69 %{_mandir}/man1/*
This page took 0.020411 seconds and 2 git commands to generate.