Sophie

Sophie

distrib > Mageia > 5 > x86_64 > media > core-release-src > by-pkgid > 919715e31272215d7809c1d1e5f764a7 > files > 2

libwebp-0.4.3-1.mga5.src.rpm

%define major 5
%define libwebpdemux_major 1

%define	libname %mklibname webp %{major}
%define	demuxlibname %mklibname webpdemux %libwebpdemux_major
%define	devellibname %mklibname -d webp

Name:		libwebp
Version:	0.4.3
Release:	%mkrel 1
Group:		Development/C
URL:		http://webmproject.org/
Summary:	Library and tools for the WebP graphics format
# Additional IPR is licensed as well. See PATENTS file for details
License:	BSD
Source0:	http://downloads.webmproject.org/releases/webp/%{name}-%{version}.tar.gz
BuildRequires:	libjpeg-devel
BuildRequires:	libpng-devel
BuildRequires:	libtiff-devel
BuildRequires:	libungif-devel
BuildRequires:	libtool
BuildRequires:	swig

%description
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
developers can use WebP to compress, archive and distribute digital
images more efficiently.

%package tools
Group:		Development/Other
Summary:	The WebP command line 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
developers can use WebP to compress, archive and distribute digital
images more efficiently.

%package -n	%{libname}
Group:		System/Libraries
Summary:	Library for the WebP format

%description -n %{libname}
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
developers can use WebP to compress, archive and distribute digital
images more efficiently.

%package -n %{demuxlibname}
Group:		System/Libraries
Summary:	Library for the WebP format with support for demuxing

%description -n %{demuxlibname}
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
developers can use WebP to compress, archive and distribute digital
images more efficiently.

%package -n	%{devellibname}
Group:		Development/C
Summary:	Development files for libwebp, a library for the WebP format
Requires:	%{libname} = %{version}-%{release}
Requires:	%{demuxlibname} = %{version}-%{release}
Provides:	webp-devel = %{version}-%{release}

%description -n %{devellibname}
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
developers can use WebP to compress, archive and distribute digital
images more efficiently.

%prep
%setup -q

%build
autoreconf -fi
%configure2_5x --disable-static --enable-libwebpdemux
%make

%install
%makeinstall_std
find "%{buildroot}/%{_libdir}" -type f -name "*.la" -delete

%files tools
%{_bindir}/*
%{_mandir}/man*/*

%files -n %{libname}
%doc README PATENTS COPYING NEWS AUTHORS
%{_libdir}/%{name}*.so.%{major}*

%files -n %{demuxlibname}
%{_libdir}/libwebpdemux.so.%{libwebpdemux_major}*

%files -n %{devellibname}
%{_libdir}/%{name}*.so
%{_includedir}/*
%{_libdir}/pkgconfig/*


%changelog
* Wed Apr 15 2015 luigiwalser <luigiwalser> 0.4.3-1.mga5
+ Revision: 820290
- 0.4.3

* Tue Nov 04 2014 cjw <cjw> 0.4.2-2.mga5
+ Revision: 795490
- enable libwebpdemux, chromium-browser can use this

* Mon Nov 03 2014 luigiwalser <luigiwalser> 0.4.2-1.mga5
+ Revision: 795357
- 0.4.2

* Wed Oct 15 2014 umeabot <umeabot> 0.4.1-3.mga5
+ Revision: 745636
- Second Mageia 5 Mass Rebuild

* Tue Sep 16 2014 umeabot <umeabot> 0.4.1-2.mga5
+ Revision: 681854
- Mageia 5 Mass Rebuild

* Thu Jul 31 2014 luigiwalser <luigiwalser> 0.4.1-1.mga5
+ Revision: 658785
- 0.4.1
- update source URL

* Sat Feb 15 2014 luigiwalser <luigiwalser> 0.4.0-1.mga5
+ Revision: 591534
- 0.4.0
- library major is now 5

* Sat Oct 19 2013 umeabot <umeabot> 0.3.1-2.mga4
+ Revision: 528901
- Mageia 4 Mass Rebuild

* Sat Jun 29 2013 sander85 <sander85> 0.3.1-1.mga4
+ Revision: 448238
- New version: 0.3.1

* Sun Jun 02 2013 fwang <fwang> 0.3.0-3.mga4
+ Revision: 434625
- rebuild for new libpng

* Thu May 23 2013 fwang <fwang> 0.3.0-2.mga4
+ Revision: 425600
- add more br
- add more br

* Thu May 23 2013 fwang <fwang> 0.3.0-1.mga4
+ Revision: 425511
- new version 0.3.0

* Sat Jan 12 2013 umeabot <umeabot> 0.2.1-2.mga3
+ Revision: 358445
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

  + fwang <fwang>
    - drop java support

* Thu Nov 15 2012 fwang <fwang> 0.2.1-1.mga3
+ Revision: 318088
- new version 0.2.1

* Sun Aug 26 2012 fedya <fedya> 0.2.0-1.mga3
+ Revision: 284037
- added %%mkrel macro
- %major macro into files section
- imported package libwebp