]> git.pld-linux.org Git - packages/enscript.git/blob - enscript.spec
- BR: texinfo
[packages/enscript.git] / enscript.spec
1 Summary:        Converts plain ASCII to PostScript
2 Summary(es):    Convierte texto ASCII a postscript
3 Summary(pl):    Konwertuje czyste ASCII do PostScriptu
4 Summary(pt_BR): Converte texto ASCII para postscript
5 Name:           enscript
6 Version:        1.6.4
7 Release:        1
8 License:        GPL
9 Group:          Applications/Publishing
10 Source0:        http://www.iki.fi/mtr/genscript/%{name}-%{version}.tar.gz
11 # Source0-md5:  b5174b59e4a050fb462af5dbf28ebba3
12 Patch0:         %{name}-ac_fixes.patch
13 Patch1:         %{name}-am_fixes.patch
14 Patch2:         %{name}-mail.patch
15 Patch3:         %{name}-debian.patch
16 Patch4:         %{name}-info.patch
17 URL:            http://www.iki.fi/mtr/genscript/
18 BuildRequires:  autoconf >= 2.57
19 BuildRequires:  automake
20 BuildRequires:  gettext-devel
21 BuildRequires:  texinfo
22 Obsoletes:      nenscript
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %description
26 Enscript is a print filter. It can take ASCII input and format it into
27 PostScript output. At the same time, it can also do nice
28 transformations like putting two ASCII pages on one physical page
29 (side by side) or changing fonts.
30
31 %description -l es
32 Convierte texto ASCII a postscript.
33
34 %description -l pl
35 Enscript jest filtrem wykorzystywanym przy drukowaniu. Na wej¶ciu
36 przyjmuje dane ASCII i konwertuje je na PostScript. Potrafi
37 równocze¶nie dokonaæ pewnych u¿ytecznych przekszta³ceñ, jak np.
38 umieszczenie dwóch stron ASCII na jednej stronie fizycznej (obok
39 siebie) czy zmiana czcionki.
40
41 %description -l pt_BR
42 O enscript é um filtro de impressão. Ele pega texto ascii e o formata
43 em postscript. Além disto, ele pode também fazer várias
44 transformações, como por exemplo colocar duas páginas ascii em uma
45 página física (lado a lado) ou modificar as fontes do texto.
46
47 %prep
48 %setup -q
49 %patch0 -p1
50 %patch1 -p1
51 %patch2 -p1
52 %patch3 -p1
53 %patch4 -p1
54
55 %build
56 %{__gettextize}
57 %{__aclocal}
58 %{__autoheader}
59 %{__autoconf}
60 %{__automake}
61 %configure \
62         --with-media=A4 \
63         --sysconfdir=%{_sysconfdir}
64 %{__make}
65
66 %install
67 rm -rf $RPM_BUILD_ROOT
68
69 %{__make} install \
70         DESTDIR=$RPM_BUILD_ROOT
71
72 ln -sf enscript $RPM_BUILD_ROOT%{_bindir}/nenscript
73
74 %find_lang %{name}
75
76 %clean
77 rm -rf $RPM_BUILD_ROOT
78
79 %post
80 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
81
82 %postun
83 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
84
85 %files -f %{name}.lang
86 %defattr(644,root,root,755)
87 %doc AUTHORS ChangeLog NEWS README README.ESCAPES THANKS TODO docs/FAQ.html
88 %config(noreplace) %{_sysconfdir}/enscript.cfg
89 %attr(755,root,root) %{_bindir}/diffpp
90 %attr(755,root,root) %{_bindir}/sliceprint
91 %attr(755,root,root) %{_bindir}/enscript
92 %attr(755,root,root) %{_bindir}/nenscript
93 %attr(755,root,root) %{_bindir}/mkafmmap
94 %attr(755,root,root) %{_bindir}/states
95 %attr(755,root,root) %{_bindir}/over
96 %{_datadir}/enscript
97 %{_mandir}/man1/*
98 %{_infodir}/*.info*
This page took 0.026529 seconds and 3 git commands to generate.