]> git.pld-linux.org Git - packages/ed.git/blob - ed.spec
- release 17,
[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 Prereq:         /usr/sbin/fix-info-dir
16 Buildroot:      /tmp/%{name}-%{version}-root
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 first
23 editors under *nix. Some programs rely on it, but in general you probably
24 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. *brauchen*
29 Sie ihn wahrscheinlich nicht.
30
31 %description -l fr
32 Éditeur ligne de GNU. C'est une implantation de l'un des premiers éditeurs
33 d'*nix. Certains programmes en ont besoin, mais en général, vous n'en aurez
34 probablement pas l'utilité.
35
36 %description -l pl
37 Ed jest GNU implementacj± standardowego, pierwszego unixowego edytora.
38 Czê¶æ starszych programów mo¿e jeszcze korzystaæ z niego ale wiêkszo¶æ
39 ju¿ prawdopodobnie nie potrzebuje ed.
40
41 %description -l tr
42 Bu paket UN*X'in en eski metin düzenleyicilerinden birini içermektedir. Bazý
43 yazýlýmlar hala bu programa gereksinim duymaktadýrlar.
44
45 %prep
46 %setup  -q
47 %patch0 -p1
48 %patch1 -p1
49
50 %build
51 chmod +w configure
52 autoconf
53 LDFLAGS="-s"; export LDFLAGS
54 %configure
55
56 rm -f ed.info
57 make 
58
59 %install
60 rm -rf $RPM_BUILD_ROOT
61 make install DESTDIR=$RPM_BUILD_ROOT
62
63 gzip -9nf $RPM_BUILD_ROOT{%{_mandir}/man1/*,%{_infodir}/*info*} \
64         NEWS POSIX README
65
66 %post
67 /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
68
69 %postun
70 /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
71
72 %clean
73 rm -rf $RPM_BUILD_ROOT
74
75 %files
76 %defattr(644,root,root,755)
77 %doc *.gz
78 %attr(755,root,root) /bin/*
79
80 %{_infodir}/ed.info.gz
81 %{_mandir}/man1/*
This page took 0.040828 seconds and 4 git commands to generate.