2024-01-06 04:10:17 +01:00
|
|
|
%define pkgver %(echo %version | tr _ -)
|
2024-01-06 04:10:17 +01:00
|
|
|
Name: libedit
|
2024-05-22 10:01:52 +02:00
|
|
|
Version: 20240517_3.1
|
2024-01-06 04:10:17 +01:00
|
|
|
Release: 1mamba
|
2024-01-06 04:10:17 +01:00
|
|
|
Summary: The NetBSD Editline library.
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-06 04:10:17 +01:00
|
|
|
URL: https://www.thrysoee.dk/editline/
|
|
|
|
Source: https://www.thrysoee.dk/editline/libedit-%{pkgver}.tar.gz
|
2024-01-06 04:10:17 +01:00
|
|
|
License: BSD
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
2024-01-06 04:10:17 +01:00
|
|
|
BuildRequires: libncurses-devel
|
2024-01-06 04:10:17 +01:00
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: gawk
|
|
|
|
|
|
|
|
%description
|
|
|
|
%{name} is an autotool- and libtoolized port of the NetBSD Editline library (libedit).
|
|
|
|
%{name} provides generic line editing,history, and tokenization functions,similar to those found in GNU Readline.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Libraries and headers for %{name}
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
2024-01-06 04:10:17 +01:00
|
|
|
Provides: %{name}-static
|
|
|
|
Obsoletes: %{name}-static < 20221009_3.1
|
2024-01-06 04:10:17 +01:00
|
|
|
|
|
|
|
%description devel
|
2024-01-06 04:10:17 +01:00
|
|
|
%{name} is an autotool- and libtoolized port of the NetBSD Editline library (libedit) %{name} provides generic line editing,history, and tokenization functions,similar to those found in GNU Readline.
|
|
|
|
This package contains libraries and header files needed for development.
|
2024-01-06 04:10:17 +01:00
|
|
|
|
2024-01-06 04:10:17 +01:00
|
|
|
%debug_package
|
2024-01-06 04:10:17 +01:00
|
|
|
|
|
|
|
%prep
|
2024-01-06 04:10:17 +01:00
|
|
|
%setup -q -n %{name}-%{pkgver}
|
2024-01-06 04:10:17 +01:00
|
|
|
iconv --from-code ISO8859-1 --to-code UTF-8 ./ChangeLog \
|
|
|
|
--output ChangeLog.utf-8 && mv ChangeLog.utf-8 ./ChangeLog
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure \
|
|
|
|
--enable-widec
|
|
|
|
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall
|
|
|
|
|
2024-01-06 04:10:17 +01:00
|
|
|
# Fix conflict with libreadline-devel
|
|
|
|
mv %{buildroot}%{_mandir}/man3/{history.3,el_history.3}
|
|
|
|
|
2024-01-06 04:10:17 +01:00
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libedit.so.*
|
|
|
|
%doc COPYING THANKS
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_includedir}/*.h
|
|
|
|
%dir %{_includedir}/editline
|
|
|
|
%{_includedir}/editline/readline.h
|
2024-01-06 04:10:17 +01:00
|
|
|
%{_libdir}/libedit.a
|
2024-01-06 04:10:17 +01:00
|
|
|
%{_libdir}/libedit.so
|
2024-01-06 04:10:17 +01:00
|
|
|
%{_mandir}/man3/editline.3*
|
|
|
|
%{_mandir}/man3/el_*.3*
|
|
|
|
%{_mandir}/man3/history*.3*
|
|
|
|
%{_mandir}/man3/tok_*3*
|
|
|
|
%{_mandir}/man5/editrc.5*
|
|
|
|
%{_mandir}/man7/editline.7*
|
2024-01-06 04:10:17 +01:00
|
|
|
%{_libdir}/pkgconfig/libedit.pc
|
|
|
|
%doc examples/fileman.c
|
|
|
|
%doc ChangeLog
|
|
|
|
|
|
|
|
%changelog
|
2024-05-22 10:01:52 +02:00
|
|
|
* Mon May 20 2024 Automatic Build System <autodist@openmamba.org> 20240517_3.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:10:19 +01:00
|
|
|
* Tue Aug 29 2023 Automatic Build System <autodist@mambasoft.it> 20230828_3.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:10:17 +01:00
|
|
|
* Thu Nov 03 2022 Automatic Build System <autodist@mambasoft.it> 20221030_3.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Tue Oct 18 2022 Automatic Build System <autodist@mambasoft.it> 20221009_3.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:10:17 +01:00
|
|
|
* Sun Jan 02 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 20210910_3.1-2mamba
|
|
|
|
- rename man3/history.3 to fix conflict with libreadline-devel
|
|
|
|
|
2024-01-06 04:10:17 +01:00
|
|
|
* Sun Dec 26 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 20210910_3.1-1mamba
|
|
|
|
- update to 20210910_3.1
|
|
|
|
|
2024-01-06 04:10:17 +01:00
|
|
|
* Fri Aug 16 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 3.1_20130712-1mamba
|
|
|
|
- update to 3.1_20130712
|
|
|
|
- configure with --enable-widec
|
|
|
|
|
|
|
|
* Mon Mar 25 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0_20121213-1mamba
|
|
|
|
- update to 3.0_20121213
|
|
|
|
|
|
|
|
* Thu Jul 02 2009 gil <puntogil@libero.it> 3.0-2mamba
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Fri Feb 13 2009 gil <puntogil@libero.it> 3.0-1mamba
|
|
|
|
- package created by autospec
|