2 |
%define libname %mklibname vpx %major |
%define libname %mklibname vpx %major |
3 |
%define develname %mklibname -d vpx |
%define develname %mklibname -d vpx |
4 |
%define snapshot 0 |
%define snapshot 0 |
5 |
|
|
6 |
|
# disable to build without php and doxygen |
7 |
|
%define build_doc 0 |
8 |
|
|
9 |
Name: libvpx |
Name: libvpx |
10 |
Summary: VP8 Video Codec SDK |
Summary: VP8 Video Codec SDK |
11 |
Version: 0.9.5 |
Version: 0.9.5 |
12 |
Release: %mkrel 1 |
Release: %mkrel 2 |
13 |
License: BSD |
License: BSD |
14 |
Group: System/Libraries |
Group: System/Libraries |
15 |
Source0: http://webm.googlecode.com/files/%{name}-v%{version}.tar.bz2 |
Source0: http://webm.googlecode.com/files/%{name}-v%{version}.tar.bz2 |
22 |
%ifarch %{ix86} x86_64 |
%ifarch %{ix86} x86_64 |
23 |
BuildRequires: yasm |
BuildRequires: yasm |
24 |
%endif |
%endif |
25 |
|
%if %build_doc |
26 |
BuildRequires: doxygen, php-cli |
BuildRequires: doxygen, php-cli |
27 |
|
%endif |
28 |
|
|
29 |
%description |
%description |
30 |
libvpx provides the VP8 SDK, which allows you to integrate your applications |
libvpx provides the VP8 SDK, which allows you to integrate your applications |
148 |
|
|
149 |
%files -n %develname |
%files -n %develname |
150 |
%defattr(-,root,root,-) |
%defattr(-,root,root,-) |
151 |
|
%if %build_doc |
152 |
# These are SDK docs, not really useful to an end-user. |
# These are SDK docs, not really useful to an end-user. |
153 |
%doc docs/html |
%doc docs/html |
154 |
|
%endif |
155 |
%{_includedir}/vpx/ |
%{_includedir}/vpx/ |
156 |
%{_libdir}/pkgconfig/libvpx.pc |
%{_libdir}/pkgconfig/libvpx.pc |
157 |
%{_libdir}/libvpx.so |
%{_libdir}/libvpx.so |