From 146341fc295e9be695b12bc0f50f3528e9e6e731 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Thu, 21 Nov 2024 10:52:04 +0100 Subject: [PATCH] added debug package; updated URL; closes #1 [release 1.7.3-2mamba;Wed Nov 20 2024] --- libconfig.spec | 29 +++++++++++++---------------- 1 file changed, 13 insertions(+), 16 deletions(-) diff --git a/libconfig.spec b/libconfig.spec index 2803170..31f5874 100644 --- a/libconfig.spec +++ b/libconfig.spec @@ -1,15 +1,14 @@ Name: libconfig Version: 1.7.3 -Release: 1mamba +Release: 2mamba Summary: C/C++ Configuration File Library Group: System/Libraries Vendor: openmamba Distribution: openmamba -Packager: Automatic Build System -URL: http://www.hyperrealm.com/libconfig/ +Packager: Silvan Calarco +URL: https://www.hyperrealm.com/libconfig/ Source: https://github.com/hyperrealm/libconfig.git/v%{version}/libconfig-%{version}.tar.bz2 License: LGPL -Requires(post):%{__install_info} ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libgcc @@ -24,11 +23,11 @@ BuildRequires: texinfo Group: Development/Libraries Summary: Libraries and headers for %{name} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Requires(post):%{__install_info} %description devel C/C++ Configuration File Library - -This package contains static libraries and header files need for development. +This package contains static libraries and header files needed for development. %package static Group: Development/Libraries @@ -37,18 +36,18 @@ Requires: %{name}-devel = %{?epoch:%epoch:}%{version}-%{release} %description static C/C++ Configuration File Library +This package contains static libraries needed for development. -This package contains static libraries need for development. +%debug_package %prep - %setup -q - iconv -f iso-8859-1 -t utf-8 -o AUTHORS{.utf8,} mv AUTHORS{.utf8,} -%build autoreconf -f -i + +%build %configure %make make pdf @@ -67,10 +66,6 @@ sed -i '/^\/ID /d' %{buildroot}%{_defaultdocdir}/libconfig/libconfig.pdf %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig - %post devel %install_info libconfig.info @@ -84,7 +79,6 @@ sed -i '/^\/ID /d' %{buildroot}%{_defaultdocdir}/libconfig/libconfig.pdf %files devel %defattr(-,root,root) -#%{_bindir}/libconfig_tests %{_includedir}/libconfig.h* %{_libdir}/libconfig*.so %{_libdir}/pkgconfig/libconfig++.pc @@ -92,7 +86,7 @@ sed -i '/^\/ID /d' %{buildroot}%{_defaultdocdir}/libconfig/libconfig.pdf %{_libdir}/cmake/libconfig++/libconfig++Config.cmake %{_libdir}/cmake/libconfig/libconfigConfig.cmake %{_defaultdocdir}/libconfig/libconfig.pdf -%{_infodir}/libconfig.info.gz +%{_infodir}/libconfig.info* %doc ChangeLog README TODO %files static @@ -100,6 +94,9 @@ sed -i '/^\/ID /d' %{buildroot}%{_defaultdocdir}/libconfig/libconfig.pdf %{_libdir}/libconfig*.*a %changelog +* Wed Nov 20 2024 Silvan Calarco 1.7.3-2mamba +- added debug package; updated URL; closes #1 + * Sun Jun 20 2021 Automatic Build System 1.7.3-1mamba - automatic version update by autodist