From 49437d457ff3017ef9307a7351167c01f92ef096 Mon Sep 17 00:00:00 2001 From: Nicolas Chauvet Date: Sep 09 2009 20:10:45 +0000 Subject: Initial import --- diff --git a/.cvsignore b/.cvsignore index e69de29..48b2a78 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +libvdpau-46e791147ac43ecd2fbfbc6bdf3bebda9030b51e.tar.bz2 diff --git a/import.log b/import.log new file mode 100644 index 0000000..ceede0a --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +libvdpau-0_1-0_6_20090902git_fc11:HEAD:libvdpau-0.1-0.6.20090902git.fc11.src.rpm:1252526863 diff --git a/libvdpau.spec b/libvdpau.spec new file mode 100644 index 0000000..b50294a --- /dev/null +++ b/libvdpau.spec @@ -0,0 +1,98 @@ +%global gitdate 20090902git +%global gitref 46e791147ac43ecd2fbfbc6bdf3bebda9030b51e + +Name: libvdpau +Version: 0.1 +Release: 0.6.%{?gitdate}%{?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://cgit.freedesktop.org/~aplattner/libvdpau/snapshot/libvdpau-%{gitref}.tar.bz2 +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: libtool + +%if 0%{?fedora} > 11 || 0%{?rhel} > 5 +ExclusiveArch: i686 x86_64 +%else %if 0%{?fedora} == 11 +ExclusiveArch: i586 x86_64 +%else +ExclusiveArch: i386 x86_64 +%endif +BuildRequires: libX11-devel + + +%description +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. + + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +Requires: libX11-devel +Requires: pkgconfig + +%description devel +The %{name}-devel package contains libraries and header files for +developing applications that use %{name}. + + +%prep +%setup -q -n %{name}-%{gitref} + + +autoreconf -vif + +%build +%configure --disable-static +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 +%{_libdir}/*.so.* +%{_libdir}/libvdpau_trace.so + +%files devel +%defattr(-,root,root,-) +%{_includedir}/vdpau/ +%{_libdir}/libvdpau.so +%{_libdir}/pkgconfig/vdpau.pc + +%changelog +* Mon Sep 7 2009 kwizart < kwizart at gmail.com > - 0.1-0.6.20090904git +- Update to gitdate 20090904git + +* Wed Sep 2 2009 kwizart < kwizart at gmail.com > - 0.1-0.5git20090902 +- Update to gitdate 20090902 with merged patches + +* Mon Jun 15 2009 kwizart < kwizart at gmail.com > - 0.1-0.3git20090318 +- Add missing -ldl at link time + +* Fri Mar 22 2009 kwizart < kwizart at gmail.com > - 0.1-0.2git20090318 +- Backport fix thread_2 + +* Fri Mar 6 2009 kwizart < kwizart at gmail.com > - 0.1-0.1git20090318 +- Initial spec file + diff --git a/sources b/sources index e69de29..5e21bd4 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +a7bc00895d55b654d54220cac352c2fe libvdpau-46e791147ac43ecd2fbfbc6bdf3bebda9030b51e.tar.bz2