diff --git a/libgif.spec b/libgif.spec index 5a76038..0355904 100644 --- a/libgif.spec +++ b/libgif.spec @@ -1,5 +1,5 @@ Name: libgif -Version: 5.2.1 +Version: 5.2.2 Release: 1mamba Summary: A library for reading and writing gif image Group: System/Libraries @@ -11,12 +11,6 @@ Source: https://sourceforge.net/projects/giflib/files/giflib-%{version}.t License: MIT ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel -BuildRequires: libICE-devel -BuildRequires: libSM-devel -BuildRequires: libX11-devel -BuildRequires: libXau-devel -BuildRequires: libxcb-devel -BuildRequires: libXdmcp-devel ## AUTOBUILDREQ-END %description @@ -43,6 +37,8 @@ This package contains utility applications for %{name}. %prep %setup -q -n giflib-%{version} +# Fix installing man pages +sed -e 's|giflib.xml|giflib.7|' -re 's|doc/(.*).xml|doc/\1.1|g' -i Makefile %build %make \ @@ -55,8 +51,10 @@ This package contains utility applications for %{name}. PREFIX=%{_prefix} \ LIBDIR=%{_libdir} -%post -p /sbin/ldconfig +install -d -m0755 %{buildroot}%{_mandir}/man7 +mv %{buildroot}%{_mandir}/man{1/giflib.7,7} +%post -p /sbin/ldconfig %postun -p /sbin/ldconfig %clean @@ -72,6 +70,7 @@ This package contains utility applications for %{name}. %{_libdir}/libgif.a %{_libdir}/libgif.so %{_includedir}/gif_lib.h +%{_mandir}/man7/giflib.7* %doc ChangeLog NEWS README TODO %files tools @@ -80,6 +79,9 @@ This package contains utility applications for %{name}. %{_mandir}/man1/gif*.1* %changelog +* Thu Feb 22 2024 Automatic Build System 5.2.2-1mamba +- automatic version update by autodist + * Thu Mar 18 2021 Silvan Calarco 5.2.1-1mamba - update to 5.2.1