|
@@ -2,29 +2,18 @@ Summary: A library for editing typed in command lines.
|
|
Summary(ja): Readline ライブラリ
|
|
Summary(ja): Readline ライブラリ
|
|
|
|
|
|
Name: readline
|
|
Name: readline
|
|
-Version: 6.3
|
|
+Version: 8.0
|
|
Release: 1%{?_dist_release}
|
|
Release: 1%{?_dist_release}
|
|
License: GPLv3+
|
|
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: https://ftp.gnu.org/gnu/readline/readline-%{version}.tar.gz
|
|
|
|
|
|
# upstream patches
|
|
# upstream patches
|
|
-Patch1: ftp://ftp.gnu.org/gnu/readline/readline-%{version}-patches/readline63-001
|
|
+Patch1: https://ftp.gnu.org/gnu/readline/readline-%{version}-patches/readline80-001
|
|
-Patch2: ftp://ftp.gnu.org/gnu/readline/readline-%{version}-patches/readline63-002
|
|
+
|
|
-Patch3: ftp://ftp.gnu.org/gnu/readline/readline-%{version}-patches/readline63-003
|
|
|
|
-Patch4: ftp://ftp.gnu.org/gnu/readline/readline-%{version}-patches/readline63-004
|
|
|
|
-Patch5: ftp://ftp.gnu.org/gnu/readline/readline-%{version}-patches/readline63-005
|
|
|
|
-Patch6: ftp://ftp.gnu.org/gnu/readline/readline-%{version}-patches/readline63-006
|
|
|
|
-Patch7: ftp://ftp.gnu.org/gnu/readline/readline-%{version}-patches/readline63-007
|
|
|
|
-Patch8: ftp://ftp.gnu.org/gnu/readline/readline-%{version}-patches/readline63-008
|
|
|
|
-
|
|
|
|
-# add workaround for problem in gdb
|
|
|
|
-# in new version of readline needs to be deleted
|
|
|
|
-# bz701131
|
|
|
|
-Patch9: readline-6.2-gdb.patch
|
|
|
|
# fix file permissions, remove RPATH, use CFLAGS
|
|
# fix file permissions, remove RPATH, use CFLAGS
|
|
-Patch10: readline-6.2-shlib.patch
|
|
+Patch10: readline-8.0-shlib.patch
|
|
|
|
|
|
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
BuildRequires: sed
|
|
BuildRequires: sed
|
|
@@ -103,20 +92,11 @@ installed. You also need to have the readline package installed.
|
|
|
|
|
|
# upstream patches
|
|
# upstream patches
|
|
%patch1 -p0 -b .001
|
|
%patch1 -p0 -b .001
|
|
-%patch2 -p0 -b .002
|
|
+
|
|
-%patch3 -p0 -b .003
|
|
|
|
-%patch4 -p0 -b .004
|
|
|
|
-%patch5 -p0 -b .005
|
|
|
|
-%patch6 -p0 -b .006
|
|
|
|
-%patch7 -p0 -b .007
|
|
|
|
-%patch8 -p0 -b .008
|
|
|
|
-
|
|
|
|
-%patch9 -p1 -b .gdb
|
|
|
|
%patch10 -p1 -b .shlib
|
|
%patch10 -p1 -b .shlib
|
|
|
|
|
|
%build
|
|
%build
|
|
-export CPPFLAGS="-I%{_includedir}/ncurses"
|
|
+%configure --with-curses --disable-install-examples
|
|
-%configure
|
|
|
|
make %{?_smp_mflags}
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
@@ -171,8 +151,8 @@ fi
|
|
|
|
|
|
%files
|
|
%files
|
|
%defattr(-,root,root)
|
|
%defattr(-,root,root)
|
|
-%doc CHANGES COPYING NEWS README USAGE
|
|
+%license COPYING
|
|
-%doc doc/*.{html,pdf}
|
|
+%doc CHANGES NEWS README USAGE
|
|
/%{_lib}/libreadline*.so.*
|
|
/%{_lib}/libreadline*.so.*
|
|
%{_libdir}/libhistory*.so.*
|
|
%{_libdir}/libhistory*.so.*
|
|
%{_infodir}/history.info*
|
|
%{_infodir}/history.info*
|
|
@@ -184,6 +164,7 @@ fi
|
|
%{_includedir}/readline
|
|
%{_includedir}/readline
|
|
%{_libdir}/lib*.a
|
|
%{_libdir}/lib*.a
|
|
%{_libdir}/lib*.so
|
|
%{_libdir}/lib*.so
|
|
|
|
+%{_libdir}/pkgconfig/*.pc
|
|
%{_infodir}/readline.info*
|
|
%{_infodir}/readline.info*
|
|
%{_mandir}/man*/*
|
|
%{_mandir}/man*/*
|
|
|
|
|
|
@@ -197,9 +178,17 @@ fi
|
|
%defattr(-,root,root)
|
|
%defattr(-,root,root)
|
|
%{_libdir}/lib*.a
|
|
%{_libdir}/lib*.a
|
|
%{_libdir}/lib*.so
|
|
%{_libdir}/lib*.so
|
|
|
|
+%{_libdir}/pkgconfig/*.pc
|
|
%endif
|
|
%endif
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Fri Aug 30 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 8.0-1
|
|
|
|
+- new upstream release.
|
|
|
|
+- dropped all of official patches.
|
|
|
|
+- added Patch1.
|
|
|
|
+- dropped Patch9.
|
|
|
|
+- updated Patch10.
|
|
|
|
+
|
|
* Sat Mar 21 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 6.3-1
|
|
* Sat Mar 21 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 6.3-1
|
|
- new upstream release
|
|
- new upstream release
|
|
- update upstream patches (patch1-8)
|
|
- update upstream patches (patch1-8)
|