From f247a59af691b3551790823ff621d334b62cc12f0e1c5f5ad7569e89e7bb4a13 Mon Sep 17 00:00:00 2001 From: Kshitij Kulshreshtha Date: Wed, 21 Mar 2012 22:15:55 +0000 Subject: [PATCH] Accepting request 110494 from home:jengelh:branches:X11:XOrg - Remove redundant sections, compress filelist - Enable parallel build - Use pkgconfig symbols for deps OBS-URL: https://build.opensuse.org/request/show/110494 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libva?expand=0&rev=23 --- libva.changes | 7 +++++++ libva.spec | 22 +++++----------------- 2 files changed, 12 insertions(+), 17 deletions(-) diff --git a/libva.changes b/libva.changes index 3d6c59d..3506405 100644 --- a/libva.changes +++ b/libva.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed Mar 21 19:02:15 UTC 2012 - jengelh@medozas.de + +- Remove redundant sections, compress filelist +- Enable parallel build +- Use pkgconfig symbols for deps + ------------------------------------------------------------------- Mon Feb 27 19:30:59 CET 2012 - dmueller@suse.de diff --git a/libva.spec b/libva.spec index bf18bd9..1f048ee 100644 --- a/libva.spec +++ b/libva.spec @@ -14,9 +14,6 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - - - Name: libva Version: 1.0.15 Release: 0 @@ -30,11 +27,11 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: gcc-c++ BuildRequires: libstdc++-devel BuildRequires: libtool -BuildRequires: libudev-devel BuildRequires: pkg-config BuildRequires: pkgconfig(gl) BuildRequires: pkgconfig(libdrm) BuildRequires: pkgconfig(libdrm_intel) +BuildRequires: pkgconfig(libudev) BuildRequires: pkgconfig(xext) BuildRequires: pkgconfig(xfixes) # pkgconfig(libdrm_intel) currently only exists on x86* @@ -45,7 +42,6 @@ The libva library implements the Video Acceleration (VA) API for Linux. The library loads a hardware dependendent driver. %package -n vaapi-tools - Summary: Video Acceleration (VA) API for Linux Group: System/Libraries @@ -66,7 +62,6 @@ The library loads a hardware dependendent driver. This contains the dummy and hardware drivers. %package -n libva1 - Summary: Video Acceleration (VA) API for Linux Group: System/Libraries @@ -75,7 +70,6 @@ The libva library implements the Video Acceleration (VA) API for Linux. The library loads a hardware dependendent driver. %package devel - Summary: Video Acceleration (VA) API for Linux -- development files Group: Development/Languages/C and C++ Requires: libva1 = %{version} @@ -99,7 +93,7 @@ autoreconf -v --install --enable-glx \ --enable-egl \ --with-drivers-path=%{_libdir}/dri -make +make %{?_smp_mflags} popd pushd intel-driver-%{version} export PKG_CONFIG_PATH="%{_builddir}/vaapi/libva-%{version}/pkgconfig:$PKG_CONFIG_PATH" @@ -113,15 +107,13 @@ pushd libva-%{version} popd find %{buildroot} -name '*.la' -delete -print pushd intel-driver-%{version} -make CPPFLAGS="-I%{buildroot}%{_includedir}" LDFLAGS="-L%{buildroot}%{_libdir}" +make %{?_smp_mflags} CPPFLAGS="-I%{buildroot}%{_includedir}" \ + LDFLAGS="-L%{buildroot}%{_libdir}" %makeinstall popd find %{buildroot} -name '*.la' -delete -print -%clean -rm -rf %{buildroot} - %post -n libva1 -p /sbin/ldconfig %postun -n libva1 -p /sbin/ldconfig @@ -162,10 +154,6 @@ rm -rf %{buildroot} %{_libdir}/libva-dummy.so %endif %{_includedir}/va -%{_libdir}/pkgconfig/libva.pc -%{_libdir}/pkgconfig/libva-x11.pc -%{_libdir}/pkgconfig/libva-glx.pc -%{_libdir}/pkgconfig/libva-tpi.pc -%{_libdir}/pkgconfig/libva-egl.pc +%{_libdir}/pkgconfig/libva*.pc %changelog