Accepting request 103412 from devel:libraries:c_c++

- Rename webp-tools to libwebp-tools to follow scheme of other
  lib*-tools packages.

OBS-URL: https://build.opensuse.org/request/show/103412
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libwebp?expand=0&rev=7
This commit is contained in:
Stephan Kulow 2012-02-10 16:17:40 +00:00 committed by Git OBS Bridge
parent f572585298
commit 0203e15dd3
2 changed files with 27 additions and 15 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Jan 30 12:51:06 UTC 2012 - jengelh@medozas.de
- Rename webp-tools to libwebp-tools to follow scheme of other
lib*-tools packages.
-------------------------------------------------------------------
Wed Nov 23 09:26:59 UTC 2011 - coolo@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package libwebp
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,22 +16,25 @@
#
Name: libwebp
%define lname libwebp2
Version: 0.1.3
Release: 1
Group: System/Libraries
Release: 0
Url: http://webmproject.org/
Summary: Library and tools for the WebP graphics format
License: BSD3c
License: BSD-3-Clause
Group: System/Libraries
Source0: http://webp.googlecode.com/files/%{name}-%{version}.tar.gz
Source1: baselibs.conf
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: libjpeg-devel libpng-devel libtool xz
%define debug_package_requires %lname = %version-%release
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libjpeg-devel
BuildRequires: libpng-devel
BuildRequires: libtool
BuildRequires: pkgconfig
BuildRequires: xz
%description
WebP is an image format that does lossy compression of digital
@ -40,11 +43,14 @@ container based on RIFF. Webmasters, web developers and browser
developers can use WebP to compress, archive and distribute digital
images more efficiently.
%package -n webp-tools
Group: Productivity/Archiving/Compression
%package tools
Summary: The WebP command line tools
Group: Productivity/Archiving/Compression
#O/P added in 12.2
Obsoletes: webp-tools < %version-%release
Provides: webp-tools = %version-%release
%description -n webp-tools
%description tools
WebP is an image format that does lossy compression of digital
photographic images. WebP consists of a codec based on VP8, and a
container based on RIFF. Webmasters, web developers and browser
@ -52,8 +58,8 @@ developers can use WebP to compress, archive and distribute digital
images more efficiently.
%package -n %lname
Group: System/Libraries
Summary: Library for the WebP graphics format
Group: System/Libraries
%description -n %lname
WebP is an image format that does lossy compression of digital
@ -63,8 +69,8 @@ developers can use WebP to compress, archive and distribute digital
images more efficiently.
%package devel
Group: Development/Libraries/C and C++
Summary: Development files for libwebp, a library for the WebP format
Group: Development/Libraries/C and C++
Requires: %lname = %version
%description devel
@ -86,13 +92,13 @@ make %{?_smp_mflags}
%install
b="%buildroot";
make install DESTDIR="$b";
find "$b/%_libdir" -type f -name "*.la" -delete;
rm -f "%buildroot/%_libdir"/*.la;
%post -n %lname -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig
%files -n webp-tools
%files -n libwebp-tools
%defattr(-,root,root)
%_bindir/*
%_mandir/man*/*