Hello community, here is the log from the commit of package libvdpau-va-gl for openSUSE:Factory checked in at 2014-09-28 19:53:54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libvdpau-va-gl (Old) and /work/SRC/openSUSE:Factory/.libvdpau-va-gl.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "libvdpau-va-gl" Changes: -------- --- /work/SRC/openSUSE:Factory/libvdpau-va-gl/libvdpau-va-gl.changes 2014-04-09 13:14:30.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.libvdpau-va-gl.new/libvdpau-va-gl.changes 2014-09-28 19:54:09.000000000 +0200 @@ -1,0 +2,8 @@ +Thu Sep 25 18:37:25 UTC 2014 - sor.alexei@meowr.ru + +- Supplement xf86-video-intel as the only possible libvdpau there. +- Usage of %cmake and %cmake_install macros. +- Add baselibs.conf. +- Remove incorrect usage of %ghost. + +------------------------------------------------------------------- @@ -5 +13 @@ - the libraries + the libraries. @@ -15 +23 @@ -- Fixes for /etc/profile.d/ +- Fixes for /etc/profile.d/. @@ -21,3 +29,3 @@ - exist -- Remove useless %files section -- The profile script do not need to get executable bits; + exist. +- Remove useless %files section. +- The profile script do not need to get executable bits. Old: ---- libvdpau-va-gl-0.3.4.tar.gz New: ---- baselibs.conf v0.3.4.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libvdpau-va-gl.spec ++++++ --- /var/tmp/diff_new_pack.t3xHvV/_old 2014-09-28 19:54:10.000000000 +0200 +++ /var/tmp/diff_new_pack.t3xHvV/_new 2014-09-28 19:54:10.000000000 +0200 @@ -11,32 +11,34 @@ # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + %define _libname libvdpau_va_gl %define _sover 1 Name: libvdpau-va-gl Version: 0.3.4 Release: 0 -License: LGPL-3.0+ Summary: VDPAU driver with OpenGL/VAAPI backend -Url: https://github.com/i-rinat/libvdpau-va-gl +License: LGPL-3.0+ Group: System/Libraries -Source: %{name}-%{version}.tar.gz +Url: https://github.com/i-rinat/libvdpau-va-gl +Source: https://github.com/i-rinat/%{name}/archive/v%{version}.tar.gz + +Source1: baselibs.conf -BuildRequires: pkg-config BuildRequires: cmake BuildRequires: gcc-c++ +BuildRequires: pkg-config +BuildRequires: pkgconfig(gl) BuildRequires: pkgconfig(glib-2.0) +BuildRequires: pkgconfig(glu) BuildRequires: pkgconfig(libswscale) BuildRequires: pkgconfig(libva-glx) BuildRequires: pkgconfig(vdpau) -BuildRequires: pkgconfig(gl) -BuildRequires: pkgconfig(glu) %description Many applications can use VDPAU to accelerate portions of the video @@ -51,6 +53,8 @@ %package -n %{_libname}%{_sover} Summary: VDPAU driver with OpenGL/VAAPI backend Group: System/Libraries +Provides: %{_libname} = %{version} +Supplements: xf86-video-intel %description -n %{_libname}%{_sover} Many applications can use VDPAU to accelerate portions of the video @@ -64,32 +68,22 @@ %prep %setup -q +echo "export VDPAU_DRIVER='va_gl'" > %{name}.sh +echo "setenv VDPAU_DRIVER 'va_gl'" > %{name}.csh %build -cmake . \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_BUILD_TYPE=release \ - -DCMAKE_C_FLAGS='%{optflags}' \ -%ifarch x86_64 aarch64 ppc64 ppc64p7 ppc64le - -DLIB_SUFFIX=64 \ -%endif - -DCMAKE_CXX_FLAGS='%{optflags}' +%cmake -DLIB_INSTALL_DIR=%{_libdir}/vdpau make %{?_smp_mflags} %install -make DESTDIR=%{buildroot} install -mkdir -p %{buildroot}%{_sysconfdir}/profile.d/ -cat > %{buildroot}%{_sysconfdir}/profile.d/%{name}.sh << EOF -export VDPAU_DRIVER='va_gl' -EOF -cat > %{buildroot}%{_sysconfdir}/profile.d/%{name}.csh << EOF -setenv VDPAU_DRIVER 'va_gl' -EOF +%cmake_install +install -Dm 0644 %{name}.sh %{buildroot}%{_sysconfdir}/profile.d/%{name}.sh +install -Dm 0644 %{name}.csh %{buildroot}%{_sysconfdir}/profile.d/%{name}.csh %files -n %{_libname}%{_sover} %defattr(-,root,root) -%doc ChangeLog COPYING README.md -%ghost %{_sysconfdir}/profile.d/%{name}.*sh +%doc ChangeLog COPYING %{_libdir}/vdpau/ +%{_sysconfdir}/profile.d/%{name}.*sh %changelog ++++++ baselibs.conf ++++++ libvdpau_va_gl -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org