Projects
home:vmp
x264-152
libx264.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libx264.spec of Package x264-152
%global debug_package %{nil} %define soname 152 %define tar_version snapshot-20180305-2245-stable %define _prefix /usr/local Name: libx264 Summary: A free h264/avc encoder - encoder binary License: GPL v2 Group: A free h264/avc encoder - encoder binary URL: http://www.videolan.org/developers/x264.html Version: %{soname} Release: 0.snr.0 #Source0: {name}-{tar_version}.tar.gz Source0: x264-%{tar_version}.tar.bz2 #Source1: https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm #Vendor: BuildRequires: nasm >= 2.13 BuildRequires: pkgconfig BuildRoot: %{_builddir}/%{name}-ROOT #BuildRoot: {_tmppath}/{name}-root #BuildRequires: cmake libkde4-devel libqt4-devel %description x264 is a free library for encoding next-generation H264/AVC video streams. %package %{soname} Summary: A free h264/avc encoder - encoder binary Group: System/Libraries %description %{soname} x264 is a free library for encoding next-generation H264/AVC video streams. %package -n x264 Summary: Binaries for x264 streams conversions %description -n x264 x264 is a free library for encoding next-generation H264/AVC video streams. %package devel Summary: Libraries and include file for the %{name} encoder Group: Development/Libraries/C and C++ Requires: %{name}-%{soname} = %{version} Provides: x264-devel = %{version} Obsoletes: x264-devel < %{version} %description devel x264 is a free library for encoding next-generation H264/AVC video streams. %prep #setup -qn {name}-{tar_version} %setup -qn x264-%{tar_version} %build ./configure --prefix="%{_prefix}" --enable-shared --libdir="%{_libdir}" --includedir="%{_includedir}" make %{?_smp_mflags} %install make DESTDIR=%{buildroot} install %clean rm -rf %{buildroot} %files -n x264 %attr(0755,root,root) %{_bindir}/x264 %post -n %{name}-%{soname} -p /sbin/ldconfig %postun -n %{name}-%{soname} -p /sbin/ldconfig %files %{soname} #files %defattr(0644,root,root) %{_libdir}/%{name}.so.%{soname} %files devel %defattr(0644,root,root) %{_includedir}/x264.h %{_includedir}/x264_config.h %{_libdir}/pkgconfig %{_libdir}/pkgconfig/x264.pc %{_libdir}/%{name}.so
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.