2019-09-30 14:15:39 +00:00
|
|
|
#
|
|
|
|
# spec file for package libconfini
|
|
|
|
#
|
2022-07-21 22:59:03 +00:00
|
|
|
# Copyright (c) 2022 SUSE LLC
|
2019-09-30 14:15:39 +00:00
|
|
|
#
|
|
|
|
# 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 https://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: libconfini
|
2022-07-21 22:59:03 +00:00
|
|
|
Version: 1.16.4
|
2019-09-30 14:15:39 +00:00
|
|
|
Release: 0
|
|
|
|
Summary: INI file parser libarary
|
|
|
|
License: GPL-3.0-or-later
|
|
|
|
URL: https://madmurphy.github.io/libconfini
|
2019-10-19 15:46:16 +00:00
|
|
|
Source: https://github.com/madmurphy/libconfini/releases/download/%{version}/%{name}-%{version}-with-configure.tar.gz
|
2019-09-30 14:15:39 +00:00
|
|
|
BuildRequires: pkgconfig
|
|
|
|
|
|
|
|
%description
|
|
|
|
libconfini is a INI file parser library written in C.
|
|
|
|
|
|
|
|
%package -n %{name}0
|
|
|
|
Summary: INI file parser library
|
|
|
|
|
|
|
|
%description -n %{name}0
|
|
|
|
libconfini is a INI file parser library written in C.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: INI file parser library - development files
|
|
|
|
Requires: %{name}0 = %{version}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
libconfini is a INI file parser library written in C.
|
|
|
|
This package contains files required for development.
|
|
|
|
|
|
|
|
%prep
|
2019-10-19 15:46:16 +00:00
|
|
|
%setup -q -n %{name}-%{version}-with-configure
|
2019-09-30 14:15:39 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
%configure --disable-static --docdir=%{_docdir}/%{name}
|
2020-05-12 08:03:34 +00:00
|
|
|
%make_build
|
2019-09-30 14:15:39 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
%make_install
|
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
|
|
|
|
2020-02-09 22:09:19 +00:00
|
|
|
%check
|
2020-05-12 08:03:34 +00:00
|
|
|
%make_build check
|
2020-02-09 22:09:19 +00:00
|
|
|
|
2019-09-30 14:15:39 +00:00
|
|
|
%post -n %{name}0 -p /sbin/ldconfig
|
|
|
|
%postun -n %{name}0 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files -n %{name}0
|
|
|
|
%license COPYING
|
|
|
|
%{_libdir}/libconfini.so.*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%license COPYING
|
|
|
|
%doc %{_docdir}/%{name}
|
|
|
|
%{_mandir}/man3/*.3%{?ext_man}
|
|
|
|
%{_libdir}/libconfini.so
|
|
|
|
%{_includedir}/*
|
|
|
|
%{_libdir}/pkgconfig/libconfini.pc
|
|
|
|
|
|
|
|
%changelog
|