diff --git a/libconfig.spec b/libconfig.spec index 1d52c863a9bc63a4c2b5192930a24f162165d09a..7c7dfc5abc8c4760959fcd47a47958cb8d3e0529 100644 --- a/libconfig.spec +++ b/libconfig.spec @@ -1,7 +1,8 @@ +%define anolis_release .0.1 Name: libconfig Summary: C/C++ configuration file library Version: 1.5 -Release: 9%{?dist} +Release: 9%{anolis_release}%{?dist} License: LGPLv2+ Group: System Environment/Libraries Source0: http://www.hyperrealm.com/libconfig/libconfig-%{version}.tar.gz @@ -11,12 +12,23 @@ URL: http://www.hyperrealm.com/libconfig/ BuildRequires: texinfo-tex, tex(ecbx1095.tfm), tex(ecrm1095.tfm), tex(cm-super-t1.enc) BuildRequires: bison, flex +Requires: glibc + %description Libconfig is a simple library for manipulating structured configuration files. This file format is more compact and more readable than XML. And unlike XML, it is type-aware, so it is not necessary to do string parsing in application code. +%package doc +Summary: Documents for %{name} +BuildArch: noarch +Requires: %{name} = %{version}-%{release} + + +%description doc +Doc pages for %{name}. + %package devel Summary: Development files for libconfig Group: Development/Libraries @@ -61,9 +73,11 @@ if [ $1 = 0 ]; then fi %files -%doc AUTHORS ChangeLog COPYING.LIB README %{_libdir}/libconfig*.so.* +%files doc +%doc AUTHORS ChangeLog COPYING.LIB README + %files devel %doc doc/libconfig.pdf %{_includedir}/libconfig* @@ -72,6 +86,9 @@ fi %{_infodir}/libconfig.info* %changelog +* Mon Jul 17 2022 mgb01105731 - 1.5-9.0.1 +- Add doc sub package + * Wed Feb 07 2018 Fedora Release Engineering - 1.5-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild