]> git.pld-linux.org Git - packages/ed.git/blob - ed.spec
- changed [ -x ... ] && to [ ! -x ... ] ||
[packages/ed.git] / ed.spec
1 Summary:        GNU Line Editor
2 Summary(de):    GNU-Zeileneditor 
3 Summary(fr):    Éditeur ligne de GNU
4 Summary(pl):    GNU edytor liniowy 
5 Summary(tr):    GNU satýr düzenleyici
6 Name:           ed
7 Version:        0.2
8 Release:        17
9 License:        GPL
10 Group:          Applications/Editors
11 Group(pt):      X11/Aplicações/Editores
12 Group(pl):      Aplikacje/Edytory
13 Source0:        ftp://prep.ai.mit.edu/pub/gnu/ed/%{name}-%{version}.tar.gz
14 Patch0:         ed-info.patch
15 Patch1:         ed-autoconf.patch
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %define         _prefix         /usr
19 %define         _exec_prefix    /
20
21 %description
22 This is the GNU line editor. It is an implementation of one of the
23 first editors under *nix. Some programs rely on it, but in general you
24 probably don't *need* it.
25
26 %description -l de
27 Dies ist der GNU-Zeileneditor, eine Implementierung einer der ersten
28 Editoren unter *nix. Manche Programme verlassen sich darauf, i.a.
29 *brauchen* Sie ihn wahrscheinlich nicht.
30
31 %description -l fr
32 Éditeur ligne de GNU. C'est une implantation de l'un des premiers
33 éditeurs d'*nix. Certains programmes en ont besoin, mais en général,
34 vous n'en aurez probablement pas l'utilité.
35
36 %description -l pl
37 Ed jest GNU implementacj± standardowego, pierwszego edytora
38 uniksowego. Czê¶æ starszych programów mo¿e jeszcze z niego korzystaæ,
39 ale wiêkszo¶æ ju¿ prawdopodobnie go nie potrzebuje.
40
41 %description -l tr
42 Bu paket UN*X'in en eski metin düzenleyicilerinden birini
43 içermektedir. Bazý yazýlýmlar hala bu programa gereksinim
44 duymaktadýrlar.
45
46 %prep
47 %setup  -q
48 %patch0 -p1
49 %patch1 -p1
50
51 %build
52 chmod +w configure
53 autoconf
54 LDFLAGS="-s"; export LDFLAGS
55 %configure
56
57 rm -f ed.info
58 make 
59
60 %install
61 rm -rf $RPM_BUILD_ROOT
62 make install DESTDIR=$RPM_BUILD_ROOT
63
64 gzip -9nf $RPM_BUILD_ROOT{%{_mandir}/man1/*,%{_infodir}/*info*} \
65         NEWS POSIX README
66
67 %post
68 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
69
70 %postun
71 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
72
73 %clean
74 rm -rf $RPM_BUILD_ROOT
75
76 %files
77 %defattr(644,root,root,755)
78 %doc *.gz
79 %attr(755,root,root) /bin/*
80
81 %{_infodir}/ed.info.gz
82 %{_mandir}/man1/*
This page took 0.035782 seconds and 4 git commands to generate.