source: projects/specs/branches/6/r/readline/readline-vl.spec @ 3517

Revision 3517, 12.2 KB checked in by iwaim, 13 years ago (diff)

readline 5.2-4

Line 
1Summary: A library for editing typed in command lines.
2Summary(ja): readline ライブラリ
3
4Name: readline
5Version: 5.2
6Release: 4%{?_dist_release}
7License: GPLv2
8Group: System Environment/Libraries
9URL: http://tiswww.tis.case.edu/~chet/readline/rltop.html
10Source: ftp://ftp.gnu.org/gnu/readline/readline-%{version}.tar.gz
11
12# upstream patches
13Patch1: ftp://ftp.gnu.org/gnu/readline/readline-%{version}-patches/readline52-001
14Patch2: ftp://ftp.gnu.org/gnu/readline/readline-%{version}-patches/readline52-002
15Patch3: ftp://ftp.gnu.org/gnu/readline/readline-%{version}-patches/readline52-003
16Patch4: ftp://ftp.gnu.org/gnu/readline/readline-%{version}-patches/readline52-004
17Patch5: ftp://ftp.gnu.org/gnu/readline/readline-%{version}-patches/readline52-005
18Patch6: ftp://ftp.gnu.org/gnu/readline/readline-%{version}-patches/readline52-006
19Patch7: ftp://ftp.gnu.org/gnu/readline/readline-%{version}-patches/readline52-007
20Patch8: ftp://ftp.gnu.org/gnu/readline/readline-%{version}-patches/readline52-008
21Patch9: ftp://ftp.gnu.org/gnu/readline/readline-%{version}-patches/readline52-009
22Patch10: ftp://ftp.gnu.org/gnu/readline/readline-%{version}-patches/readline52-010
23Patch11: ftp://ftp.gnu.org/gnu/readline/readline-%{version}-patches/readline52-011
24Patch12: ftp://ftp.gnu.org/gnu/readline/readline-%{version}-patches/readline52-012
25Patch13: ftp://ftp.gnu.org/gnu/readline/readline-%{version}-patches/readline52-013
26Patch14: ftp://ftp.gnu.org/gnu/readline/readline-%{version}-patches/readline52-014
27
28Patch20: readline-5.2-shlib.patch
29
30Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root
31BuildRequires: sed
32BuildRequires: ncurses-devel
33Requires(post): /sbin/install-info, /sbin/ldconfig
34Requires(preun): /sbin/install-info
35Requires(postun): /sbin/ldconfig
36
37
38Vendor: Project Vine
39Distribution: Vine Linux
40
41%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
42
43%description
44The readline library reads a line from the terminal and returns it,
45allowing the user to edit the line with standard emacs editing keys.
46The readline library allows programmers to provide an easy to use and
47more intuitive interface for users.
48
49If you want to develop programs that will use the readline library,
50you'll also need to install the readline-devel package.
51
52
53%description -l ja
54"readline" ライブラリを用いると、端末から読みこんだ一行を、emacs の標準キー
55と同キーバインディングで編集できるようになります。これをプログラム中で使うと、
56より使いやすいインタフェースをユーザに提供できます。
57
58
59%package devel
60Summary: Files needed to develop programs which use the readline library.
61Summary(ja): readline ライブラリを使うプログラムための開発用ライブラリ
62Group: Development/Libraries
63Requires: readline = %{version}
64Requires: ncurses-devel
65
66%description devel
67The readline library will read a line from the terminal and return it.
68Use of the readline library allows programmers to provide an easy
69to use and more intuitive interface for users.
70
71If you want to develop programs which will use the readline library,
72you'll need to have the readline-devel package installed.  You'll also
73need to have the readline package installed.
74
75
76%package -n compat32-%{name}
77Summary: A library for editing typed in command lines.
78Summary(ja): readline ライブラリ
79Group: System Environment/Libraries
80Requires: %{name} = %{version}-%{release}
81
82%description -n compat32-%{name}
83The readline library reads a line from the terminal and returns it,
84allowing the user to edit the line with standard emacs editing keys.
85The readline library allows programmers to provide an easy to use and
86more intuitive interface for users.
87
88If you want to develop programs that will use the readline library,
89you'll also need to install the readline-devel package.
90
91
92%description -n compat32-%{name} -l ja
93"readline" ライブラリを用いると、端末から読みこんだ一行を、emacs の標準キー
94と同キーバインディングで編集できるようになります。これをプログラム中で使うと、
95より使いやすいインタフェースをユーザに提供できます。
96
97
98%package -n compat32-%{name}-devel
99Summary: Files needed to develop programs which use the readline library.
100Summary(ja): readline ライブラリを使うプログラムための開発用ライブラリ
101Group: Development/Libraries
102Requires: %{name} = %{version}-%{release}
103Requires: %{name}-devel = %{version}-%{release}
104Requires: compat32-ncurses-devel
105
106
107%description -n compat32-%{name}-devel
108The readline library will read a line from the terminal and return it.
109Use of the readline library allows programmers to provide an easy
110to use and more intuitive interface for users.
111
112If you want to develop programs which will use the readline library,
113you'll need to have the readline-devel package installed.  You'll also
114need to have the readline package installed.
115
116
117%prep
118%setup -q
119
120# upstream patches
121%patch1 -p0 -b .001
122%patch2 -p0 -b .002
123%patch3 -p0 -b .003
124%patch4 -p0 -b .004
125%patch5 -p0 -b .005
126%patch6 -p0 -b .006
127%patch7 -p0 -b .007
128%patch8 -p0 -b .008
129%patch9 -p0 -b .009
130%patch10 -p0 -b .010
131%patch11 -p0 -b .011
132%patch12 -p0 -b .012
133%patch13 -p0 -b .013
134%patch14 -p0 -b .014
135
136%patch20 -p1 -b .shlib
137
138%build
139export CPPFLAGS="-I%{_includedir}/ncurses"
140%configure
141make %{?_smp_mflags} all shared
142
143
144%install
145[ "${RPM_BUILD_ROOT}" != "/" ] && %__rm -rf ${RPM_BUILD_ROOT}
146mkdir -p ${RPM_BUILD_ROOT}%{_libdir}
147
148
149%makeinstall
150
151mkdir $RPM_BUILD_ROOT/%{_lib}
152mv $RPM_BUILD_ROOT%{_libdir}/libreadline.so.* $RPM_BUILD_ROOT/%{_lib}
153for l in $RPM_BUILD_ROOT%{_libdir}/libreadline.so; do
154    ln -sf $(echo %{_libdir} | \
155     sed 's,\(^/\|\)[^/][^/]*,..,g')/%{_lib}/$(readlink $l) $l
156done
157
158rm -f $RPM_BUILD_ROOT%{_infodir}/dir
159
160%clean
161[ "${RPM_BUILD_ROOT}" != "/" ] && %__rm -rf ${RPM_BUILD_ROOT}
162
163%post
164/sbin/ldconfig
165/sbin/install-info %{_infodir}/history.info.gz %{_infodir}/dir
166/sbin/install-info %{_infodir}/readline.info.gz %{_infodir}/dir
167
168%postun -p /sbin/ldconfig
169
170%post -n compat32-%{name} -p /sbin/ldconfig
171
172%postun -n compat32-%{name} -p /sbin/ldconfig
173
174%preun
175if [ $1 = 0 ]; then
176   /sbin/install-info --delete %{_infodir}/history.info.gz %{_infodir}/dir
177   /sbin/install-info --delete %{_infodir}/readline.info.gz %{_infodir}/dir
178fi
179
180%files
181%defattr(-,root,root)
182%doc CHANGELOG CHANGES COPYING INSTALL MANIFEST README USAGE
183%doc doc/*.{html,pdf}
184%{_mandir}/man*/*
185%{_infodir}/*.info*
186/%{_lib}/libreadline*.so.*
187%{_libdir}/libhistory*.so.*
188
189
190%files devel
191%defattr(-,root,root)
192%doc examples/
193%{_includedir}/readline
194%{_libdir}/lib*.a
195%{_libdir}/lib*.so
196
197%if %{build_compat32}
198%files -n compat32-%{name}
199%defattr(-,root,root)
200/%{_lib}/libreadline*.so.*
201%{_libdir}/libhistory*.so.*
202
203%files -n compat32-%{name}-devel
204%defattr(-,root,root)
205%{_libdir}/lib*.a
206%{_libdir}/lib*.so
207%endif
208
209%changelog
210* Sun Apr 17 2011 IWAI, Masaharu <iwai@alib.jp> 5.2-4
211- add upstream patches 13,14 (Patch13,14)
212
213* Fri Mar  5 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 5.2-3
214- rebuilt with new toolchain
215- add Requires(post,pre): /sbin/ldconfig
216
217* Tue Aug 19 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 5.2-2vl5
218- build with ncurses-devel
219- spec in utf8
220- move libncurses.so.* to %%_lib from %%_libdir
221
222* Sat Apr 19 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.2-1vl5
223- added upstream patches (patch8-12)
224
225* Fri Oct 19 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.2-0vl1
226- new upstream release
227- update upstream patches (patch1-7)
228
229* Sun Mar 19 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 5.1-0vl1
230- new upstream release
231- update upstream patches (patch1-4)
232- add doc/*.{html,pdf} instead of doc/
233
234* Sun Mar 19 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 4.3-5vl3
235- s/Copyright/License/
236- add URL
237- update source URL
238- add PreReq: ldconfig
239- move outdated.patch (patch1) to patch10
240- add upstream patches (patch1-5)
241- add no_rpath.patch (patch11)
242
243* Fri Oct 28 2005 NAKAMURA Kenta <kenta@c.csce.kyushu-u.ac.jp> 4.3-5vl2
244- added compat32- packages for x86_64 architecture support
245- fixed %files section (TODO* has been removed)
246
247* Sat Mar  8 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 4.3-5vl1
248- new upstream release 4.3
249- merged with rawhide package.
250  * Wed Nov 20 2002 Tim Powers <timp@redhat.com>
251  - rebuild in current collinst
252  - BuildRequires autoconf only
253  * Wed Aug 07 2002 Phil Knirsch <pknirsch@redhat.com> 4.3-3
254  - Fixed Esc-O-M stack overflow bug.
255  * Mon Jul 22 2002 Phil Knirsch <pknirsch@redhat.com> 4.3-1
256  - Updated to latest readline release 4.3
257  * Thu Jul 11 2002 Phil Knirsch <pknirsch@redhat.com> 4.2a-7
258  - Fixed problem with alpha build.
259  * Wed Jul 10 2002 Phil Knirsch <pknirsch@redhat.com>
260  - Fixed utf8 problem (originally observed in bash).
261  * Fri Jun 21 2002 Tim Powers <timp@redhat.com> 4.2a-6
262  - automated rebuild
263  * Thu May 23 2002 Tim Powers <timp@redhat.com> 4.2a-5
264  - automated rebuild
265  * Wed Mar 20 2002 Trond Eivind Glomsrod <teg@redhat.com> 4.2a-4
266  - Use autoconf 2.53, not 2.52
267  * Mon Mar  4 2002 Bernhard Rosenkraenzer <bero@redhat.com> 4.2a-3
268  - Rebuild
269  * Mon Nov 26 2001 Matt Wilson <msw@redhat.com> 4.2a-2
270  - removed the manual symlinking of .so, readline handles this by itself
271  - call only %%makeinstall, not %%makeinstall install install-shared as
272    this makes bogus .old files in the buildroot
273  * Tue Nov 20 2001 Bernhard Rosenkraenzer <bero@redhat.com> 4.2a-1
274  - 4.2a
275  * Tue Oct  2 2001 Bernhard Rosenkraenzer <bero@redhat.com> 4.2-4
276  - Work around autoconf bug
277  * Mon Oct  1 2001 Bernhard Rosenkraenzer <bero@redhat.com> 4.2-3
278  - Don't use readline's internal re-implementation of strpbrk on systems
279    that have strpbrk - the system implementation is faster and better maintained.
280  * Tue Aug  7 2001 Bernhard Rosenkraenzer <bero@redhat.com> 4.2-2
281  - Make sure headers can be included from C++ applications (#51131)
282    (Patch based on Debian's with the bugs removed ;) )
283  * Wed May 09 2001 Florian La Roche <Florian.LaRoche@redhat.de>
284  - update to 4.2 and adapt patches
285  * Fri Apr  6 2001 Nalin Dahyabhai <nalin@redhat.com>
286  - change the paths listed for the header files in the man page to reflect
287    the location changes from previous versions (#35073)
288  - note that "on" is acceptable instead of "On" in the man page (#21327)
289  * Thu Mar  8 2001 Preston Brown <pbrown@redhat.com>
290  - fix reading of end key termcap value (@7 is correct, was kH) (#30884)
291  * Tue Jan 30 2001 Nalin Dahyabhai <nalin@redhat.com>
292  - mark the man page as currently out-of-date (#25294)
293
294* Tue Sep  4 2001 Jun Nishii <jun@vinelinux.org> 4.1-6vl5
295- remove texi2dvi and texi2html from doc/
296
297* Fri Jun 29 2001 Jun Nishii <jun@vinelinux.org> 4.1-6vl4
298- added doc and examples
299
300* Mon Jun 11 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org>
301- 4.1-6vl3
302- rebuilt for VineSeed
303
304* Wed Dec 13 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
305- 4.1-6vl2
306- Oops, spec was written in SJIS...
307
308* Sat Dec  9 2000 Jun Nishii <jun@vinelinux.org>
309- 4.1-6vl1
310- got i18n patch from Kondara
311
312* Thu Sep  7 2000 Jeff Johnson <jbj@redhat.com>
313- FHS packaging (64bit systems need to use libdir).
314
315* Thu Aug 17 2000 Jeff Johnson <jbj@redhat.com>
316- summaries from specspo.
317
318* Wed Aug  2 2000 Florian La Roche <Florian.LaRoche@redhat.com>
319- use "rm -f" in specfile
320
321* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
322- automatic rebuild
323
324* Mon Jun  5 2000 Jeff Johnson <jbj@redhat.com>
325- FHS packaging.
326
327* Tue Mar 21 2000 Bernhard Rosenkraenzer <bero@redhat.com>
328- 4.1
329
330* Thu Feb 03 2000 Nalin Dahyabhai <nalin@redhat.com>
331- update to 4.0
332
333* Fri Apr 09 1999 Michael K. Johnson <johnsonm@redhat.com>
334- added guard patch from Taneli Huuskonen <huuskone@cc.helsinki.fi>
335
336* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
337- auto rebuild in the new build environment (release 4)
338
339* Sun Jul 26 1998 Jeff Johnson <jbj@redhat.com>
340- updated to 2.2.1
341
342* Wed May 06 1998 Prospector System <bugs@redhat.com>
343- translations modified for de, fr, tr
344
345* Wed May 06 1998 Cristian Gafton <gafton@redhat.com>
346- don't package /usr/info/dir
347
348* Thu Apr 30 1998 Cristian Gafton <gafton@redhat.com>
349- devel package moved to Development/Libraries
350
351* Tue Apr 21 1998 Cristian Gafton <gafton@redhat.com>
352- updated to 2.2
353
354* Tue Oct 14 1997 Donnie Barnes <djb@redhat.com>
355- spec file cleanups
356
357* Fri Oct 10 1997 Erik Troan <ewt@redhat.com>
358- added proper sonames
359
360* Tue Jul 08 1997 Erik Troan <ewt@redhat.com>
361- updated to readline 2.1
362
363* Tue Jun 03 1997 Erik Troan <ewt@redhat.com>
364- built against glibc
Note: See TracBrowser for help on using the repository browser.