## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 6; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec Name: rlwrap Version: 0.46.1 Release: %autorelease Summary: Wrapper for GNU readline # Automatically converted from old format: GPLv2+ - review is highly recommended. License: GPL-2.0-or-later URL: https://github.com/hanslub42/rlwrap Source: %{url}/releases/download/%{version}/%{name}-%{version}.tar.gz BuildRequires: gcc BuildRequires: make BuildRequires: perl-generators BuildRequires: python3-rpm-macros BuildRequires: readline-devel %description rlwrap is a 'readline wrapper' that uses the GNU readline library to allow the editing of keyboard input for any other command. Input history is remembered across invocations, separately for each command; history completion and search work as in bash and completion word lists can be specified on the command line. %prep %autosetup -p1 %build %configure %make_build %install %make_install # Fix shebangs to prevent bogus requirements %{__sed} -r -i \ -e 's|^#!.*perl$|#!%{__perl}|g' \ -e 's|^#!.*python3$|#!%{__python3}|g' \ $(find %{buildroot}%{_datadir}/%{name}/ -type f) %check make check %files %license COPYING %doc AUTHORS NEWS README.md %{_bindir}/rlwrap %{_mandir}/*/rlwrap.* %{_mandir}/man3/RlwrapFilter.* %{_datadir}/rlwrap %changelog ## START: Generated by rpmautospec * Fri Jul 26 2024 Miroslav Suchý - 0.46.1-6 - convert GPLv2+ license to SPDX * Fri Jul 19 2024 Fedora Release Engineering - 0.46.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jan 26 2024 Fedora Release Engineering - 0.46.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 0.46.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 0.46.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Feb 09 2023 Michel Alexandre Salim - 0.46.1-1 - Update to 0.46.1 * Fri Jan 20 2023 Fedora Release Engineering - 0.45.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Wed Sep 28 2022 Michel Alexandre Salim - 0.45.2-3 - Fix version parsing in rlwrapfilter.py (rhbz#2091749) * Sat Jul 23 2022 Fedora Release Engineering - 0.45.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Feb 02 2022 Michel Alexandre Salim - 0.45.2-1 - Update to 0.45.2 * Fri Jan 21 2022 Fedora Release Engineering - 0.44-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 0.44-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Michel Alexandre Salim - 0.44-1 - Update to 0.44 * Fri Dec 04 2020 Jeff Law - 0.43-8 - Fix out of bounds read in configure generated code caught by gcc-11 * Sat Aug 01 2020 Fedora Release Engineering - 0.43-7 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 0.43-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Thu Jan 30 2020 Fedora Release Engineering - 0.43-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 0.43-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sun Feb 17 2019 Igor Gnatenko - 0.43-3 - Rebuild for readline 8.0 * Sat Feb 02 2019 Fedora Release Engineering - 0.43-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sat Aug 25 2018 Michel Alexandre Salim - 0.43-1 - Update to 0.43 - Update homepage to GitHub - Run tests * Sat Jul 14 2018 Fedora Release Engineering - 0.42-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri Feb 09 2018 Fedora Release Engineering - 0.42-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Aug 03 2017 Fedora Release Engineering - 0.42-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0.42-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 0.42-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Jan 12 2017 Igor Gnatenko - 0.42-4 - Rebuild for readline 7.x * Thu Feb 04 2016 Fedora Release Engineering - 0.42-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 18 2015 Fedora Release Engineering - 0.42-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Thu Nov 27 2014 Michel Alexandre Salim - 0.42-1 - Update to 0.42 * Mon Aug 18 2014 Fedora Release Engineering - 0.41-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sun Jun 08 2014 Fedora Release Engineering - 0.41-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Mon May 19 2014 Michel Salim - 0.41-1 - Update to 0.41 * Sun Aug 04 2013 Fedora Release Engineering - 0.37-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Jul 18 2013 Petr Pisar - 0.37-6 - Perl 5.18 rebuild * Thu Feb 14 2013 Fedora Release Engineering - 0.37-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Sat Jul 21 2012 Fedora Release Engineering - 0.37-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Sat Jan 14 2012 Fedora Release Engineering - 0.37-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Wed Feb 09 2011 Fedora Release Engineering - 0.37-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Thu Jul 1 2010 Michel Salim - 0.37-1 - Update to 0.37 * Sun Jul 26 2009 Fedora Release Engineering - 0.30-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Wed Feb 25 2009 Fedora Release Engineering - 0.30-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Tue Feb 19 2008 Fedora Release Engineering - 0.30-2 - Autorebuild for GCC 4.3 * Thu Jan 10 2008 Michel Salim 0.30-1 - Update to 0.30 * Thu Sep 20 2007 Michel Salim 0.28-3 - License field updated * Mon Feb 5 2007 Michel Salim 0.28-2 - Rebuild for Fedora 7, removing dependency on libtermcap * Tue Nov 28 2006 Michel Salim 0.28-1 - Initial package ## END: Generated by rpmautospec