xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.


Ticket #613: libwebp-xpra.spec

File libwebp-xpra.spec, 1.4 KB (added by pyther, 8 years ago)
Line 
1Name:        libwebp-xpra
2Version:     0.4.0
3Release:     1%{?dist}
4Summary:     WebP library and conversion tools
5
6Group:       Applications/Multimedia
7License:     BSD
8URL:         https://developers.google.com/speed/webp/
9Source0:     https://webp.googlecode.com/files/libwebp-%{version}.tar.gz
10BuildRoot:   %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
11
12#BuildRequires: yasm
13#Requires:     
14
15%description
16WebP library and conversion tools
17
18%package devel
19Summary: Development files for the webp library
20Group: Development/libraries
21Requires: %{name} = %{version}
22Requires: pkgconfig
23
24%description devel
25This package contains the files required to develop programs that will encode
26WebP images.
27
28%prep
29%setup -q -n libwebp-%{version}
30
31
32%build
33./configure \
34    --prefix="%{_prefix}" \
35    --libdir="%{_libdir}/xpra" \
36    --includedir="%{_includedir}/xpra" \
37    --enable-pic \
38    --enable-shared
39
40make %{?_smp_mflags}
41
42
43%install
44rm -rf %{buildroot}
45make install DESTDIR=%{buildroot}
46
47rm -rf %{buildroot}/usr/bin
48rm -rf %{buildroot}/usr/share
49
50
51%clean
52rm -rf %{buildroot}
53
54
55%files
56%defattr(-,root,root,-)
57%doc AUTHORS COPYING PATENTS README
58%{_libdir}/xpra/libwebp.so.*
59
60%files devel
61%defattr(-,root,root,-)
62%{_includedir}/xpra/webp/
63%{_libdir}/xpra/libwebp.a
64%{_libdir}/xpra/libwebp.la
65%{_libdir}/xpra/libwebp.so
66%{_libdir}/xpra/pkgconfig/libwebp.pc
67
68
69%changelog
70* Mon Jul 14 2014 Matthew Gyurgyik <pyther@pyther.net>
71- initial package