|
|
|
@ -1,21 +1,25 @@
|
|
|
|
|
Summary: A library for editing typed command lines
|
|
|
|
|
Name: readline
|
|
|
|
|
Version: 8.1
|
|
|
|
|
Release: 4%{?dist}
|
|
|
|
|
Version: 7.0
|
|
|
|
|
Release: 10%{?dist}
|
|
|
|
|
License: GPLv3+
|
|
|
|
|
URL: https://tiswww.case.edu/php/chet/readline/rltop.html
|
|
|
|
|
URL: http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html
|
|
|
|
|
Source: ftp://ftp.gnu.org/gnu/readline/readline-%{version}.tar.gz
|
|
|
|
|
|
|
|
|
|
# Official upstream patches
|
|
|
|
|
# Patches are converted to apply with '-p1'
|
|
|
|
|
Patch1: Readline-7.0-patch-1.patch
|
|
|
|
|
Patch2: Readline-7.0-patch-2.patch
|
|
|
|
|
Patch3: Readline-7.0-patch-3.patch
|
|
|
|
|
|
|
|
|
|
# Other patches
|
|
|
|
|
# Remove RPATH, use CFLAGS
|
|
|
|
|
Patch101: readline-8.0-shlib.patch
|
|
|
|
|
# fix file permissions, remove RPATH, use CFLAGS
|
|
|
|
|
Patch101: readline-7.0-shlib.patch
|
|
|
|
|
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
Requires(post): info
|
|
|
|
|
Requires(preun): info
|
|
|
|
|
BuildRequires: ncurses-devel
|
|
|
|
|
BuildRequires: git
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
The Readline library provides a set of functions that allow users to
|
|
|
|
@ -28,6 +32,9 @@ commands.
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: Files needed to develop programs which use the readline library
|
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
Requires: ncurses-devel%{?_isa}
|
|
|
|
|
Requires(post): info
|
|
|
|
|
Requires(preun): info
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
The Readline library provides a set of functions that allow users to
|
|
|
|
@ -47,16 +54,37 @@ library.
|
|
|
|
|
%autosetup -p1
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%configure --with-curses --disable-install-examples
|
|
|
|
|
export CPPFLAGS="-I%{_includedir}/ncurses"
|
|
|
|
|
%configure
|
|
|
|
|
%make_build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%make_install
|
|
|
|
|
|
|
|
|
|
rm -vrf %{buildroot}%{_docdir}/readline
|
|
|
|
|
rm -vf %{buildroot}%{_infodir}/dir*
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT%{_datadir}/readline
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT%{_docdir}/readline
|
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_infodir}/dir*
|
|
|
|
|
|
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
|
%post
|
|
|
|
|
/sbin/ldconfig
|
|
|
|
|
/sbin/install-info %{_infodir}/history.info %{_infodir}/dir || :
|
|
|
|
|
/sbin/install-info %{_infodir}/rluserman.info %{_infodir}/dir || :
|
|
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%preun
|
|
|
|
|
if [ $1 = 0 ]; then
|
|
|
|
|
/sbin/install-info --delete %{_infodir}/history.info %{_infodir}/dir || :
|
|
|
|
|
/sbin/install-info --delete %{_infodir}/rluserman.info %{_infodir}/dir || :
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
%post devel
|
|
|
|
|
/sbin/install-info %{_infodir}/history.info %{_infodir}/dir || :
|
|
|
|
|
|
|
|
|
|
%preun devel
|
|
|
|
|
if [ $1 = 0 ]; then
|
|
|
|
|
/sbin/install-info --delete %{_infodir}/readline.info %{_infodir}/dir || :
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%license COPYING USAGE
|
|
|
|
@ -71,7 +99,6 @@ rm -vf %{buildroot}%{_infodir}/dir*
|
|
|
|
|
%{_includedir}/readline/
|
|
|
|
|
%{_libdir}/libreadline.so
|
|
|
|
|
%{_libdir}/libhistory.so
|
|
|
|
|
%{_libdir}/pkgconfig/%{name}.pc
|
|
|
|
|
%{_mandir}/man3/readline.3*
|
|
|
|
|
%{_mandir}/man3/history.3*
|
|
|
|
|
%{_infodir}/readline.info*
|
|
|
|
@ -81,44 +108,8 @@ rm -vf %{buildroot}%{_infodir}/dir*
|
|
|
|
|
%{_libdir}/libhistory.a
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 8.1-4
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 8.1-3
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 8.1-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jan 6 11:32:21 CET 2021 Siteshwar Vashisht <svashisht@redhat.com> - 8.1-1
|
|
|
|
|
- Rebase to readline-8.1
|
|
|
|
|
Resolves: #1904867
|
|
|
|
|
|
|
|
|
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 8.0-5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 8.0-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 8.0-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sun Feb 17 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 8.0-2
|
|
|
|
|
- Drop ABI compatibility library
|
|
|
|
|
|
|
|
|
|
* Fri Feb 15 2019 Siteshwar Vashisht <svashisht@redhat.com> - 8.0-1
|
|
|
|
|
- Rebase to readline-8.0
|
|
|
|
|
|
|
|
|
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 7.0-13
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 7.0-12
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jun 12 2018 Siteshwar Vashisht <svashisht@redhat.com> - 7.0-11
|
|
|
|
|
- Update to readline-7.0 patchlevel 5
|
|
|
|
|
Resolves: #1590316
|
|
|
|
|
* Wed Jul 26 2023 MSVSphere Packaging Team <packager@msvsphere.ru> - 7.0-10
|
|
|
|
|
- Rebuilt for MSVSphere 8.8
|
|
|
|
|
|
|
|
|
|
* Tue Apr 3 2018 Peter Robinson <pbrobinson@fedoraproject.org> 7.0-10
|
|
|
|
|
- Move USAGE to %%license as it describes usage in a licensing context
|
|
|
|
|