From 7da1755c07ad63d9960340e4f44bbbe01dced04f Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 06:08:04 +0100 Subject: [PATCH] legacy package [release 0.3.1-2mamba;Tue Aug 18 2015] --- README.md | 3 ++ libwebp4.spec | 109 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 112 insertions(+) create mode 100644 libwebp4.spec diff --git a/README.md b/README.md index bf15c22..9fdd733 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ # libwebp4 +WebP is a method of lossy compression that can be used on photographic images. +The degree of compression is adjustable so a user can choose the trade-off between file size and image quality. + diff --git a/libwebp4.spec b/libwebp4.spec new file mode 100644 index 0000000..2d6c46a --- /dev/null +++ b/libwebp4.spec @@ -0,0 +1,109 @@ +Name: libwebp4 +Version: 0.3.1 +Release: 2mamba +Summary: WebP library +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Stefano Cotta Ramusino +URL: http://code.google.com/speed/webp/ +Source: http://webp.googlecode.com/files/libwebp-%{version}.tar.gz +License: BSD +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libjpeg-devel +BuildRequires: libpng-devel +BuildRequires: libz-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +WebP is a method of lossy compression that can be used on photographic images. +The degree of compression is adjustable so a user can choose the trade-off between file size and image quality. + +%package devel +Group: Development/Libraries +Summary: Static libraries and headers for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description devel +WebP is a method of lossy compression that can be used on photographic images. +The degree of compression is adjustable so a user can choose the trade-off between file size and image quality. + +This package contains static libraries and header files need for development. + +%package tools +Group: Applications/Graphics +Summary: The WebP command line tools +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description tools +WebP is a method of lossy compression that can be used on photographic images. +The degree of compression is adjustable so a user can choose the trade-off between file size and image quality. + +This package contains utility applications for %{name}. + +%prep +%setup -q -n libwebp-%{version} + +%build +./autogen.sh +%configure \ + --disable-static +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_libdir}/*.so.* +%doc AUTHORS COPYING +#ChangeLog NEWS README + +%files devel +%defattr(-,root,root) +%{_includedir}/webp +%{_libdir}/*.la +%{_libdir}/*.so +%{_libdir}/pkgconfig/*.pc + +%files tools +%defattr(-,root,root) +%{_bindir}/* +%{_mandir}/man1/* + +%changelog +* Tue Aug 18 2015 Silvan Calarco 0.3.1-2mamba +- legacy package + +* Fri Jun 28 2013 Automatic Build System 0.3.1-1mamba +- automatic version update by autodist + +* Tue Apr 02 2013 Automatic Build System 0.3.0-1mamba +- automatic version update by autodist + +* Mon Dec 10 2012 Automatic Build System 0.2.1-1mamba +- automatic version update by autodist + +* Sat Dec 01 2012 Automatic Build System 0.2.0-1mamba +- automatic version update by autodist + +* Sun Jan 22 2012 Silvan Calarco 0.1.3-1mamba +- update to 0.1.3 + +* Sat May 28 2011 Stefano Cotta Ramusino 0.1.2-1mamba +- update to 0.1.2 + +* Mon Nov 29 2010 Stefano Cotta Ramusino 0.0.4-1mamba +- update to 0.0.4 + +* Fri Oct 01 2010 Stefano Cotta Ramusino 0.0.1-1mamba +- package created by autospec