From ccc25c91f311275ba314c6caff39756575aec21f Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 04:22:48 +0100 Subject: [PATCH] update to 5.2.1 [release 5.2.1-1mamba;Thu Mar 18 2021] --- libgif.spec | 32 +++++++++++++++++++------------- 1 file changed, 19 insertions(+), 13 deletions(-) diff --git a/libgif.spec b/libgif.spec index 28a674e..5a76038 100644 --- a/libgif.spec +++ b/libgif.spec @@ -1,13 +1,13 @@ Name: libgif -Version: 5.1.2 +Version: 5.2.1 Release: 1mamba Summary: A library for reading and writing gif image Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco -URL: http://sourceforge.net/projects/giflib -Source: http://downloads.sourceforge.net/sourceforge/giflib/giflib-%{version}.tar.bz2 +URL: https://sourceforge.net/projects/giflib +Source: https://sourceforge.net/projects/giflib/files/giflib-%{version}.tar.gz License: MIT ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel @@ -18,7 +18,6 @@ BuildRequires: libXau-devel BuildRequires: libxcb-devel BuildRequires: libXdmcp-devel ## AUTOBUILDREQ-END -BuildRoot: %{_tmppath}/%{name}-%{version}-root %description giflib is a library for reading and writing gif images. It is API and ABI compatible with libungif which was in wide use while the LZW compression algorithm was patented. @@ -30,7 +29,7 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description devel giflib is a library for reading and writing gif images. It is API and ABI compatible with libungif which was in wide use while the LZW compression algorithm was patented. -This package contains static libraries and header files need for development. +This package contains static libraries and header files needed for development. %package tools Group: Applications/Graphics @@ -40,16 +39,21 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description tools This package contains utility applications for %{name}. +%debug_package + %prep %setup -q -n giflib-%{version} %build -%configure -%make +%make \ + PREFIX=%{_prefix} \ + LIBDIR=%{_libdir} %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%makeinstall +%makeinstall\ + PREFIX=%{_prefix} \ + LIBDIR=%{_libdir} %post -p /sbin/ldconfig @@ -61,22 +65,24 @@ This package contains utility applications for %{name}. %files %defattr(-,root,root) %{_libdir}/libgif.so.* -%doc AUTHORS COPYING +%doc COPYING %files devel %defattr(-,root,root) %{_libdir}/libgif.a -%{_libdir}/libgif.la %{_libdir}/libgif.so -%{_includedir}/*.h -%doc BUGS COPYING ChangeLog NEWS README TODO +%{_includedir}/gif_lib.h +%doc ChangeLog NEWS README TODO %files tools %defattr(-,root,root) %{_bindir}/gif* -%{_mandir}/man1/gif*.1.gz* +%{_mandir}/man1/gif*.1* %changelog +* Thu Mar 18 2021 Silvan Calarco 5.2.1-1mamba +- update to 5.2.1 + * Mon Jan 25 2016 Automatic Build System 5.1.2-1mamba - automatic update by autodist