source: projects/specs/trunk/r/readline5/readline5-vl.spec @ 9449

Revision 9449, 12.4 KB checked in by inagaki, 9 years ago (diff)

2015-03-21 Ryoichi INAGAKI <ryo1@…>

readline5: NEW (prepare for replacing readline 6.3)


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