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