2019-09-30 11:16:14 -04:00
|
|
|
Name: readline
|
2023-01-31 16:27:23 +08:00
|
|
|
Version: 8.2
|
2023-02-01 17:09:55 +08:00
|
|
|
Release: 2
|
2019-09-30 11:16:14 -04:00
|
|
|
Summary: Readline library for editing typed command lines
|
|
|
|
|
|
|
|
|
|
License: GPLv3+
|
2020-12-09 16:38:04 +08:00
|
|
|
URL: http://tiswww.case.edu/php/chet/readline/rltop.html
|
2019-09-30 11:16:14 -04:00
|
|
|
Source0: http://git.savannah.gnu.org/cgit/readline.git/snapshot/%{name}-%{version}.tar.gz
|
|
|
|
|
|
2023-02-01 17:09:55 +08:00
|
|
|
Patch0: readline-8.0-shlib.patch
|
|
|
|
|
|
2021-06-24 11:55:18 +08:00
|
|
|
BuildRequires: gcc gcc-c++ ncurses-devel
|
2019-09-30 11:16:14 -04:00
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
The GNU Readline library provides a set of functions for use by
|
|
|
|
|
applications that allow users to edit command lines as they are
|
|
|
|
|
typed in. Both Emacs and vi editing modes are available.The Readline
|
|
|
|
|
library includes additional functions to maintain a list of
|
|
|
|
|
previously-entered command lines, to recall and perhaps reedit those
|
|
|
|
|
lines, and perform csh-like history expansion on previous commands.
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: Development Header files for readline library
|
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
Requires: ncurses-devel
|
|
|
|
|
Provides: %{name}-static
|
|
|
|
|
Obsoletes: %{name}-static
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
The GNU Readline library provides a set of functions for use by
|
|
|
|
|
applications that allow users to edit command lines as they are
|
|
|
|
|
typed in.
|
|
|
|
|
|
|
|
|
|
This package contains Development header files for the readline
|
|
|
|
|
library.
|
|
|
|
|
|
|
|
|
|
%package help
|
|
|
|
|
Summary: Documents for %{name}
|
|
|
|
|
Buildarch: noarch
|
|
|
|
|
Requires: man info
|
|
|
|
|
|
|
|
|
|
%description help
|
|
|
|
|
Man pages and other related documents for %{name}.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n %{name}-%{version} -p1
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
export CPPFLAGS="-I%{_includedir}/ncurses"
|
2020-07-13 16:01:56 +08:00
|
|
|
%configure --with-curses
|
2019-09-30 11:16:14 -04:00
|
|
|
%make_build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%make_install
|
|
|
|
|
|
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%doc
|
|
|
|
|
%license COPYING USAGE
|
|
|
|
|
%{_libdir}/libhistory.so.*
|
|
|
|
|
%{_libdir}/libreadline.so.*
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%{_includedir}/%{name}/*.h
|
|
|
|
|
%{_libdir}/libhistory.so
|
|
|
|
|
%{_libdir}/libreadline.so
|
2020-07-13 16:01:56 +08:00
|
|
|
%{_libdir}/pkgconfig/%{name}.pc
|
2023-01-31 16:27:23 +08:00
|
|
|
%{_libdir}/pkgconfig/history.pc
|
2019-09-30 11:16:14 -04:00
|
|
|
%{_docdir}/%{name}/*
|
|
|
|
|
%{_datadir}/%{name}
|
|
|
|
|
%{_libdir}/*.a
|
|
|
|
|
|
|
|
|
|
%files help
|
|
|
|
|
%{_infodir}/history.info*
|
|
|
|
|
%{_infodir}/rluserman.info*
|
|
|
|
|
%{_infodir}/readline.info*
|
|
|
|
|
%exclude %{_infodir}/dir*
|
|
|
|
|
%{_mandir}/man3/*.3.gz
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2023-02-01 17:09:55 +08:00
|
|
|
* Wed Feb 1 2023 chenziyang <chenziyang4@huawei.com> - 8.2-2
|
|
|
|
|
- upload readline-8.0-shlib.patch to fix undefined symbol problem
|
|
|
|
|
|
2023-01-31 16:27:23 +08:00
|
|
|
* Tue Jan 31 2023 chenziyang <chenziyang4@huawei.com> - 8.2-1
|
|
|
|
|
- update to 8.2
|
|
|
|
|
|
2022-10-25 08:38:28 +00:00
|
|
|
* Tue Oct 25 2022 yanglongkang <yanglongkang@h-partners.com> - 8.1-2
|
|
|
|
|
- rebuild for next release
|
|
|
|
|
|
2021-09-27 10:03:28 +08:00
|
|
|
* Mon Sep 27 2021 yangzhuangzhuang <yangzhuangzhuang1@huawei.com> - 8.1-1
|
|
|
|
|
- update to 8.1
|
|
|
|
|
|
2021-06-24 11:55:18 +08:00
|
|
|
* Thu Jun 24 2021 yangzhuangzhuang <yangzhuangzhuang1@huawei.com> - 8.0-3
|
|
|
|
|
- Delete useless old version dynamic library
|
|
|
|
|
|
2020-12-09 16:38:04 +08:00
|
|
|
* Wed Dec 9 2020 zoulin <zoulin13@huawei.com> - 8.0-2
|
|
|
|
|
- Modify URL
|
|
|
|
|
|
2020-07-13 16:01:56 +08:00
|
|
|
* Mon Jul 13 2020 wangchen <wangchen137@huawei.com> - 8.0-1
|
|
|
|
|
- update to 8.0
|
|
|
|
|
|
2019-09-30 11:16:14 -04:00
|
|
|
* Thu Aug 22 2019 openEuler Buildteam <buildteam@openeuler.org> - 7.0-13
|
|
|
|
|
- Package init
|