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