Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.1
libconfuse0
libconfuse0.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libconfuse0.spec of Package libconfuse0
# # spec file for package libconfuse0 (Version 2.5) # # Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: libconfuse0 Version: 2.5 Release: 1 # License: LGPL v2 or later Group: Development/Libraries/C and C++ # BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: gcc-c++ gettext-devel pkgconfig %if 0%{?suse_version} > 1020 BuildRequires: check-devel %else BuildRequires: check %endif %define pkg_name confuse # Url: http://www.nongnu.org/confuse/ # taken from http://download.savannah.gnu.org/releases/confuse/%{pkg_name}-%{version}.tar.gz Source: http://download.savannah.gnu.org/releases/confuse/%{pkg_name}-%{version}.tar.bz2 Patch: confuse-2.5_tests.patch # Summary: A configuration file parser library %description libConfuse is a configuration file parser library, licensed under the terms of the LGPL, 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. Authors: -------- Martin Hedenfalk <mhe@home.se> Josh Myer <josh@joshisanerd.com> %package -n libconfuse-devel Group: Development/Libraries/C and C++ Requires: %{name} = %{version} # Summary: A configuration file parser library %description -n libconfuse-devel libConfuse is a configuration file parser library, licensed under the terms of the LGPL, 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. Authors: -------- Martin Hedenfalk <mhe@home.se> Josh Myer <josh@joshisanerd.com> %prep %setup -n %{pkg_name}-%{version} %patch %build autoreconf -fi %configure --enable-shared --disable-static %{__make} %install %makeinstall %find_lang %{pkg_name} %{__install} -Dd %{buildroot}%{_mandir} %{__cp} -Rv doc/man/man3/ %{buildroot}%{_mandir} # clean up examples %{__make} -C examples clean rm -rf examples/.deps/ examples/Makefile* rm -rv %{buildroot}%{_datadir}/locale/ rm -rv examples/wincfg* %clean %{__rm} -rf %{buildroot} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,-) %{_libdir}/libconfuse.so.0.0.0 %{_libdir}/libconfuse.so.0 %doc README NEWS AUTHORS COPYING %files -n libconfuse-devel %defattr(-,root,root,-) %{_libdir}/libconfuse.so %{_libdir}/libconfuse.la %{_libdir}/pkgconfig/libconfuse.pc %{_includedir}/confuse.h %{_mandir}/man3/*.3* %doc doc/html/ doc/tutorial-html/ examples/ %changelog * Mon Sep 17 2007 - mrueckert@suse.de - dont package locale files * Wed Jul 18 2007 - mrueckert@suse.de - fix buildrequires on check(-devel) * Wed Jul 18 2007 - mrueckert@suse.de - update to new packaging policy - no longer build the static lib - add confuse-2.5_tests.patch: fix testsuite * Sun Apr 08 2007 - mrueckert@suse.de - run ldconfig
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor