|
@@ -1,19 +1,27 @@
|
|
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: 8.0
|
|
+Version: 8.0.4
|
|
|
|
+%global shortver %(echo %{version} | cut -d . -f 1-2)
|
|
|
|
+%global shortver_nodots %(echo %{shortver} | tr -d ".")
|
|
Release: 1%{?_dist_release}
|
|
Release: 1%{?_dist_release}
|
|
|
|
+Group: system
|
|
|
|
+Vendor: Project Vine
|
|
|
|
+Distribution: Vine Linux
|
|
|
|
+
|
|
License: GPLv3+
|
|
License: GPLv3+
|
|
-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: https://ftp.gnu.org/gnu/readline/readline-%{version}.tar.gz
|
|
+%global baseurl https://ftp.gnu.org/gnu/readline
|
|
|
|
+Source: %{baseurl}/readline-%{shortver}.tar.gz
|
|
|
|
|
|
# upstream patches
|
|
# upstream patches
|
|
-Patch1: https://ftp.gnu.org/gnu/readline/readline-%{version}-patches/readline80-001
|
|
+Patch1: %{baseurl}/readline-%{shortver}-patches/readline%{shortver_nodots}-001
|
|
|
|
+Patch2: %{baseurl}/readline-%{shortver}-patches/readline%{shortver_nodots}-002
|
|
|
|
+Patch3: %{baseurl}/readline-%{shortver}-patches/readline%{shortver_nodots}-003
|
|
|
|
+Patch4: %{baseurl}/readline-%{shortver}-patches/readline%{shortver_nodots}-004
|
|
|
|
|
|
# fix file permissions, remove RPATH, use CFLAGS
|
|
# fix file permissions, remove RPATH, use CFLAGS
|
|
-Patch10: readline-8.0-shlib.patch
|
|
+Patch100: readline-8.0-shlib.patch
|
|
|
|
|
|
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
BuildRequires: sed
|
|
BuildRequires: sed
|
|
@@ -22,9 +30,6 @@ 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
|
|
|
|
-Distribution: Vine Linux
|
|
|
|
-
|
|
|
|
%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
|
|
%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
|
|
|
|
|
|
%description
|
|
%description
|
|
@@ -40,10 +45,11 @@ Readline ライブラリは、ユーザーがコマンドラインを編集す
|
|
Emacs と vi の編集モードが利用可能です。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: programming
|
|
Requires: readline = %{version}
|
|
Requires: readline = %{version}
|
|
Requires: ncurses-devel
|
|
Requires: ncurses-devel
|
|
|
|
|
|
@@ -57,7 +63,7 @@ installed. You 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
|
|
Requires: %{name} = %{version}-%{release}
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
%description -n compat32-%{name}
|
|
%description -n compat32-%{name}
|
|
@@ -73,10 +79,11 @@ Readline ライブラリは、ユーザーがコマンドラインを編集す
|
|
Emacs と vi の編集モードが利用可能です。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: programming
|
|
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
|
|
@@ -87,13 +94,20 @@ edit typed command lines. If you want to develop programs that will
|
|
use the readline library, you need to have the readline-devel package
|
|
use the readline library, you need to have the readline-devel package
|
|
installed. You also need to have the readline package installed.
|
|
installed. You also need to have the readline package installed.
|
|
|
|
|
|
|
|
+
|
|
|
|
+%debug_package
|
|
|
|
+
|
|
|
|
+
|
|
%prep
|
|
%prep
|
|
-%setup -q
|
|
+%setup -q -n %{name}-%{shortver}
|
|
|
|
|
|
# upstream patches
|
|
# upstream patches
|
|
%patch1 -p0 -b .001
|
|
%patch1 -p0 -b .001
|
|
|
|
+%patch2 -p0 -b .002
|
|
|
|
+%patch3 -p0 -b .003
|
|
|
|
+%patch4 -p0 -b .004
|
|
|
|
|
|
-%patch10 -p1 -b .shlib
|
|
+%patch100 -p1 -b .shlib
|
|
|
|
|
|
%build
|
|
%build
|
|
%configure --with-curses --disable-install-examples
|
|
%configure --with-curses --disable-install-examples
|
|
@@ -182,6 +196,9 @@ fi
|
|
%endif
|
|
%endif
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Sat Sep 12 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 8.0.4-1
|
|
|
|
+- updated to patchlevel 004.
|
|
|
|
+
|
|
* Fri Aug 30 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 8.0-1
|
|
* Fri Aug 30 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 8.0-1
|
|
- new upstream release.
|
|
- new upstream release.
|
|
- dropped all of official patches.
|
|
- dropped all of official patches.
|