added debug package; updated URL; closes #1 [release 1.7.3-2mamba;Wed Nov 20 2024]

This commit is contained in:
Silvan Calarco 2024-11-21 10:52:04 +01:00
parent 11d19d2357
commit 146341fc29

View File

@ -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 <autodist@mambasoft.it>
URL: http://www.hyperrealm.com/libconfig/
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
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 <silvan.calarco@mambasoft.it> 1.7.3-2mamba
- added debug package; updated URL; closes #1
* Sun Jun 20 2021 Automatic Build System <autodist@mambasoft.it> 1.7.3-1mamba
- automatic version update by autodist