Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:aevseev
libvpx
_service:set_version:libvpx.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:set_version:libvpx.spec of Package libvpx
%define realname libvpx %define srcext tar.bz2 %define so_ver 5 # turn off the generation of debuginfo rpm (RH9) ?? %global debug_package %{nil} %if 0%{?suse_version} %define tools_pkg vpx-tools %define tools_prov libvpx-utils %else %define tools_pkg libvpx-utils %define tools_prov vpx-tools %endif # Common info Name: %{realname}%{?so_ver} Version: 1.7.0 Release: 0%{?extraver:0.}1%{?dist} License: BSD-3-Clause Group: Productivity/Multimedia/Video/Editors and Convertors URL: http://www.webmproject.org/ Summary: VP8/VP9 Codec # Install-time parameters Provides: %{realname} = %{version}-%{release} %if 0%{!?suse_version} Obsoletes: %{realname} < %{version}-%{release} %endif # Build-time parameters BuildRequires: pkgconfig gcc-c++ yasm BuildRoot: %{_tmppath}/%{name}-root Source: http://storage.googleapis.com/downloads.webmproject.org/releases/webm/%{realname}-%{version}%{?extraver}.%{srcext} %description VP8/VP9 Codec library %package -n %{realname}-devel Group: Development/Languages/C and C++ Summary: Development files for %{name} Requires: %{name} = %{version}-%{release} Provides: %{name}-devel = %{version}-%{release} %description -n %{realname}-devel Development files for %{name} %package -n %{tools_pkg} Group: Productivity/Multimedia/Video/Editors and Convertors Summary: VP8/VP9 Codec tools Provides: %{tools_prov} = %{version}-%{release} %description -n %{tools_pkg} VP8/VP9 Codec tools # Preparation step (unpackung and patching if necessary) %prep %setup -q -n %{realname}-%{version}%{?extraver} %build ./configure \ --prefix=%{_prefix} \ --libdir=%{_libdir} \ %if 0%{__isa_bits} == 64 --target=%{__isa_name}_%{__isa_bits}-%{_os}-gcc \ %else --target=%{__isa_name}-%{_os}-gcc \ %endif --enable-pic \ \ --enable-vp9-highbitdepth \ --enable-vp8 \ --enable-vp9 \ --enable-postproc \ --enable-vp9-postproc \ --enable-runtime-cpu-detect \ --enable-shared \ --disable-static \ --enable-postproc-visualizer \ --enable-vp9-temporal-denoising \ --enable-webm-io \ --enable-libyuv %{__make} %{?_smp_mflags} %install %{__make} install DESTDIR=%{buildroot} %clean [ "%{buildroot}" != "/" ] && %{__rm} -rf %{buildroot} %files %defattr(-,root,root) %doc AUTHORS LICENSE PATENTS README %{_libdir}/*.so.%{?so_ver}* # Development stuff %files -n %{realname}-devel %defattr(-,root,root) %{_libdir}/pkgconfig/vpx.pc %dir %{_includedir}/vpx/ %{_includedir}/vpx/*.h %{_libdir}/*.so # Tools %files -n %{tools_pkg} %defattr(-,root,root) %{_bindir}/* %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor