Accepting request 38641 from home:sndirsch:branches:openSUSE:Factory

Copy from home:sndirsch:branches:openSUSE:Factory/libvdpau based on submit request 38641 from user sndirsch

OBS-URL: https://build.opensuse.org/request/show/38641
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libvdpau?expand=0&rev=3
This commit is contained in:
OBS User autobuild 2010-04-24 09:39:01 +00:00 committed by Git OBS Bridge
parent e9d833d144
commit fbaddab261
3 changed files with 20 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Apr 24 10:37:30 CEST 2010 - sndirsch@suse.de
- added Wladimir J. van der Laan's vdpinfo tool, a command line
utility for querying the capabilities of a VDPAU device.
-------------------------------------------------------------------
Thu Apr 22 22:34:09 UTC 2010 - herbert@graeber-clan.de

View File

@ -19,12 +19,13 @@
Name: libvdpau
Version: 0.4
Release: 2
Release: 3
License: MIT License (or similar)
Summary: VDPAU wrapper and trace libraries
Url: http://people.freedesktop.org/~aplattner
Group: System/Libraries
Source: %{name}-%{version}.tar.gz
Source1: vdpauinfo-0.0.6.tar.gz
Source99: baselibs.conf
BuildRequires: gcc-c++ pkgconfig xorg-x11-devel
BuildRequires: doxygen graphviz texlive
@ -76,7 +77,7 @@ is used when no proper VDPAU implementation library is available (such as
libvdpau_nvidia.so)
%prep
%setup -q
%setup -q -b1
%build
%configure
@ -88,6 +89,13 @@ rm %{buildroot}%{_libdir}/libvdpau.la
rm %{buildroot}%{_libdir}/vdpau/libvdpau_trace.la
/sbin/ldconfig -n $RPM_BUILD_ROOT/%{_libdir}/vdpau
rm %{buildroot}%{_libdir}/vdpau/libvdpau_trace.so
pushd ../vdpauinfo-*
%configure \
VDPAU_CFLAGS=-I$RPM_BUILD_ROOT/usr/include \
VDPAU_LIBS="-L$RPM_BUILD_ROOT/%{_libdir} -lvdpau"
make %{?jobs:-j%jobs}
%makeinstall
popd
%post -n libvdpau1 -p /sbin/ldconfig
@ -96,6 +104,7 @@ rm %{buildroot}%{_libdir}/vdpau/libvdpau_trace.so
%files -n libvdpau1
%defattr(-,root,root)
%dir %{_libdir}/vdpau
/usr/bin/vdpauinfo
%{_libdir}/libvdpau.so.*
%files -n libvdpau-devel

3
vdpauinfo-0.0.6.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:52bb5d817b16984aca2d410584150cd35551bdfd6346688a377d406e25a65454
size 77375