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
Attachment | Size | Date |
---|---|---|
libvpx-1.2.0-1.armv7hl.rpm | 197.85 KB | 03/01/2014 - 19:44 |
libvpx-devel-1.2.0-1.armv7hl.rpm | 23.35 KB | 03/01/2014 - 19:44 |
Recent comments