## ## 0 minutes 23 seconds ## Name: la-libvpx Version: 1.10.0 Release: 1%{?dist} Summary: libvpx - VP8 Video Codec SDK Group: System Environment/Libraries License: BSD URL: https://www.webmproject.org/code/ %undefine _disable_source_fetch Source0: https://github.com/webmproject/libvpx/archive/v%{version}.tar.gz Packager: %packager BuildRequires: gcc, libgcc, glibc-devel, zlib-devel, gcc-c++, make BuildRequires: yasm >= 1.3.0 BuildRequires: perl %define debug_package %nil %description libvpx provides the VP8 SDK, which allows you to integrate your applications with the VP8 video codec, a high quality, royalty free, open source codec deployed on millions of computers and devices worldwide. %prep %setup -q -n libvpx-%{version} %build ./configure --prefix=%{_prefix} --libdir=%{_libdir} --disable-examples --disable-unit-tests --enable-vp9-highbitdepth --enable-vp8 --enable-vp9 --as=yasm \ --enable-shared --disable-static make %{?_smp_mflags} %install [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT make DESTDIR=$RPM_BUILD_ROOT install %post if [ $1 == 1 ];then /sbin/ldconfig fi #%postun #if [ $1 == 0 ];then #uninstalled #fi %clean [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT %files %license LICENSE %doc AUTHORS CHANGELOG README PATENTS /usr/include/vpx/vp8.h /usr/include/vpx/vp8cx.h /usr/include/vpx/vp8dx.h /usr/include/vpx/vpx_codec.h /usr/include/vpx/vpx_decoder.h /usr/include/vpx/vpx_encoder.h /usr/include/vpx/vpx_frame_buffer.h /usr/include/vpx/vpx_image.h /usr/include/vpx/vpx_integer.h /usr/include/vpx/vpx_ext_ratectrl.h /usr/lib64/libvpx.so /usr/lib64/libvpx.so.6 /usr/lib64/libvpx.so.6.4 /usr/lib64/libvpx.so.6.4.0 /usr/lib64/pkgconfig/vpx.pc