[libvdpau] Update to 0.5 Cleanup spec file
Nicolas Chauvet
kwizart at fedoraproject.org
Wed Sep 5 21:11:39 UTC 2012
commit ab435e554f193b83c58ff7758b9cab91aa7e9130
Author: Nicolas Chauvet <kwizart at gmail.com>
Date: Wed Sep 5 23:11:21 2012 +0200
Update to 0.5
Cleanup spec file
flash-workarounds.patch | 254 -----------------------------------------------
libvdpau-backport.patch | 179 ---------------------------------
libvdpau.spec | 22 +---
3 files changed, 6 insertions(+), 449 deletions(-)
---
diff --git a/libvdpau.spec b/libvdpau.spec
index ae61003..e21b659 100644
--- a/libvdpau.spec
+++ b/libvdpau.spec
@@ -1,15 +1,12 @@
Name: libvdpau
-Version: 0.4.1
-Release: 9%{?dist}
+Version: 0.5
+Release: 1%{?dist}
Summary: Wrapper library for the Video Decode and Presentation API
Group: System Environment/Libraries
License: MIT
URL: http://freedesktop.org/wiki/Software/VDPAU
-Source0: http://people.freedesktop.org/~aplattner/vdpau/libvdpau-%{version}.tar.bz2
-Patch0: libvdpau-backport.patch
-Patch1: flash-workarounds.patch
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Source0: http://cgit.freedesktop.org/~aplattner/libvdpau/snapshot/libvdpau-%{version}.tar.gz
BuildRequires: libtool
@@ -52,8 +49,6 @@ developing applications that use %{name}.
%prep
%setup -q
-%patch0 -p1
-%patch1 -p1 -b .flash-workarounds
autoreconf -vif
@@ -65,23 +60,17 @@ make %{?_smp_mflags}
%install
-rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
-%defattr(-,root,root,-)
%doc AUTHORS COPYING
%config(noreplace) %{_sysconfdir}/vdpau_wrapper.cfg
%{_libdir}/*.so.*
@@ -90,18 +79,19 @@ rm -rf $RPM_BUILD_ROOT
%{?!_without_docs:
%files docs
-%defattr(-,root,root,-)
%doc %{_docdir}/%{name}
}
%files devel
-%defattr(-,root,root,-)
%{_includedir}/vdpau/
%{_libdir}/libvdpau.so
%{_libdir}/pkgconfig/vdpau.pc
%changelog
+* Wed Sep 05 2012 Nicolas Chauvet <kwizart at gmail.com> - 0.5-1
+- Update to 0.5
+
* Sun Aug 19 2012 Julian Sikorski <belegdol at fedoraproject.org> - 0.4.1-9
- Added flash workarounds
More information about the scm-commits
mailing list