+Name: libvpx
+Summary: vpx Multi-Format Codec SDK
+Version: 1.1.0+1+965d8
+Release: 1
+Group: System/Libraries
+License: BSD
+URL: http://www.webmproject.org
+Source0: %{name}-%{version}.tar.bz2
+
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+BuildRequires: binutils-devel
+BuildRequires: yasm
+
+%description
+This package provides the WebM VP8 Codec SDK.
+WebM is an open, royalty-free, media file format designed for the web.
+WebM defines the file container structure, video and audio formats. WebM
+files consist of video streams compressed with the VP8 video codec and
+audio streams compressed with the Vorbis audio codec. The WebM file structure
+is based on the Matroska container.
+
+%package devel
+Summary: Development components for the libvpx library
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+libvpx development libraries and head files
+
+%prep
+%setup -q -n %{name}-%{version}
+
+%build
+./configure --prefix=/usr --as=yasm --enable-shared
+
+make %{?jobs:-j%jobs}
+
+%install
+%make_install
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%{_libdir}/libvpx.so.*
+%{_bindir}/vpxdec
+%{_bindir}/vpxenc
+%{_bindir}/vp8_scalable_patterns
+
+%files devel
+%{_includedir}/vpx/*
+%{_libdir}/libvpx.so
+%{_libdir}/pkgconfig/vpx.pc