diff --git a/gcab.spec b/gcab.spec index 26d04008a5fa004ef401919ff8b540c421b65e36..a67e09e1c5a69477fc5db553a5b5a5a737e179fa 100644 --- a/gcab.spec +++ b/gcab.spec @@ -1,6 +1,8 @@ +%define anolis_release .0.1 + Name: gcab Version: 1.1 -Release: 1%{?dist} +Release: 1%{anolis_release}%{?dist} Summary: Cabinet file library and tool License: LGPLv2+ @@ -22,6 +24,14 @@ Requires: libgcab1%{?_isa} = %{version}-%{release} %description gcab is a tool to manipulate Cabinet archive. +%package doc +Summary: Documents for %{name} +BuildArch: noarch +Requires: %{name} = %{version}-%{release} + +%description doc +Doc pages for %{name}. + %package -n libgcab1 Summary: Library to create Cabinet archives @@ -57,10 +67,12 @@ Libraries, includes, etc. to compile with the gcab library. %ldconfig_scriptlets -n libgcab1 %files -%doc COPYING NEWS %{_bindir}/gcab %{_mandir}/man1/gcab.1* +%files doc +%doc COPYING NEWS + %files -n libgcab1 -f %{name}.lang %doc COPYING NEWS %{_libdir}/girepository-1.0/GCab-1.0.typelib @@ -76,6 +88,9 @@ Libraries, includes, etc. to compile with the gcab library. %{_libdir}/pkgconfig/libgcab-1.0.pc %changelog +* Sun Jul 17 2022 DengXiewei - 1.1-1.0.1 +- Add doc sub package + * Fri Feb 09 2018 Richard Hughes - 1.1-1 - New upstream release - Add git version in --version