Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:aevseev:desktop
xvidcore
xvidcore.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xvidcore.spec of Package xvidcore
%define realname xvidcore %define realver 1.3.7 %define srcext tar.xz %define so_ver 4 # turn off the generation of debuginfo rpm (RH9) ?? %global debug_package %{nil} # Common info Name: lib%{realname}%{?so_ver} Version: %{realver} Release: %{?extraver:0.}1%{?dist} License: GPL-2.0 Group: Productivity/Multimedia/Video/Editors and Convertors URL: https://labs.xvid.com/ Summary: High performance and high quality MPEG-4 video de-/encoding solution # Install-time parameters Provides: lib%{realname} %if 0%{?rhel} && %{__isa_bits} == 64 Provides: lib%{realname}.so.%{so_ver}()(64bit) %endif # Build-time parameters BuildRequires: yasm BuildRoot: %{_tmppath}/%{name}-root Source: https://downloads.xvid.com/downloads/%{realname}-%{realver}%{?extraver}.%{srcext} %description Xvid is a high performance and high quality MPEG-4 video de-/encoding solution. %package -n lib%{realname}-devel Group: Development/Languages/C and C++ Summary: Development files for %{name} Requires: %{name} = %{version}-%{release} Provides: lib%{realname}%{?so_ver}-devel = %{version}-%{release} %description -n lib%{realname}-devel Development files for %{name} # Preparation step (unpackung and patching if necessary) %prep %setup -q -n %{realname} %build _CFLAGS='%{optflags} %{?gcc_lto}' _LDFLAGS='-Wl,--as-needed -Wl,--strip-all -Wl,--no-undefined -Wl,-z,now -Wl,-z,relro %{?gcc_lto}' cd build/generic %configure \ --disable-static \ CFLAGS="$_CFLAGS" \ CXXFLAGS="$_CFLAGS" \ LDFLAGS="$_LDFLAGS" %{__make} %{?_smp_mflags} %install %{__make} install DESTDIR=%{buildroot} \ -C build/generic %clean [ "%{buildroot}" != "/" ] && %{__rm} -rf %{buildroot} # Library %files %defattr(-,root,root) %doc AUTHORS LICENSE README %{_libdir}/lib%{realname}.so.%{?so_ver}* # Development stuff %files -n lib%{realname}-devel %defattr(-,root,root) %{_includedir}/xvid.h %{_libdir}/lib%{realname}.so %exclude %{_libdir}/*.a %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