added debug package; updated URL; closes #1 [release 1.7.3-2mamba;Wed Nov 20 2024]
This commit is contained in:
parent
11d19d2357
commit
146341fc29
@ -1,15 +1,14 @@
|
|||||||
Name: libconfig
|
Name: libconfig
|
||||||
Version: 1.7.3
|
Version: 1.7.3
|
||||||
Release: 1mamba
|
Release: 2mamba
|
||||||
Summary: C/C++ Configuration File Library
|
Summary: C/C++ Configuration File Library
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Automatic Build System <autodist@mambasoft.it>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: http://www.hyperrealm.com/libconfig/
|
URL: https://www.hyperrealm.com/libconfig/
|
||||||
Source: https://github.com/hyperrealm/libconfig.git/v%{version}/libconfig-%{version}.tar.bz2
|
Source: https://github.com/hyperrealm/libconfig.git/v%{version}/libconfig-%{version}.tar.bz2
|
||||||
License: LGPL
|
License: LGPL
|
||||||
Requires(post):%{__install_info}
|
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
BuildRequires: libgcc
|
BuildRequires: libgcc
|
||||||
@ -24,11 +23,11 @@ BuildRequires: texinfo
|
|||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
Summary: Libraries and headers for %{name}
|
Summary: Libraries and headers for %{name}
|
||||||
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
Requires(post):%{__install_info}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
C/C++ Configuration File Library
|
C/C++ Configuration File Library
|
||||||
|
This package contains static libraries and header files needed for development.
|
||||||
This package contains static libraries and header files need for development.
|
|
||||||
|
|
||||||
%package static
|
%package static
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
@ -37,18 +36,18 @@ Requires: %{name}-devel = %{?epoch:%epoch:}%{version}-%{release}
|
|||||||
|
|
||||||
%description static
|
%description static
|
||||||
C/C++ Configuration File Library
|
C/C++ Configuration File Library
|
||||||
|
This package contains static libraries needed for development.
|
||||||
|
|
||||||
This package contains static libraries need for development.
|
%debug_package
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
|
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
iconv -f iso-8859-1 -t utf-8 -o AUTHORS{.utf8,}
|
iconv -f iso-8859-1 -t utf-8 -o AUTHORS{.utf8,}
|
||||||
mv AUTHORS{.utf8,}
|
mv AUTHORS{.utf8,}
|
||||||
|
|
||||||
%build
|
|
||||||
autoreconf -f -i
|
autoreconf -f -i
|
||||||
|
|
||||||
|
%build
|
||||||
%configure
|
%configure
|
||||||
%make
|
%make
|
||||||
make pdf
|
make pdf
|
||||||
@ -67,10 +66,6 @@ sed -i '/^\/ID /d' %{buildroot}%{_defaultdocdir}/libconfig/libconfig.pdf
|
|||||||
%clean
|
%clean
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%postun -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%post devel
|
%post devel
|
||||||
%install_info libconfig.info
|
%install_info libconfig.info
|
||||||
|
|
||||||
@ -84,7 +79,6 @@ sed -i '/^\/ID /d' %{buildroot}%{_defaultdocdir}/libconfig/libconfig.pdf
|
|||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
#%{_bindir}/libconfig_tests
|
|
||||||
%{_includedir}/libconfig.h*
|
%{_includedir}/libconfig.h*
|
||||||
%{_libdir}/libconfig*.so
|
%{_libdir}/libconfig*.so
|
||||||
%{_libdir}/pkgconfig/libconfig++.pc
|
%{_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++/libconfig++Config.cmake
|
||||||
%{_libdir}/cmake/libconfig/libconfigConfig.cmake
|
%{_libdir}/cmake/libconfig/libconfigConfig.cmake
|
||||||
%{_defaultdocdir}/libconfig/libconfig.pdf
|
%{_defaultdocdir}/libconfig/libconfig.pdf
|
||||||
%{_infodir}/libconfig.info.gz
|
%{_infodir}/libconfig.info*
|
||||||
%doc ChangeLog README TODO
|
%doc ChangeLog README TODO
|
||||||
|
|
||||||
%files static
|
%files static
|
||||||
@ -100,6 +94,9 @@ sed -i '/^\/ID /d' %{buildroot}%{_defaultdocdir}/libconfig/libconfig.pdf
|
|||||||
%{_libdir}/libconfig*.*a
|
%{_libdir}/libconfig*.*a
|
||||||
|
|
||||||
%changelog
|
%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
|
* Sun Jun 20 2021 Automatic Build System <autodist@mambasoft.it> 1.7.3-1mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user