Update to 0.4.0

This commit is contained in:
Sandro Mani 2014-01-02 00:17:16 +01:00
parent 81e7dca44a
commit 6389b4d743
3 changed files with 31 additions and 28 deletions

1
.gitignore vendored
View File

@ -2,3 +2,4 @@
/libwebp-0.2.1.tar.gz /libwebp-0.2.1.tar.gz
/libwebp-0.3.0.tar.gz /libwebp-0.3.0.tar.gz
/libwebp-0.3.1.tar.gz /libwebp-0.3.1.tar.gz
/libwebp-0.4.0.tar.gz

View File

@ -1,7 +1,8 @@
%global _hardened_build 1 %global _hardened_build 1
Name: libwebp Name: libwebp
Version: 0.3.1 Version: 0.4.0
Release: 2%{?dist} Release: 1%{?dist}
Group: Development/Libraries Group: Development/Libraries
URL: http://webmproject.org/ URL: http://webmproject.org/
Summary: Library and tools for the WebP graphics format Summary: Library and tools for the WebP graphics format
@ -9,11 +10,13 @@ Summary: Library and tools for the WebP graphics format
License: BSD License: BSD
Source0: http://webp.googlecode.com/files/%{name}-%{version}.tar.gz Source0: http://webp.googlecode.com/files/%{name}-%{version}.tar.gz
Source1: libwebp_jni_example.java Source1: libwebp_jni_example.java
BuildRequires: libjpeg-devel libpng-devel libtool swig BuildRequires: libjpeg-devel
BuildRequires: libpng-devel
BuildRequires: giflib-devel BuildRequires: giflib-devel
BuildRequires: libtiff-devel BuildRequires: libtiff-devel
BuildRequires: java-devel BuildRequires: java-devel
BuildRequires: jpackage-utils BuildRequires: jpackage-utils
BuildRequires: swig
%description %description
WebP is an image format that does lossy compression of digital WebP is an image format that does lossy compression of digital
@ -59,8 +62,7 @@ Java bindings for libwebp.
%setup -q %setup -q
%build %build
./autogen.sh %configure --disable-static --enable-libwebpmux --enable-libwebpdemux --enable-libwebpdecoder
%configure --disable-static --enable-libwebpmux --enable-libwebpdemux
make %{?_smp_mflags} make %{?_smp_mflags}
# swig generated Java bindings # swig generated Java bindings
@ -71,7 +73,7 @@ mkdir -p java/com/google/webp
swig -ignoremissing -I../src -java \ swig -ignoremissing -I../src -java \
-package com.google.webp \ -package com.google.webp \
-outdir java/com/google/webp \ -outdir java/com/google/webp \
-o libwebp_java_wrap.c libwebp.i -o libwebp_java_wrap.c libwebp.swig
gcc %{optflags} -shared \ gcc %{optflags} -shared \
-I/usr/lib/jvm/java/include \ -I/usr/lib/jvm/java/include \

View File

@ -1 +1 @@
dc862bb4006d819b7587767a9e83d31f libwebp-0.3.1.tar.gz c8dd1d26eb9566833aba269b86d97e68 libwebp-0.4.0.tar.gz