]> git.pld-linux.org Git - packages/ed.git/blob - ed.spec
- new {un}registering procedure for info pages with using
[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:        15
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 %description
19 This is the GNU line editor.  It is an implementation of one of the first
20 editors under *nix. Some programs rely on it, but in general you probably
21 don't *need* it.
22
23 %description -l de
24 Dies ist der GNU-Zeileneditor, eine Implementierung einer der ersten
25 Editoren unter *nix. Manche Programme verlassen sich darauf, i.a. *brauchen*
26 Sie ihn wahrscheinlich nicht.
27
28 %description -l fr
29 Éditeur ligne de GNU. C'est une implantation de l'un des premiers éditeurs
30 d'*nix. Certains programmes en ont besoin, mais en général, vous n'en aurez
31 probablement pas l'utilité.
32
33 %description -l pl
34 Ed jest GNU implementacj± standardowego, pierwszego unixowego edytora.
35 Czê¶æ starszych programów mo¿e jeszcze korzystaæ z niego ale wiêkszo¶æ
36 ju¿ prawdopodobnie nie potrzebuje ed.
37
38 %description -l tr
39 Bu paket UN*X'in en eski metin düzenleyicilerinden birini içermektedir. Bazý
40 yazýlýmlar hala bu programa gereksinim duymaktadýrlar.
41
42 %prep
43 %setup  -q
44 %patch0 -p1
45 %patch1 -p1
46
47 %build
48 chmod +w configure
49 autoconf
50 CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
51 ./configure %{_target_platform} \
52         --prefix=/usr \
53         --exec-prefix=/
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 /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
67
68 %preun
69 /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.111498 seconds and 3 git commands to generate.