Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
openSUSE:Leap:15.2:Rings:1-MinimalX
libconfuse0
libconfuse0.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libconfuse0.spec of Package libconfuse0
# # spec file for package libconfuse0 # # Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define pkg_name confuse Name: libconfuse0 Version: 2.8 Release: 0 Summary: A configuration file parser library License: LGPL-2.1+ Group: Development/Libraries/C and C++ Url: http://www.nongnu.org/confuse/ Source: https://github.com/martinh/libconfuse/releases/download/v%{version}/%{pkg_name}-%{version}.tar.xz BuildRequires: check-devel BuildRequires: gcc-c++ BuildRequires: gettext-devel BuildRequires: libtool BuildRequires: pkgconfig BuildRequires: xz Recommends: %{name}-lang BuildRoot: %{_tmppath}/%{name}-%{version}-build %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. %package -n libconfuse-devel Summary: The development files for libconfuse Group: Development/Libraries/C and C++ Requires: %{name} = %{version} %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. This package holds the development files for libconfuse. %lang_package %prep %setup -q -n %{pkg_name}-%{version} %build #autoreconf -fi %configure --enable-shared --disable-static make %{?_smp_mflags} %install make DESTDIR=%{buildroot} install %{?_smp_mflags} rm -rf %{buildroot}%{_datadir}/doc %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* %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,-) %doc README.md AUTHORS ChangeLog.md LICENSE %{_libdir}/libconfuse.so.0.0.0 %{_libdir}/libconfuse.so.0 %files -n libconfuse-devel %defattr(-,root,root,-) %doc doc/html/ doc/tutorial-html/ examples/ %{_libdir}/libconfuse.so %{_libdir}/libconfuse.la %{_libdir}/pkgconfig/libconfuse.pc %{_includedir}/confuse.h %{_mandir}/man3/*.3* %files lang -f %{pkg_name}.lang %defattr(-,root,root) %changelog
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