Dominique Leuenberger 2019-01-11 13:00:55 +00:00 committed by Git OBS Bridge
commit c9af0f043f
2 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Dec 12 20:18:16 UTC 2018 - Jan Engelhardt <jengelh@inai.de>
- Update RPM groups and %make(_)install call.
-------------------------------------------------------------------
Wed Dec 12 14:56:05 UTC 2018 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@ -21,7 +21,7 @@ Version: 1.1.1
Release: 0
Summary: VDPAU wrapper and trace libraries
License: MIT
Group: System/Libraries
Group: Development/Libraries/C and C++
URL: http://www.freedesktop.org/wiki/Software/VDPAU/
Source: http://people.freedesktop.org/~aplattner/vdpau/%{name}-%{version}.tar.bz2
Source1: http://people.freedesktop.org/~aplattner/vdpau/vdpauinfo-1.0.tar.gz
@ -91,7 +91,7 @@ autoreconf -fi
make %{?_smp_mflags}
%install
%makeinstall
%make_install
rm %{buildroot}%{_libdir}/libvdpau.la
rm %{buildroot}%{_libdir}/vdpau/libvdpau_trace.la
@ -104,10 +104,10 @@ VDPAU_CFLAGS=-I%{buildroot}%{_includedir} \
VDPAU_LIBS="-L%{buildroot}/%{_libdir} -lvdpau -lX11"
make %{?_smp_mflags}
%makeinstall
%make_install
popd
cp $RPM_SOURCE_DIR/README .
cp %{_sourcedir}/README .
%post -n libvdpau1 -p /sbin/ldconfig