|
@@ -1,31 +1,30 @@
|
|
Summary: A library for editing typed in command lines.
|
|
Summary: A library for editing typed in command lines.
|
|
-Summary(ja): readline ライブラリ
|
|
+Summary(ja): Readline ライブラリ
|
|
|
|
|
|
Name: readline
|
|
Name: readline
|
|
-Version: 5.2
|
|
+Version: 6.3
|
|
-Release: 5%{?_dist_release}
|
|
+Release: 1%{?_dist_release}
|
|
-License: GPLv2
|
|
+License: GPLv3+
|
|
Group: System Environment/Libraries
|
|
Group: System Environment/Libraries
|
|
URL: http://tiswww.tis.case.edu/~chet/readline/rltop.html
|
|
URL: http://tiswww.tis.case.edu/~chet/readline/rltop.html
|
|
Source: ftp://ftp.gnu.org/gnu/readline/readline-%{version}.tar.gz
|
|
Source: ftp://ftp.gnu.org/gnu/readline/readline-%{version}.tar.gz
|
|
|
|
|
|
# upstream patches
|
|
# upstream patches
|
|
-Patch1: ftp://ftp.gnu.org/gnu/readline/readline-%{version}-patches/readline52-001
|
|
+Patch1: ftp://ftp.gnu.org/gnu/readline/readline-%{version}-patches/readline63-001
|
|
-Patch2: ftp://ftp.gnu.org/gnu/readline/readline-%{version}-patches/readline52-002
|
|
+Patch2: ftp://ftp.gnu.org/gnu/readline/readline-%{version}-patches/readline63-002
|
|
-Patch3: ftp://ftp.gnu.org/gnu/readline/readline-%{version}-patches/readline52-003
|
|
+Patch3: ftp://ftp.gnu.org/gnu/readline/readline-%{version}-patches/readline63-003
|
|
-Patch4: ftp://ftp.gnu.org/gnu/readline/readline-%{version}-patches/readline52-004
|
|
+Patch4: ftp://ftp.gnu.org/gnu/readline/readline-%{version}-patches/readline63-004
|
|
-Patch5: ftp://ftp.gnu.org/gnu/readline/readline-%{version}-patches/readline52-005
|
|
+Patch5: ftp://ftp.gnu.org/gnu/readline/readline-%{version}-patches/readline63-005
|
|
-Patch6: ftp://ftp.gnu.org/gnu/readline/readline-%{version}-patches/readline52-006
|
|
+Patch6: ftp://ftp.gnu.org/gnu/readline/readline-%{version}-patches/readline63-006
|
|
-Patch7: ftp://ftp.gnu.org/gnu/readline/readline-%{version}-patches/readline52-007
|
|
+Patch7: ftp://ftp.gnu.org/gnu/readline/readline-%{version}-patches/readline63-007
|
|
-Patch8: ftp://ftp.gnu.org/gnu/readline/readline-%{version}-patches/readline52-008
|
|
+Patch8: ftp://ftp.gnu.org/gnu/readline/readline-%{version}-patches/readline63-008
|
|
-Patch9: ftp://ftp.gnu.org/gnu/readline/readline-%{version}-patches/readline52-009
|
|
+
|
|
-Patch10: ftp://ftp.gnu.org/gnu/readline/readline-%{version}-patches/readline52-010
|
|
+# add workaround for problem in gdb
|
|
-Patch11: ftp://ftp.gnu.org/gnu/readline/readline-%{version}-patches/readline52-011
|
|
+# in new version of readline needs to be deleted
|
|
-Patch12: ftp://ftp.gnu.org/gnu/readline/readline-%{version}-patches/readline52-012
|
|
+# bz701131
|
|
-Patch13: ftp://ftp.gnu.org/gnu/readline/readline-%{version}-patches/readline52-013
|
|
+Patch9: readline-6.2-gdb.patch
|
|
-Patch14: ftp://ftp.gnu.org/gnu/readline/readline-%{version}-patches/readline52-014
|
|
+# fix file permissions, remove RPATH, use CFLAGS
|
|
-
|
|
+Patch10: readline-6.2-shlib.patch
|
|
-Patch20: readline-5.2-shlib.patch
|
|
|
|
|
|
|
|
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
BuildRequires: sed
|
|
BuildRequires: sed
|
|
@@ -34,85 +33,70 @@ Requires(post): /sbin/install-info, /sbin/ldconfig
|
|
Requires(preun): /sbin/install-info
|
|
Requires(preun): /sbin/install-info
|
|
Requires(postun): /sbin/ldconfig
|
|
Requires(postun): /sbin/ldconfig
|
|
|
|
|
|
-
|
|
|
|
Vendor: Project Vine
|
|
Vendor: Project Vine
|
|
Distribution: Vine Linux
|
|
Distribution: Vine Linux
|
|
|
|
|
|
%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
|
|
%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
|
|
|
|
|
|
%description
|
|
%description
|
|
-The readline library reads a line from the terminal and returns it,
|
|
+The Readline library provides a set of functions that allow users to
|
|
-allowing the user to edit the line with standard emacs editing keys.
|
|
+edit command lines. Both Emacs and vi editing modes are available. The
|
|
-The readline library allows programmers to provide an easy to use and
|
|
+Readline library includes additional functions for maintaining a list
|
|
-more intuitive interface for users.
|
|
+of previously-entered command lines for recalling or editing those
|
|
-
|
|
+lines, and for performing csh-like history expansion on previous
|
|
-If you want to develop programs that will use the readline library,
|
|
+commands.
|
|
-you'll also need to install the readline-devel package.
|
|
|
|
-
|
|
|
|
|
|
|
|
%description -l ja
|
|
%description -l ja
|
|
-"readline" ライブラリを用いると、端末から読みこんだ一行を、emacs の標準キー
|
|
+Readline ライブラリは、ユーザーがコマンドラインを編集する機能を提供します。
|
|
-と同キーバインディングで編集できるようになります。これをプログラム中で使うと、
|
|
+Emacs と vi の編集モードが利用可能です。Readline ライブラリはさらに、
|
|
-より使いやすいインタフェースをユーザに提供できます。
|
|
+これまで入力されたコマンドライン履歴を保持し、再利用する機能も備えています。
|
|
-
|
|
|
|
|
|
|
|
%package devel
|
|
%package devel
|
|
Summary: Files needed to develop programs which use the readline library.
|
|
Summary: Files needed to develop programs which use the readline library.
|
|
-Summary(ja): readline ライブラリを使うプログラムための開発用ライブラリ
|
|
+Summary(ja): Readline ライブラリを使うプログラムための開発用ライブラリ
|
|
Group: Development/Libraries
|
|
Group: Development/Libraries
|
|
Requires: readline = %{version}
|
|
Requires: readline = %{version}
|
|
Requires: ncurses-devel
|
|
Requires: ncurses-devel
|
|
|
|
|
|
%description devel
|
|
%description devel
|
|
-The readline library will read a line from the terminal and return it.
|
|
+The Readline library provides a set of functions that allow users to
|
|
-Use of the readline library allows programmers to provide an easy
|
|
+edit typed command lines. If you want to develop programs that will
|
|
-to use and more intuitive interface for users.
|
|
+use the readline library, you need to have the readline-devel package
|
|
-
|
|
+installed. You also need to have the readline package installed.
|
|
-If you want to develop programs which will use the readline library,
|
|
|
|
-you'll need to have the readline-devel package installed. You'll also
|
|
|
|
-need to have the readline package installed.
|
|
|
|
|
|
|
|
|
|
|
|
%package -n compat32-%{name}
|
|
%package -n compat32-%{name}
|
|
Summary: A library for editing typed in command lines.
|
|
Summary: A library for editing typed in command lines.
|
|
-Summary(ja): readline ライブラリ
|
|
+Summary(ja): Readline ライブラリ
|
|
Group: System Environment/Libraries
|
|
Group: System Environment/Libraries
|
|
Requires: %{name} = %{version}-%{release}
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
%description -n compat32-%{name}
|
|
%description -n compat32-%{name}
|
|
-The readline library reads a line from the terminal and returns it,
|
|
+The Readline library provides a set of functions that allow users to
|
|
-allowing the user to edit the line with standard emacs editing keys.
|
|
+edit command lines. Both Emacs and vi editing modes are available. The
|
|
-The readline library allows programmers to provide an easy to use and
|
|
+Readline library includes additional functions for maintaining a list
|
|
-more intuitive interface for users.
|
|
+of previously-entered command lines for recalling or editing those
|
|
-
|
|
+lines, and for performing csh-like history expansion on previous
|
|
-If you want to develop programs that will use the readline library,
|
|
+commands.
|
|
-you'll also need to install the readline-devel package.
|
|
|
|
-
|
|
|
|
|
|
|
|
%description -n compat32-%{name} -l ja
|
|
%description -n compat32-%{name} -l ja
|
|
-"readline" ライブラリを用いると、端末から読みこんだ一行を、emacs の標準キー
|
|
+Readline ライブラリは、ユーザーがコマンドラインを編集する機能を提供します。
|
|
-と同キーバインディングで編集できるようになります。これをプログラム中で使うと、
|
|
+Emacs と vi の編集モードが利用可能です。Readline ライブラリはさらに、
|
|
-より使いやすいインタフェースをユーザに提供できます。
|
|
+これまで入力されたコマンドライン履歴を保持し、再利用する機能も備えています。
|
|
-
|
|
|
|
|
|
|
|
%package -n compat32-%{name}-devel
|
|
%package -n compat32-%{name}-devel
|
|
Summary: Files needed to develop programs which use the readline library.
|
|
Summary: Files needed to develop programs which use the readline library.
|
|
-Summary(ja): readline ライブラリを使うプログラムための開発用ライブラリ
|
|
+Summary(ja): Readline ライブラリを使うプログラムための開発用ライブラリ
|
|
Group: Development/Libraries
|
|
Group: Development/Libraries
|
|
Requires: %{name} = %{version}-%{release}
|
|
Requires: %{name} = %{version}-%{release}
|
|
Requires: %{name}-devel = %{version}-%{release}
|
|
Requires: %{name}-devel = %{version}-%{release}
|
|
Requires: compat32-ncurses-devel
|
|
Requires: compat32-ncurses-devel
|
|
|
|
|
|
-
|
|
|
|
%description -n compat32-%{name}-devel
|
|
%description -n compat32-%{name}-devel
|
|
-The readline library will read a line from the terminal and return it.
|
|
+The Readline library provides a set of functions that allow users to
|
|
-Use of the readline library allows programmers to provide an easy
|
|
+edit typed command lines. If you want to develop programs that will
|
|
-to use and more intuitive interface for users.
|
|
+use the readline library, you need to have the readline-devel package
|
|
-
|
|
+installed. You also need to have the readline package installed.
|
|
-If you want to develop programs which will use the readline library,
|
|
|
|
-you'll need to have the readline-devel package installed. You'll also
|
|
|
|
-need to have the readline package installed.
|
|
|
|
-
|
|
|
|
|
|
|
|
%prep
|
|
%prep
|
|
%setup -q
|
|
%setup -q
|
|
@@ -126,27 +110,21 @@ need to have the readline package installed.
|
|
%patch6 -p0 -b .006
|
|
%patch6 -p0 -b .006
|
|
%patch7 -p0 -b .007
|
|
%patch7 -p0 -b .007
|
|
%patch8 -p0 -b .008
|
|
%patch8 -p0 -b .008
|
|
-%patch9 -p0 -b .009
|
|
|
|
-%patch10 -p0 -b .010
|
|
|
|
-%patch11 -p0 -b .011
|
|
|
|
-%patch12 -p0 -b .012
|
|
|
|
-%patch13 -p0 -b .013
|
|
|
|
-%patch14 -p0 -b .014
|
|
|
|
|
|
|
|
-%patch20 -p1 -b .shlib
|
|
+%patch9 -p1 -b .gdb
|
|
|
|
+%patch10 -p1 -b .shlib
|
|
|
|
|
|
%build
|
|
%build
|
|
export CPPFLAGS="-I%{_includedir}/ncurses"
|
|
export CPPFLAGS="-I%{_includedir}/ncurses"
|
|
%configure
|
|
%configure
|
|
-make %{?_smp_mflags} all shared
|
|
+make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
%install
|
|
%install
|
|
[ "${RPM_BUILD_ROOT}" != "/" ] && %__rm -rf ${RPM_BUILD_ROOT}
|
|
[ "${RPM_BUILD_ROOT}" != "/" ] && %__rm -rf ${RPM_BUILD_ROOT}
|
|
mkdir -p ${RPM_BUILD_ROOT}%{_libdir}
|
|
mkdir -p ${RPM_BUILD_ROOT}%{_libdir}
|
|
|
|
|
|
-
|
|
+make DESTDIR=$RPM_BUILD_ROOT install
|
|
-%makeinstall
|
|
|
|
|
|
|
|
mkdir $RPM_BUILD_ROOT/%{_lib}
|
|
mkdir $RPM_BUILD_ROOT/%{_lib}
|
|
mv $RPM_BUILD_ROOT%{_libdir}/libreadline.so.* $RPM_BUILD_ROOT/%{_lib}
|
|
mv $RPM_BUILD_ROOT%{_libdir}/libreadline.so.* $RPM_BUILD_ROOT/%{_lib}
|
|
@@ -155,6 +133,8 @@ for l in $RPM_BUILD_ROOT%{_libdir}/libreadline.so; do
|
|
sed 's,\(^/\|\)[^/][^/]*,..,g')/%{_lib}/$(readlink $l) $l
|
|
sed 's,\(^/\|\)[^/][^/]*,..,g')/%{_lib}/$(readlink $l) $l
|
|
done
|
|
done
|
|
|
|
|
|
|
|
+rm -rf $RPM_BUILD_ROOT%{_docdir}/readline
|
|
|
|
+rm -rf $RPM_BUILD_ROOT%{_datadir}/readline
|
|
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
|
|
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
|
|
|
|
|
|
%clean
|
|
%clean
|
|
@@ -162,8 +142,9 @@ rm -f $RPM_BUILD_ROOT%{_infodir}/dir
|
|
|
|
|
|
%post
|
|
%post
|
|
/sbin/ldconfig
|
|
/sbin/ldconfig
|
|
-/sbin/install-info %{_infodir}/history.info.gz %{_infodir}/dir
|
|
+/sbin/install-info %{_infodir}/history.info.gz %{_infodir}/dir &> /dev/null
|
|
-/sbin/install-info %{_infodir}/readline.info.gz %{_infodir}/dir
|
|
+/sbin/install-info %{_infodir}/rluserman.info.gz %{_infodir}/dir &> /dev/null
|
|
|
|
+:
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
@@ -173,26 +154,38 @@ rm -f $RPM_BUILD_ROOT%{_infodir}/dir
|
|
|
|
|
|
%preun
|
|
%preun
|
|
if [ $1 = 0 ]; then
|
|
if [ $1 = 0 ]; then
|
|
- /sbin/install-info --delete %{_infodir}/history.info.gz %{_infodir}/dir
|
|
+ /sbin/install-info --delete %{_infodir}/history.info.gz %{_infodir}/dir &> /dev/null
|
|
- /sbin/install-info --delete %{_infodir}/readline.info.gz %{_infodir}/dir
|
|
+ /sbin/install-info --delete %{_infodir}/rluserman.info.gz %{_infodir}/dir &> /dev/null
|
|
|
|
+fi
|
|
|
|
+:
|
|
|
|
+
|
|
|
|
+%post devel
|
|
|
|
+/sbin/install-info %{_infodir}/readline.info.gz %{_infodir}/dir &> /dev/null
|
|
|
|
+:
|
|
|
|
+
|
|
|
|
+%preun devel
|
|
|
|
+if [ $1 = 0 ]; then
|
|
|
|
+ /sbin/install-info --delete %{_infodir}/readline.info.gz %{_infodir}/dir &> /dev/null
|
|
fi
|
|
fi
|
|
|
|
+:
|
|
|
|
|
|
%files
|
|
%files
|
|
%defattr(-,root,root)
|
|
%defattr(-,root,root)
|
|
-%doc CHANGELOG CHANGES COPYING INSTALL MANIFEST README USAGE
|
|
+%doc CHANGES COPYING NEWS README USAGE
|
|
%doc doc/*.{html,pdf}
|
|
%doc doc/*.{html,pdf}
|
|
-%{_mandir}/man*/*
|
|
|
|
-%{_infodir}/*.info*
|
|
|
|
/%{_lib}/libreadline*.so.*
|
|
/%{_lib}/libreadline*.so.*
|
|
%{_libdir}/libhistory*.so.*
|
|
%{_libdir}/libhistory*.so.*
|
|
-
|
|
+%{_infodir}/history.info*
|
|
|
|
+%{_infodir}/rluserman.info*
|
|
|
|
|
|
%files devel
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%defattr(-,root,root)
|
|
-%doc examples/
|
|
+%doc examples/*.c examples/*.h examples/rlfe
|
|
%{_includedir}/readline
|
|
%{_includedir}/readline
|
|
%{_libdir}/lib*.a
|
|
%{_libdir}/lib*.a
|
|
%{_libdir}/lib*.so
|
|
%{_libdir}/lib*.so
|
|
|
|
+%{_infodir}/readline.info*
|
|
|
|
+%{_mandir}/man*/*
|
|
|
|
|
|
%if %{build_compat32}
|
|
%if %{build_compat32}
|
|
%files -n compat32-%{name}
|
|
%files -n compat32-%{name}
|
|
@@ -207,6 +200,10 @@ fi
|
|
%endif
|
|
%endif
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Sat Mar 21 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 6.3-1
|
|
|
|
+- new upstream release
|
|
|
|
+- update upstream patches (patch1-8)
|
|
|
|
+
|
|
* Fri Dec 27 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 5.2-5
|
|
* Fri Dec 27 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 5.2-5
|
|
- rebuild with VineSeed environment
|
|
- rebuild with VineSeed environment
|
|
|
|
|