- Update to 0.3
This commit is contained in:
parent
f534391e40
commit
6e1ac93d7e
@ -1 +1 @@
|
||||
libvdpau-0.2.tar.gz
|
||||
libvdpau-0.3.tar.bz2
|
||||
|
||||
@ -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 <kwizart@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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user