]> git.pld-linux.org Git - packages/ed.git/blob - ed.spec
- added ed-autoconf.patch which allow "make install
[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:         /sbin/install-info
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 /sbin/install-info %{_infodir}/ed.info.gz /etc/info-dir
67
68 %preun
69 if [ "$1" = "0" ]; then
70         /sbin/install-info --delete %{_infodir}/ed.info.gz /etc/info-dir
71 fi
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/*
83
84 %changelog
85 * Thu Jun 17 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
86   [0.2-15]
87 - added ed-autoconf.patch which allow "make install
88   DESTDIR=</install/prefix>" and fix making red man page as groff include,
89 - more rpm macros.
90
91 * Mon Jun 07 1999 Jan Rêkorajski <baggins@pld.org.pl>
92 - spec cleanup.
93
94 * Thu Apr 22 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
95   [0.2-14]
96 - recompiles on new rpm.
97
98 * Thu Apr  1 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
99   [0.2-13]
100 - removed man group from man pages,
101 - added gzipping %doc,
102 - removed striping binaries (added LDFLAGS="-s" to ./configure env),
103 - added ed-info.patch.
104
105 * Tue Oct 06 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
106   [0.2-6d]
107 - translation modified for pl,
108 - restricted ELF binary permission,
109 - major modifications of the spec file.
110
111 * Thu Jul 23 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
112   [0.2-6]
113 - build against glibc-2.1.
114
115 * Mon Apr 27 1998 Prospector System <bugs@redhat.com>
116 - translations modified for de, fr, tr
117
118 * Fri Oct 17 1997 Donnie Barnes <djb@redhat.com>
119 - added install-info support
120 - added BuildRoot
121 - correct URL in Source line
122
123 * Mon Jun 02 1997 Erik Troan <ewt@redhat.com>
124 - built against glibc
This page took 0.03485 seconds and 4 git commands to generate.