|
|
@ -1,29 +1,29 @@
|
|
|
|
Name: libconfuse
|
|
|
|
Name: libconfuse
|
|
|
|
Version: 2.5
|
|
|
|
Version: 2.6
|
|
|
|
Release: 3%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: A configuration file parser library
|
|
|
|
Summary: A configuration file parser library
|
|
|
|
|
|
|
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
License: LGPL
|
|
|
|
License: ISC
|
|
|
|
URL: http://www.nongnu.org/confuse/
|
|
|
|
URL: http://www.nongnu.org/confuse/
|
|
|
|
Source0: http://download.savannah.nongnu.org/releases/confuse/confuse-%{version}.tar.gz
|
|
|
|
Source0: http://bzero.se/confuse/confuse-%{version}.tar.gz
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: check-devel, pkgconfig
|
|
|
|
BuildRequires: check-devel, pkgconfig
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
libConfuse is a configuration file parser library, licensed
|
|
|
|
libConfuse is a configuration file parser library, licensed under
|
|
|
|
under the terms of the LGPL, and written in C. It supports
|
|
|
|
the terms of the ISC license, and written in C. It supports
|
|
|
|
sections and (lists of) values (strings, integers, floats,
|
|
|
|
sections and (lists of) values (strings, integers, floats,
|
|
|
|
booleans or other sections), as well as some other features
|
|
|
|
booleans or other sections), as well as some other features (such
|
|
|
|
(such as single/double-quoted strings, environment variable
|
|
|
|
as single/double-quoted strings, environment variable expansion,
|
|
|
|
expansion, functions and nested include statements). It
|
|
|
|
functions and nested include statements). It makes it very
|
|
|
|
makes it very easy to add configuration file capability to
|
|
|
|
easy to add configuration file capability to a program using
|
|
|
|
a program using a simple API.
|
|
|
|
a simple API.
|
|
|
|
|
|
|
|
|
|
|
|
The goal of libConfuse is not to be the configuration file
|
|
|
|
The goal of libConfuse is not to be the configuration file parser
|
|
|
|
parser library with a gazillion of features. Instead, it
|
|
|
|
library with a gazillion of features. Instead, it aims to be
|
|
|
|
aims to be easy to use and quick to integrate with your code.
|
|
|
|
easy to use and quick to integrate with your code.
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Summary: Development files for %{name}
|
|
|
@ -41,7 +41,7 @@ perl -pi.orig -e 's|confuse.h|../src/confuse.h|g' tests/check_confuse.c
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%configure --enable-shared --disable-static
|
|
|
|
%configure --enable-shared --disable-static
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
make %{?_smp_mflags} AM_CFLAGS="-Wall -Wextra"
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
make check
|
|
|
|
make check
|
|
|
@ -73,7 +73,7 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
%files -f confuse.lang
|
|
|
|
%files -f confuse.lang
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc ABOUT-NLS AUTHORS COPYING NEWS README
|
|
|
|
%doc AUTHORS NEWS README
|
|
|
|
%doc doc/html
|
|
|
|
%doc doc/html
|
|
|
|
%{_libdir}/libconfuse.so.*
|
|
|
|
%{_libdir}/libconfuse.so.*
|
|
|
|
%{_mandir}/man?/*.*
|
|
|
|
%{_mandir}/man?/*.*
|
|
|
@ -87,6 +87,11 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Mon Feb 04 2008 Jarod Wilson <jwilson@redhat.com> 2.6-1
|
|
|
|
|
|
|
|
- New upstream release
|
|
|
|
|
|
|
|
- Switch from LGPL to ISC license
|
|
|
|
|
|
|
|
- Build fix from Hans Ulrich Niedermann
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Sep 05 2006 Jarod Wilson <jwilson@redaht.com> 2.5-3
|
|
|
|
* Tue Sep 05 2006 Jarod Wilson <jwilson@redaht.com> 2.5-3
|
|
|
|
- Rebuild for new glibc
|
|
|
|
- Rebuild for new glibc
|
|
|
|
|
|
|
|
|
|
|
|