diff --git a/jbigkit.spec b/jbigkit.spec index 3cb13928a6f40fae281fa1625cec8b02eafc6c9c..5d1a8774041e5d05602ec6e39cad468ad4d3f511 100644 --- a/jbigkit.spec +++ b/jbigkit.spec @@ -1,6 +1,7 @@ +%define anolis_release .0.1 Name: jbigkit Version: 2.1 -Release: 14%{?dist} +Release: 14%{anolis_release}%{?dist} Summary: JBIG1 lossless image compression tools License: GPLv2+ @@ -15,6 +16,7 @@ Patch3: jbigkit-covscan.patch # gcc needed for libjbig library and several filters - jbigtopbm, pbmtojbig e.g. BuildRequires: gcc +Requires: glibc Requires: jbigkit-libs%{?_isa} = %{version}-%{release} %package libs @@ -46,6 +48,13 @@ the JBIG-KIT image compression library. The jbigkit package contains tools for converting between PBM and JBIG1 formats. +%package doc +Summary: Documents for %{name} +BuildArch: noarch +Requires: %{name} = %{version}-%{release} + +%description doc +Doc pages for %{name}. %prep %setup -q -n jbigkit-2.1 @@ -94,14 +103,20 @@ make test %files libs %{_libdir}/libjbig*.so.%{version} -%doc ANNOUNCE TODO CHANGES %license COPYING %files devel %{_libdir}/libjbig*.so %{_includedir}/jbig*.h +%files doc +%doc ANNOUNCE TODO CHANGES +%license COPYING + %changelog +* Fri Jul 15 2022 Weisson - 2.1-14.0.1 +- Add doc sub package + * Thu Oct 25 2018 Zdenek Dohnal - 2.1-14 - 1602563 - Please review important issues found by covscan in "jbigkit-2.1-12.el8+7" package