[9449] | 1 | Summary: A library for editing typed in command lines. |
---|
| 2 | Summary(ja): readline ライブラリ |
---|
| 3 | |
---|
| 4 | Name: readline5 |
---|
| 5 | Version: 5.2 |
---|
| 6 | Release: 6%{?_dist_release} |
---|
| 7 | License: GPLv2 |
---|
| 8 | Group: System Environment/Libraries |
---|
| 9 | URL: http://tiswww.tis.case.edu/~chet/readline/rltop.html |
---|
| 10 | Source: ftp://ftp.gnu.org/gnu/readline/readline-%{version}.tar.gz |
---|
| 11 | |
---|
| 12 | # upstream patches |
---|
| 13 | Patch1: ftp://ftp.gnu.org/gnu/readline/readline-%{version}-patches/readline52-001 |
---|
| 14 | Patch2: ftp://ftp.gnu.org/gnu/readline/readline-%{version}-patches/readline52-002 |
---|
| 15 | Patch3: ftp://ftp.gnu.org/gnu/readline/readline-%{version}-patches/readline52-003 |
---|
| 16 | Patch4: ftp://ftp.gnu.org/gnu/readline/readline-%{version}-patches/readline52-004 |
---|
| 17 | Patch5: ftp://ftp.gnu.org/gnu/readline/readline-%{version}-patches/readline52-005 |
---|
| 18 | Patch6: ftp://ftp.gnu.org/gnu/readline/readline-%{version}-patches/readline52-006 |
---|
| 19 | Patch7: ftp://ftp.gnu.org/gnu/readline/readline-%{version}-patches/readline52-007 |
---|
| 20 | Patch8: ftp://ftp.gnu.org/gnu/readline/readline-%{version}-patches/readline52-008 |
---|
| 21 | Patch9: ftp://ftp.gnu.org/gnu/readline/readline-%{version}-patches/readline52-009 |
---|
| 22 | Patch10: ftp://ftp.gnu.org/gnu/readline/readline-%{version}-patches/readline52-010 |
---|
| 23 | Patch11: ftp://ftp.gnu.org/gnu/readline/readline-%{version}-patches/readline52-011 |
---|
| 24 | Patch12: ftp://ftp.gnu.org/gnu/readline/readline-%{version}-patches/readline52-012 |
---|
| 25 | Patch13: ftp://ftp.gnu.org/gnu/readline/readline-%{version}-patches/readline52-013 |
---|
| 26 | Patch14: ftp://ftp.gnu.org/gnu/readline/readline-%{version}-patches/readline52-014 |
---|
| 27 | |
---|
| 28 | Patch20: readline-5.2-shlib.patch |
---|
| 29 | |
---|
| 30 | Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
| 31 | BuildRequires: sed |
---|
| 32 | BuildRequires: ncurses-devel |
---|
| 33 | Requires(post): /sbin/ldconfig |
---|
| 34 | Requires(postun): /sbin/ldconfig |
---|
| 35 | |
---|
| 36 | Obsoletes: readline < %{version}-%{release} |
---|
| 37 | |
---|
| 38 | Vendor: Project Vine |
---|
| 39 | Distribution: Vine Linux |
---|
| 40 | |
---|
| 41 | %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0} |
---|
| 42 | |
---|
| 43 | %description |
---|
| 44 | The readline library reads a line from the terminal and returns it, |
---|
| 45 | allowing the user to edit the line with standard emacs editing keys. |
---|
| 46 | The readline library allows programmers to provide an easy to use and |
---|
| 47 | more intuitive interface for users. |
---|
| 48 | |
---|
| 49 | If you want to develop programs that will use the readline library, |
---|
| 50 | you'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 |
---|
| 60 | Summary: Files needed to develop programs which use the readline library. |
---|
| 61 | Summary(ja): readline ライブラリを使うプログラムための開発用ライブラリ |
---|
| 62 | Group: Development/Libraries |
---|
| 63 | Requires: readline5 = %{version} |
---|
| 64 | Requires: ncurses-devel |
---|
| 65 | |
---|
| 66 | %description devel |
---|
| 67 | The readline library will read a line from the terminal and return it. |
---|
| 68 | Use of the readline library allows programmers to provide an easy |
---|
| 69 | to use and more intuitive interface for users. |
---|
| 70 | |
---|
| 71 | If you want to develop programs which will use the readline library, |
---|
| 72 | you'll need to have the readline-devel package installed. You'll also |
---|
| 73 | need to have the readline package installed. |
---|
| 74 | %endif |
---|
| 75 | |
---|
| 76 | %package -n compat32-%{name} |
---|
| 77 | Summary: A library for editing typed in command lines. |
---|
| 78 | Summary(ja): readline ライブラリ |
---|
| 79 | Group: System Environment/Libraries |
---|
| 80 | Requires: %{name} = %{version}-%{release} |
---|
| 81 | Obsoletes: compat32-readline < %{version}-%{release} |
---|
| 82 | |
---|
| 83 | %description -n compat32-%{name} |
---|
| 84 | The readline library reads a line from the terminal and returns it, |
---|
| 85 | allowing the user to edit the line with standard emacs editing keys. |
---|
| 86 | The readline library allows programmers to provide an easy to use and |
---|
| 87 | more intuitive interface for users. |
---|
| 88 | |
---|
| 89 | If you want to develop programs that will use the readline library, |
---|
| 90 | you'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 |
---|
| 99 | Summary: Files needed to develop programs which use the readline library. |
---|
| 100 | Summary(ja): readline ライブラリを使うプログラムための開発用ライブラリ |
---|
| 101 | Group: Development/Libraries |
---|
| 102 | Requires: %{name} = %{version}-%{release} |
---|
| 103 | Requires: %{name}-devel = %{version}-%{release} |
---|
| 104 | Requires: compat32-ncurses-devel |
---|
| 105 | |
---|
| 106 | %description -n compat32-%{name}-devel |
---|
| 107 | The readline library will read a line from the terminal and return it. |
---|
| 108 | Use of the readline library allows programmers to provide an easy |
---|
| 109 | to use and more intuitive interface for users. |
---|
| 110 | |
---|
| 111 | If you want to develop programs which will use the readline library, |
---|
| 112 | you'll need to have the readline-devel package installed. You'll also |
---|
| 113 | need 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 |
---|
| 138 | export CPPFLAGS="-I%{_includedir}/ncurses" |
---|
| 139 | %configure |
---|
| 140 | make %{?_smp_mflags} all shared |
---|
| 141 | |
---|
| 142 | |
---|
| 143 | %install |
---|
| 144 | [ "${RPM_BUILD_ROOT}" != "/" ] && %__rm -rf ${RPM_BUILD_ROOT} |
---|
| 145 | mkdir -p ${RPM_BUILD_ROOT}%{_libdir} |
---|
| 146 | |
---|
| 147 | |
---|
| 148 | %makeinstall |
---|
| 149 | |
---|
| 150 | mkdir $RPM_BUILD_ROOT/%{_lib} |
---|
| 151 | mv $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 |
---|
| 158 | rm -rf $RPM_BUILD_ROOT%{_infodir} |
---|
| 159 | rm -rf $RPM_BUILD_ROOT%{_mandir} |
---|
| 160 | rm -rf $RPM_BUILD_ROOT%{_includedir} |
---|
| 161 | rm -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 |
---|