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