From c98899ae1adcb5bf0d4fc224ed28977006753ccc Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 04:10:17 +0100 Subject: [PATCH] update to 20210910_3.1 [release 20210910_3.1-1mamba;Sun Dec 26 2021] --- libedit.spec | 36 +++++++++++++++++++----------------- 1 file changed, 19 insertions(+), 17 deletions(-) diff --git a/libedit.spec b/libedit.spec index 9e558a7..4a5999c 100644 --- a/libedit.spec +++ b/libedit.spec @@ -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 -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 20210910_3.1-1mamba +- update to 20210910_3.1 + * Fri Aug 16 2013 Silvan Calarco 3.1_20130712-1mamba - update to 3.1_20130712 - configure with --enable-widec