diff --git a/giflib.spec b/giflib.spec index 80d0066da76e0ac1e3028bee98af1450998e774a..3d05bd41a54b0c952f67f6c8cf587f0191f63e7b 100644 --- a/giflib.spec +++ b/giflib.spec @@ -1,7 +1,8 @@ +%define anolis_release .0.1 Name: giflib Summary: A library and utilities for processing GIFs Version: 5.1.4 -Release: 3%{?dist} +Release: 3%{anolis_release}%{?dist} License: MIT URL: http://www.sourceforge.net/projects/%{name}/ @@ -15,6 +16,8 @@ BuildRequires: gcc BuildRequires: make BuildRequires: xmlto +Requires: glibc + %description giflib is a library for reading and writing gif images. @@ -37,6 +40,13 @@ Requires: %{name}%{?_isa} = %{version}-%{release} The giflib-utils package contains various programs for manipulating GIF format image files. +%package doc +Summary: Documents for %{name} +BuildArch: noarch +Requires: %{name} = %{version}-%{release} + +%description doc +Doc pages for %{name}. %prep %autosetup -p1 @@ -64,12 +74,10 @@ rm -f doc/Makefile* %files -%doc AUTHORS ChangeLog NEWS README %license COPYING %{_libdir}/libgif.so.7* %files devel -%doc doc/* %{_libdir}/libgif.so %{_includedir}/gif_lib.h @@ -77,8 +85,14 @@ rm -f doc/Makefile* %{_bindir}/gif* %{_mandir}/man1/gif*.1* +%files doc +%doc doc/* +%doc AUTHORS ChangeLog NEWS README %changelog +* Fri Jul 15 2022 Weisson - 5.1.4-3.0.1 +- Add doc sub package + * Thu Nov 08 2018 Nikola Forró - 5.1.4-3 - Generate HTML docs with consistent section IDs to avoid multilib difference related: #1602513