From 6e1ac93d7ee4bc83059610309295b1fb5f5e7e3d Mon Sep 17 00:00:00 2001 From: Nicolas Chauvet Date: Mon, 14 Dec 2009 22:20:56 +0000 Subject: [PATCH] - Update to 0.3 --- .cvsignore | 2 +- libvdpau.spec | 41 ++++++++++++++++++++++++++++++++++++----- sources | 2 +- 3 files changed, 38 insertions(+), 7 deletions(-) diff --git a/.cvsignore b/.cvsignore index fa71990..39f5aa1 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -libvdpau-0.2.tar.gz +libvdpau-0.3.tar.bz2 diff --git a/libvdpau.spec b/libvdpau.spec index c65001c..6ba56f3 100644 --- a/libvdpau.spec +++ b/libvdpau.spec @@ -1,14 +1,22 @@ Name: libvdpau -Version: 0.2 +Version: 0.3 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.gz +Source0: http://people.freedesktop.org/~aplattner/vdpau/libvdpau-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRequires: libtool + +%{?!_without_docs: +BuildRequires: doxygen +BuildRequires: graphviz +BuildRequires: texlive +} + BuildRequires: libX11-devel @@ -17,6 +25,14 @@ VDPAU is the Video Decode and Presentation API for UNIX. It provides an interface to video decode acceleration and presentation hardware present in modern GPUs. +%{?!_without_docs: +%package docs +Summary: Documentation for %{name} +Group: Documentation + +%description docs +The %{name}-docs package contains documentation for %{name}. +} %package devel Summary: Development files for %{name} @@ -32,11 +48,13 @@ developing applications that use %{name}. %prep %setup -q - +autoreconf -vif %build -%configure --disable-static +%configure --disable-static \ + %{?_without_docs:--disable-documentation } + make %{?_smp_mflags} @@ -46,6 +64,7 @@ make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' + %clean rm -rf $RPM_BUILD_ROOT @@ -59,7 +78,14 @@ rm -rf $RPM_BUILD_ROOT %defattr(-,root,root,-) %doc AUTHORS COPYING %{_libdir}/*.so.* -%{_libdir}/libvdpau_trace.so +%dir %{_libdir}/vdpau +%{_libdir}/vdpau/libvdpau_trace.so* + +%{?!_without_docs: +%files docs +%defattr(-,root,root,-) +%doc %{_docdir}/%{name} +} %files devel %defattr(-,root,root,-) @@ -69,6 +95,11 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Sun Nov 22 2009 Nicolas Chauvet - 0.3-1 +- Update to 0.3 +- Create docs sub-package +- Allow --without docs conditional + * Thu Sep 17 2009 kwizart < kwizart at gmail.com > - 0.2-1 - Update to 0.2 - Disable ExclusiveArch diff --git a/sources b/sources index 38517e8..3794c19 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -e0641a208839eb88fe7c01ee5af83735 libvdpau-0.2.tar.gz +bf714e773ea55ba06d068dee3bc28135 libvdpau-0.3.tar.bz2