]> git.pld-linux.org Git - packages/ed.git/blob - ed.spec
[0.2-13]
[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:        13
9 Copyright:      GPL
10 Group:          Applications/Editors
11 Group(pl):      Aplikacje/Edytory
12 Source:         ftp://prep.ai.mit.edu/pub/gnu/%{name}-%{version}.tar.gz
13 Patch:          ed-info.patch
14 Prereq:         /sbin/install-info
15 Buildroot:      /tmp/%{name}-%{version}-root
16
17 %description
18 This is the GNU line editor.  It is an implementation of one of the first
19 editors under *nix. Some programs rely on it, but in general you probably
20 don't *need* it.
21
22 %description -l de
23 Dies ist der GNU-Zeileneditor, eine Implementierung einer der ersten
24 Editoren unter *nix. Manche Programme verlassen sich darauf, i.a. *brauchen*
25 Sie ihn wahrscheinlich nicht.
26
27 %description -l fr
28 Éditeur ligne de GNU. C'est une implantation de l'un des premiers éditeurs
29 d'*nix. Certains programmes en ont besoin, mais en général, vous n'en aurez
30 probablement pas l'utilité.
31
32 %description -l pl
33 Ed jest GNU implementacj± standardowego, pierwszego unixowego edytora.
34 Czê¶æ starszych programów mo¿e jeszcze korzystaæ z niego ale wiêkszo¶æ
35 ju¿ prawdopodobnie nie potrzebuje ed.
36
37 %description -l tr
38 Bu paket UN*X'in en eski metin düzenleyicilerinden birini içermektedir. Bazý
39 yazýlýmlar hala bu programa gereksinim duymaktadýrlar.
40
41 %prep
42 %setup -q
43 %patch -p1
44
45 %build
46 CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
47 ./configure \
48         --prefix=/usr \
49         --exec-prefix=/
50
51 rm -f ed.info
52 make 
53
54 %install
55 make prefix=$RPM_BUILD_ROOT/usr \
56     exec_prefix=$RPM_BUILD_ROOT install
57
58 rm -f $RPM_BUILD_ROOT/usr/man/man1/red.1
59 echo .so ed.1 > $RPM_BUILD_ROOT/usr/man/man1/red.1
60
61 gzip -9nf $RPM_BUILD_ROOT/usr/{man/man1/*,info/*info*} \
62         NEWS POSIX README
63
64 %post
65 /sbin/install-info /usr/info/ed.info.gz /etc/info-dir
66
67 %preun
68 if [ "$1" = "0" ]; then
69         /sbin/install-info --delete /usr/info/ed.info.gz /etc/info-dir
70 fi
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 /usr/info/ed.info.gz
81 /usr/man/man1/*
82
83 %changelog
84 * Thu Apr  1 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
85   [0.2-13]
86 - removed man group from man pages,
87 - added gzipping %doc,
88 - removed striping binaries (added LDFLAGS="-s" to ./configure env),
89 - added ed-info.patch.
90
91 * Tue Oct 06 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
92   [0.2-6d]
93 - translation modified for pl,
94 - restricted ELF binary permission,
95 - major modifications of the spec file.
96
97 * Thu Jul 23 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
98   [0.2-6]
99 - build against glibc-2.1.
100
101 * Mon Apr 27 1998 Prospector System <bugs@redhat.com>
102 - translations modified for de, fr, tr
103
104 * Fri Oct 17 1997 Donnie Barnes <djb@redhat.com>
105 - added install-info support
106 - added BuildRoot
107 - correct URL in Source line
108
109 * Mon Jun 02 1997 Erik Troan <ewt@redhat.com>
110 - built against glibc
This page took 0.068672 seconds and 4 git commands to generate.