update to 0.7.0 [release 0.7.0-1mamba;Sat Nov 28 2020]

This commit is contained in:
Silvan Calarco 2024-01-06 03:59:03 +01:00
parent 1674ed33a5
commit 78fc991fc8

View File

@ -1,14 +1,16 @@
Name: libcfg+ Name: libcfg+
Version: 0.6.2 Version: 0.7.0
Release: 6mamba Release: 1mamba
Summary: A C library that features multi- command line and configuration file parsing Summary: A C library that features multi- command line and configuration file parsing
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://platon.sk/projects/libcfg+ URL: http://platon.sk/projects/libcfg+
Source: http://platon.sk/upload/_projects/00003/%{name}-%{version}.tar.gz Source: http://opensource.platon.org/upload/_projects/00003/libcfg+-%{version}.tar.gz
License: GPL License: GPL
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
BuildRequires: docbook >= 4.1.2 BuildRequires: docbook >= 4.1.2
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-root
@ -22,8 +24,9 @@ Requires: %{name} = %{version}
%description devel %description devel
libcfg+ is a C library that features multi- command line and configuration file parsing. It is possible to set up various special properties such as quoting characters, deliminator strings, file comment prefixes, multi-line postfixes, and more. It supports many data types such as booleans, integers, decimal numbers, strings with many additional data type flags (such as multiple values for a single option). libcfg+ is a C library that features multi- command line and configuration file parsing. It is possible to set up various special properties such as quoting characters, deliminator strings, file comment prefixes, multi-line postfixes, and more. It supports many data types such as booleans, integers, decimal numbers, strings with many additional data type flags (such as multiple values for a single option).
This package contains static libraries and header files needed for development.
This package contains static libraries and header files need for development. %debug_package
%prep %prep
%setup -q %setup -q
@ -31,7 +34,11 @@ This package contains static libraries and header files need for development.
%build %build
%configure %configure
%make \ %make \
%ifarch %{ix86}
CFLAGS="%{optflags} -fpic -fPIC -fno-stack-protector" \
%else
CFLAGS="%{optflags} -fpic -fPIC" \ CFLAGS="%{optflags} -fpic -fPIC" \
%endif
LDFLAGS="-soname libcfg+.so.0" \ LDFLAGS="-soname libcfg+.so.0" \
CC="%{_host}-gcc" \ CC="%{_host}-gcc" \
AR="%{_host}-ar" \ AR="%{_host}-ar" \
@ -53,19 +60,25 @@ ln -s libcfg+.so.%{version} %{buildroot}%{_libdir}/libcfg+.so.0
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/*.so.* %{_libdir}/libcfg+.so.*
%doc AUTHORS COPYING %doc AUTHORS COPYING
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root)
%{_includedir}/*.h %{_includedir}/*.h
%dir %{_includedir}/platon
%{_includedir}/platon/*.h %{_includedir}/platon/*.h
%{_libdir}/*.a %{_libdir}/libcfg+.a
%{_libdir}/*.so %{_libdir}/libcfg+.so
%{_mandir}/man3/* %{_mandir}/man3/*
%dir %{_datadir}/doc/libcfg+-%{version}
%{_datadir}/doc/libcfg+-%{version}/*
%doc ChangeLog README TODO %doc ChangeLog README TODO
%changelog %changelog
* Sat Nov 28 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7.0-1mamba
- update to 0.7.0
* Mon Apr 16 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.2-6mamba * Mon Apr 16 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.2-6mamba
- set soname to prevent from linking to libcfg+.so - set soname to prevent from linking to libcfg+.so