2024-01-06 04:01:53 +01:00
|
|
|
Name: libconfuse
|
2024-01-06 04:01:53 +01:00
|
|
|
Version: 3.3
|
2024-01-06 04:01:53 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: A configuration file parser library
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: http://www.nongnu.org/confuse/
|
2024-01-06 04:01:53 +01:00
|
|
|
Source: https://github.com/martinh/libconfuse.git/v%{version}/libconfuse-%{version}.tar.bz2
|
|
|
|
#Source: http://savannah.nongnu.org/download/confuse/confuse-%{version}.tar.gz
|
2024-01-06 04:01:53 +01:00
|
|
|
Patch0: %{name}-2.6-lexer_noinput.patch
|
|
|
|
License: BSD
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%description
|
|
|
|
libConfuse is a configuration file parser library, licensed under the terms of the ISC license, and written in C. It supports sections and (lists of) values (strings, integers, floats, booleans or other sections), as well as some other features (such as single/double-quoted strings, environment variable expansion, functions and nested include statements). It makes it very easy to add configuration file capability to a program using a simple API.
|
|
|
|
The goal of libConfuse is not to be the configuration file parser library with a gazillion of features. Instead, it aims to be easy to use and quick to integrate with your code. libConfuse was called libcfg before, but was changed to not confuse with other similar libraries.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Static libraries and headers for %{name}
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
libConfuse is a configuration file parser library, licensed under the terms of the ISC license, and written in C. It supports sections and (lists of) values (strings, integers, floats, booleans or other sections), as well as some other features (such as single/double-quoted strings, environment variable expansion, functions and nested include statements). It makes it very easy to add configuration file capability to a program using a simple API.
|
|
|
|
The goal of libConfuse is not to be the configuration file parser library with a gazillion of features. Instead, it aims to be easy to use and quick to integrate with your code. libConfuse was called libcfg before, but was changed to not confuse with other similar libraries.
|
|
|
|
|
|
|
|
This package contains static libraries and header files need for development.
|
|
|
|
|
|
|
|
%prep
|
2024-01-06 04:01:53 +01:00
|
|
|
%setup -q
|
2024-01-06 04:01:53 +01:00
|
|
|
%patch0 -p1
|
|
|
|
|
|
|
|
%build
|
2024-01-06 04:01:53 +01:00
|
|
|
./autogen.sh
|
2024-01-06 04:01:53 +01:00
|
|
|
%configure --enable-shared
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall
|
|
|
|
|
|
|
|
%find_lang confuse
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files -f confuse.lang
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 04:01:53 +01:00
|
|
|
%{_libdir}/libconfuse.so.*
|
|
|
|
%doc AUTHORS
|
2024-01-06 04:01:53 +01:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_includedir}
|
|
|
|
%{_includedir}/*.h
|
2024-01-06 04:01:53 +01:00
|
|
|
%{_libdir}/libconfuse.a
|
|
|
|
%{_libdir}/libconfuse.la
|
|
|
|
%{_libdir}/libconfuse.so
|
2024-01-06 04:01:53 +01:00
|
|
|
%{_libdir}/pkgconfig/*.pc
|
2024-01-06 04:01:53 +01:00
|
|
|
%dir %{_docdir}/confuse
|
|
|
|
%{_docdir}/confuse/*
|
2024-01-06 04:01:53 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-06 04:01:53 +01:00
|
|
|
* Tue Jun 30 2020 Automatic Build System <autodist@mambasoft.it> 3.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:01:53 +01:00
|
|
|
* Sun Aug 19 2018 Automatic Build System <autodist@mambasoft.it> 3.2.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri Aug 18 2017 Automatic Build System <autodist@mambasoft.it> 3.2.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Tue Jun 06 2017 Automatic Build System <autodist@mambasoft.it> 3.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu May 25 2017 Automatic Build System <autodist@mambasoft.it> 3.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sat Dec 17 2016 Automatic Build System <autodist@mambasoft.it> 3.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:01:53 +01:00
|
|
|
* Fri Jan 29 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 2.8-1mamba
|
|
|
|
- update to 2.8
|
|
|
|
|
2024-01-06 04:01:53 +01:00
|
|
|
* Sun Dec 02 2012 Automatic Build System <autodist@mambasoft.it> 2.7-1mamba
|
|
|
|
- update to 2.7
|
|
|
|
|
|
|
|
* Mon Jul 06 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 2.6-1mamba
|
|
|
|
- package created by autospec
|