libvpx

Rating: 
0
No votes yet

Name: libvpx
Version: 1.2.0
Release: 1
Summary: Libvpx - VP8 codec

#Group:
License: LGPLv2
URL: https://code.google.com/p/webm
Source: https://webm.googlecode.com/files/libvpx-v%{version}.tar.bz2
#BuildRoot:    %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)

BuildRequires: nasm

%description
Libvpx - VP8 codec.

%prep
%setup -q -n libvpx-v%{version}
export CFLAGS="$CFLAGS -fPIC"
./configure --prefix=/usr \
    --target=generic-gnu \
    --enable-runtime-cpu-detect \
    --enable-shared \
    --enable-postproc \
    --disable-install-docs \
    --disable-install-srcs \
    --disable-examples \
    --disable-static
%build
make

%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT

# Remove unneded stuff
#rm -r $RPM_BUILD_ROOT/usr/bin

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%{_libdir}/*

%package devel
Summary: Libvpx headers
Requires: libvpx

%description devel
Libvpx headers

%files devel
%{_includedir}/*

%doc

%changelog

Category:

Keywords:

Application versions: 
AttachmentSizeDate
File libvpx-1.2.0-1.armv7hl.rpm197.85 KB03/01/2014 - 19:44
File libvpx-devel-1.2.0-1.armv7hl.rpm23.35 KB03/01/2014 - 19:44