11 Star 0 Fork 9

src-openEuler/libconfig

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
libconfig.spec 3.34 KB
一键复制 编辑 原始数据 按行查看 历史
Funda Wang 提交于 2024-09-03 15:51 +08:00 . cleanup spec
Name: libconfig
Version: 1.7.3
Release: 4
Summary: C/C++ Configuration File Library
License: LGPL-2.1-or-later AND GPL-3.0-or-later WITH Bison-exception-2.2
URL: http://www.hyperrealm.com/libconfig/libconfig.html
# This tarball comes from libconfig-1.7.2/docs/dist/libconfig-1.7.2.tar.gz
# in archive(https://github.com/hyperrealm/libconfig/archive/v1.7.2.tar.gz)
Source0: https://github.com/hyperrealm/libconfig/releases/download/v%{version}/%{name}-%{version}.tar.gz
Source1: libconfig.pdf
Patch6000: backport-Add-logic-to-handle-memory-allocation-failures.patch
Patch6001: backport-Fixed-various-bugs-in-setting-lookups-by-name-path.patch
Patch6002: backport-Added-unit-test-for-config_read.patch
Patch9000: add-to-strbuf_append_string.patch
BuildRequires: gcc gcc-c++ bison flex
BuildRequires: cmake-rpm-macros
BuildRequires: texinfo-tex tex(ecbx1095.tfm) tex(ecrm1095.tfm) tex(cm-super-t1.enc)
%description
Libconfig is a simple library for processing structured configuration files.
%package devel
Summary: Files for %{name} development
Requires: %{name} = %{version}-%{release}
Provides: libconfig-static = %{version}-%{release}
Obsoletes: libconfig-static < %{version}-%{release}
%description devel
Files for %{name} development
%prep
%autosetup -n %{name}-%{version} -p1
cp %{SOURCE1} .
%build
%configure
%make_build
%install
%make_install
%delete_la
rm -rf %{buildroot}%{_infodir}/dir
%check
%make_build check
%files
%doc AUTHORS ChangeLog README
%license COPYING.LIB
%{_libdir}/%{name}*.so.*
%files devel
%doc libconfig.pdf
%{_includedir}/%{name}*
%{_libdir}/cmake/%{name}*
%{_libdir}/%{name}*.so
%{_libdir}/pkgconfig/%{name}*.pc
%{_infodir}/libconfig.info*
%{_libdir}/*.a
%changelog
* Tue Sep 03 2024 Funda Wang <fundawang@yeah.net> - 1.7.3-4
- cleanup spec
* Wed Mar 27 2024 gengqihu <gengqihu2@h-partners.com> - 1.7.3-3
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:Add logic to handle memory allocation failures
* Sat Oct 29 2022 dongyuzhen <dongyuzhen@h-partners.com> - 1.7.3-2
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:Rebuild for next release
* Thu Dec 30 2021 wangchen<wangchen137@huawei.com> - 1.7.3-1
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:update to 1.7.3
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 1.7.2-10
- DESC: delete -Sgit from %autosetup, and delete BuildRequires git
* Tue Sep 8 2020 linwei<linwei54@huawei.com> - 1.7.2-9
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:modify the URL of Source
* Tue Sep 24 2019 shenyangyang<shenyangyang4@huawei.com> - 1.7.2-8
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:revise help package and subpackage
* Wed Aug 21 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.7.2-7
- Type:NA
- ID:NA
- SUG:NA
- DESC: rewrite spec file
* Tue Aug 20 2019 fangyufa<fangyufa1@huawei.com> - 1..7.2-6
- Type:bugfix
- ID:NA
- SUG:NA
- DESC: modify name of patch
* Fri Aug 09 2019 fangyufa<fangyufa1@huawei.com> - 1..7.2-5
- Type:bugfix
- ID:NA
- SUG:NA
- DESC: add head info of patch
* Wed Jul 31 2019 zhuguodong <zhuguodong7@huawei.com> - 1.7.2-4
- Type:bugfix
- ID:NA
- SUG:NA
- DESC: openEuler Debranding
* Fri Mar 29 2019 wangye <wangye54@huawei.com> - 1.7.2-3
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:add to strbuf_append_string
* Thu Jul 12 2018 zhuguodong <zhuguodong7@huawei.com> - 1.7.2-2
- Package Initialization
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/libconfig.git
git@gitee.com:src-openeuler/libconfig.git
src-openeuler
libconfig
libconfig
master

搜索帮助