update to 20210910_3.1 [release 20210910_3.1-1mamba;Sun Dec 26 2021]

This commit is contained in:
Silvan Calarco 2024-01-06 04:10:17 +01:00
parent d7a7f764dd
commit c98899ae1a

View File

@ -1,22 +1,20 @@
%define majver %(echo %version | cut -d_ -f1)
%define minver %(echo %version | cut -d_ -f2)
%define pkgver %(echo %version | tr _ -)
Name: libedit
Version: 3.1_20130712
Version: 20210910_3.1
Release: 1mamba
Summary: The NetBSD Editline library.
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.thrysoee.dk/editline/
Source: http://www.thrysoee.dk/editline/libedit-%{minver}-%{majver}.tar.gz
URL: https://www.thrysoee.dk/editline/
Source: https://www.thrysoee.dk/editline/libedit-%{pkgver}.tar.gz
License: BSD
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libtermcap-devel
BuildRequires: libncurses-devel
## AUTOBUILDREQ-END
BuildRequires: gawk
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
%{name} is an autotool- and libtoolized port of the NetBSD Editline library (libedit).
@ -28,11 +26,8 @@ Summary: Libraries and headers for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
%{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 need for development.
%{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.
%package static
Group: Development/Libraries
@ -42,11 +37,12 @@ Requires: %{name}-devel = %{?epoch:%epoch:}%{version}-%{release}
%description static
%{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 static libraries needed for development.
This package contains static libraries need for development.
%debug_package
%prep
%setup -q -n %{name}-%{minver}-%{majver}
%setup -q -n %{name}-%{pkgver}
iconv --from-code ISO8859-1 --to-code UTF-8 ./ChangeLog \
--output ChangeLog.utf-8 && mv ChangeLog.utf-8 ./ChangeLog
@ -77,9 +73,12 @@ iconv --from-code ISO8859-1 --to-code UTF-8 ./ChangeLog \
%dir %{_includedir}/editline
%{_includedir}/editline/readline.h
%{_libdir}/libedit.so
%{_mandir}/man3/editline.3.gz
%{_mandir}/man3/el_*.3.gz
%{_mandir}/man5/editrc.5.gz
%{_mandir}/man3/editline.3*
%{_mandir}/man3/el_*.3*
%{_mandir}/man3/history*.3*
%{_mandir}/man3/tok_*3*
%{_mandir}/man5/editrc.5*
%{_mandir}/man7/editline.7*
%{_libdir}/pkgconfig/libedit.pc
%doc examples/fileman.c
%doc ChangeLog
@ -90,6 +89,9 @@ iconv --from-code ISO8859-1 --to-code UTF-8 ./ChangeLog \
%{_libdir}/libedit.la
%changelog
* Sun Dec 26 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 20210910_3.1-1mamba
- update to 20210910_3.1
* Fri Aug 16 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 3.1_20130712-1mamba
- update to 3.1_20130712
- configure with --enable-widec