update to 0.7.0 [release 0.7.0-1mamba;Sat Nov 28 2020]
This commit is contained in:
parent
1674ed33a5
commit
78fc991fc8
27
libcfg+.spec
27
libcfg+.spec
@ -1,14 +1,16 @@
|
||||
Name: libcfg+
|
||||
Version: 0.6.2
|
||||
Release: 6mamba
|
||||
Version: 0.7.0
|
||||
Release: 1mamba
|
||||
Summary: A C library that features multi- command line and configuration file parsing
|
||||
Group: System/Libraries
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
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
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: docbook >= 4.1.2
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
@ -22,8 +24,9 @@ Requires: %{name} = %{version}
|
||||
|
||||
%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).
|
||||
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
|
||||
%setup -q
|
||||
@ -31,7 +34,11 @@ This package contains static libraries and header files need for development.
|
||||
%build
|
||||
%configure
|
||||
%make \
|
||||
%ifarch %{ix86}
|
||||
CFLAGS="%{optflags} -fpic -fPIC -fno-stack-protector" \
|
||||
%else
|
||||
CFLAGS="%{optflags} -fpic -fPIC" \
|
||||
%endif
|
||||
LDFLAGS="-soname libcfg+.so.0" \
|
||||
CC="%{_host}-gcc" \
|
||||
AR="%{_host}-ar" \
|
||||
@ -53,19 +60,25 @@ ln -s libcfg+.so.%{version} %{buildroot}%{_libdir}/libcfg+.so.0
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/*.so.*
|
||||
%{_libdir}/libcfg+.so.*
|
||||
%doc AUTHORS COPYING
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_includedir}/*.h
|
||||
%dir %{_includedir}/platon
|
||||
%{_includedir}/platon/*.h
|
||||
%{_libdir}/*.a
|
||||
%{_libdir}/*.so
|
||||
%{_libdir}/libcfg+.a
|
||||
%{_libdir}/libcfg+.so
|
||||
%{_mandir}/man3/*
|
||||
%dir %{_datadir}/doc/libcfg+-%{version}
|
||||
%{_datadir}/doc/libcfg+-%{version}/*
|
||||
%doc ChangeLog README TODO
|
||||
|
||||
%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
|
||||
- set soname to prevent from linking to libcfg+.so
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user