rpms/libvdpau/F-12 .cvsignore, 1.3, 1.4 libvdpau.spec, 1.3, 1.4 sources, 1.3, 1.4

Nicolas Chauvet kwizart at fedoraproject.org
Mon Dec 14 22:20:56 UTC 2009


Author: kwizart

Update of /cvs/pkgs/rpms/libvdpau/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv25274/F-12

Modified Files:
	.cvsignore libvdpau.spec sources 
Log Message:
- Update to 0.3



Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/libvdpau/F-12/.cvsignore,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -p -r1.3 -r1.4
--- .cvsignore	17 Sep 2009 19:52:33 -0000	1.3
+++ .cvsignore	14 Dec 2009 22:20:56 -0000	1.4
@@ -1 +1 @@
-libvdpau-0.2.tar.gz
+libvdpau-0.3.tar.bz2


Index: libvdpau.spec
===================================================================
RCS file: /cvs/pkgs/rpms/libvdpau/F-12/libvdpau.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -p -r1.3 -r1.4
--- libvdpau.spec	17 Sep 2009 19:57:07 -0000	1.3
+++ libvdpau.spec	14 Dec 2009 22:20:56 -0000	1.4
@@ -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 Presentati
 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 INS
 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 <kwizart at fedoraproject.org> - 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


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/libvdpau/F-12/sources,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -p -r1.3 -r1.4
--- sources	17 Sep 2009 19:52:34 -0000	1.3
+++ sources	14 Dec 2009 22:20:56 -0000	1.4
@@ -1 +1 @@
-e0641a208839eb88fe7c01ee5af83735  libvdpau-0.2.tar.gz
+bf714e773ea55ba06d068dee3bc28135  libvdpau-0.3.tar.bz2




More information about the fedora-extras-commits mailing list