Name: editline Version: 1.17.1 Release: 2%{?dist} Summary: A small compatible replacement for readline # https://fedoraproject.org/wiki/Licensing/Henry_Spencer_Reg-Ex_Library_License # also cf https://www.openhub.net/licenses/cnews License: HSRL URL: https://troglobit.com/projects/editline/ Source0: https://github.com/troglobit/editline/releases/download/%{version}/editline-%{version}.tar.xz BuildRequires: gcc %description This is a line editing library for UNIX. It can be linked into almost any program to provide command line editing and history. It is call compatible with the FSF readline library, but is a fraction of the size (and offers fewer features). %package devel Summary: Development files for editline Requires: %{name}%{?_isa} = %{version}-%{release} %description devel Header files for the editline library. %prep %autosetup %build %configure --disable-static %make_build %install %make_install rm %{buildroot}/%{_libdir}/libeditline.la rm %{buildroot}/%{_docdir}/editline/{LICENSE,README.md} rm %{buildroot}/%{_mandir}/man3/editline.3 %files %license LICENSE %{_libdir}/libeditline.so.1 %{_libdir}/libeditline.so.1.0.2 %files devel %doc ChangeLog.md README.md %{_includedir}/editline.h %{_libdir}/libeditline.so %{_libdir}/pkgconfig/libeditline.pc # conflicts with libedit-devel #%%{_mandir}/man3/editline.3.gz %changelog * Thu Aug 13 2020 Jens Petersen - 1.17.1-2 - correct license is revised HSRL (#1867290) - use isa for devel base requires (#1867290) * Thu Aug 06 2020 Jens Petersen - 1.17.1-1 - initial packaging