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