forked from pool/libwebp
Accepting request 78190 from devel:libraries:c_c++
FATE #311419 OBS-URL: https://build.opensuse.org/request/show/78190 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libwebp?expand=0&rev=1
This commit is contained in:
commit
fb9139e1f3
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
3
libwebp-0.1.2.tar.xz
Normal file
3
libwebp-0.1.2.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:6a1bad98208bfae86a82ab2925b06d111d1211fc225c128fdd32f88589ed8e1f
|
||||||
|
size 117364
|
5
libwebp.changes
Normal file
5
libwebp.changes
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Aug 6 18:57:59 UTC 2011 - jengelh@medozas.de
|
||||||
|
|
||||||
|
- Rename subpackage libwebp-tools to webp-tools to get out of
|
||||||
|
rpmlint's pedant observation that it does not contain libraries.
|
92
libwebp.spec
Normal file
92
libwebp.spec
Normal file
@ -0,0 +1,92 @@
|
|||||||
|
|
||||||
|
Name: libwebp
|
||||||
|
%define lname libwebp0
|
||||||
|
Version: 0.1.2
|
||||||
|
Release: 0
|
||||||
|
Group: System/Libraries
|
||||||
|
URL: http://webmproject.org/
|
||||||
|
Summary: Library and tools for the WebP graphics format
|
||||||
|
License: BSD3c
|
||||||
|
|
||||||
|
#Source: http://webp.googlecode.com/files/libwebp-0.1.tar.gz
|
||||||
|
Source: %name-%version.tar.xz
|
||||||
|
BuildRoot: %_tmppath/%name-%version-build
|
||||||
|
BuildRequires: libjpeg-devel, libpng-devel, xz
|
||||||
|
|
||||||
|
%define debug_package_requires %lname = %version-%release
|
||||||
|
|
||||||
|
%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 -n webp-tools
|
||||||
|
Group: Productivity/Archiving/Compression
|
||||||
|
Summary: The WebP command line tools
|
||||||
|
|
||||||
|
%description -n webp-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 %lname
|
||||||
|
Group: System/Libraries
|
||||||
|
Summary: Library for the WebP graphics format
|
||||||
|
|
||||||
|
%description -n %lname
|
||||||
|
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 devel
|
||||||
|
Group: Development/Libraries/C and C++
|
||||||
|
Summary: Development files for libwebp, a library for the WebP format
|
||||||
|
Requires: %lname = %version
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
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 -qn %name
|
||||||
|
|
||||||
|
%build
|
||||||
|
mkdir -p m4;
|
||||||
|
./autogen.sh;
|
||||||
|
%configure --disable-static
|
||||||
|
make %{?_smp_mflags};
|
||||||
|
|
||||||
|
%install
|
||||||
|
b="%buildroot";
|
||||||
|
make install DESTDIR="$b";
|
||||||
|
find "$b/%_libdir" -type f -name "*.la" -delete;
|
||||||
|
|
||||||
|
%post -n %lname -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%postun -n %lname -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%files -n webp-tools
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%_bindir/*
|
||||||
|
%_mandir/man*/*
|
||||||
|
|
||||||
|
%files -n %lname
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%_libdir/%{name}*.so.*
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%_libdir/%{name}*.so
|
||||||
|
%_includedir/*
|
||||||
|
%_libdir/pkgconfig/*
|
||||||
|
|
||||||
|
%changelog
|
Loading…
Reference in New Issue
Block a user