Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.2:Update
iniparser
iniparser.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File iniparser.spec of Package iniparser
# # spec file for package iniparser # # Copyright (c) 2014 SUSE LINUX Products 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/ # Name: iniparser Version: 3.1.0.git20140619_c5beb80a Release: 0 Url: http://ndevilla.free.fr/iniparser/ Summary: Library to parse ini files License: MIT Group: System/Libraries #Source: http://ndevilla.free.fr/iniparser/iniparser-%{version}.tar.gz Source: iniparser-%{version}.tar.gz Source2: baselibs.conf Patch00: iniparser_remove_rpath.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Libiniparser offers parsing of ini files from the C level. %if 0%{?suse_version} == 0 || 0%{?suse_version} > 1100 %define libiniparser_name libiniparser0 %else %define libiniparser_name libiniparser %endif %package -n %{libiniparser_name} Summary: Library to parse ini files Group: System/Libraries %description -n %{libiniparser_name} Libiniparser offers parsing of ini files from the C level. This package includes the libiniparser0 library. %package -n libiniparser-devel Summary: Libraries and Header Files to Develop Programs with libiniparser Support Group: Development/Libraries/C and C++ %if 0%{?suse_version} == 0 || 0%{?suse_version} > 1100 Requires: %{libiniparser_name} = %{version} %else Requires: libiniparser = %{version} %endif %description -n libiniparser-devel This package contains the static libraries and header files needed to develop programs which make use of the libiniparser programming interface. The libiniparser offers parsing of ini files from the C level. See a complete documentation in HTML format, from the /usr/share/doc/packages/libiniparser-devel directory open the file html/index.html with any HTML-capable browser. Libraries and Header Files to Develop Programs with iniparser Support. %prep %setup -q -n iniparser %patch00 -p1 %build %{__make} %{?jobs:-j%jobs} CFLAGS="%{optflags} -fPIC" libiniparser.so %install %__install -d -m 0755 %{buildroot}%{_includedir} %__install -d -m 0755 %{buildroot}%{_libdir} %__install -m 0755 libiniparser.so.0 %{buildroot}%{_libdir} %__install -m 0644 src/{dictionary,iniparser}.h %{buildroot}%{_includedir} %__ln_s -f libiniparser.so.0 %{buildroot}%{_libdir}/libiniparser.so %check %__ln_s libiniparser.so.0 libiniparser.so %{__make} check %clean %__rm -rf %{buildroot} %post -n %{libiniparser_name} -p /sbin/ldconfig %postun -n %{libiniparser_name} -p /sbin/ldconfig %files -n %{libiniparser_name} %defattr(-,root,root) %{_libdir}/libiniparser.so.* %doc LICENSE %files -n libiniparser-devel %defattr(-,root,root) %{_includedir}/*.h %{_libdir}/libiniparser.so %doc html %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