[521] | 1 | Name: libva |
---|
[2940] | 2 | Version: 1.0.10 |
---|
[2592] | 3 | Release: 1%{?_dist_release} |
---|
[521] | 4 | Summary: Video Acceleration (VA) API for Linux |
---|
| 5 | |
---|
| 6 | Group: System Environment/Libraries |
---|
| 7 | License: distributable |
---|
| 8 | Source0: %{name}-%{version}.tar.bz2 |
---|
[2940] | 9 | Patch0: %{name}-1.0.10-buildfix.patch |
---|
[521] | 10 | |
---|
| 11 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
| 12 | BuildRequires: xorg-x11-server-sdk |
---|
| 13 | BuildRequires: mesa-libGL-devel |
---|
| 14 | BuildRequires: libX11-devel |
---|
| 15 | BuildRequires: libXext-devel |
---|
| 16 | BuildRequires: libXfixes-devel |
---|
[2592] | 17 | BuildRequires: libtool, automake, autoconf |
---|
[521] | 18 | |
---|
| 19 | %description |
---|
| 20 | The libva library implements the Video Acceleration (VA) API for Linux. |
---|
| 21 | The library loads a hardware dependendent driver. |
---|
| 22 | |
---|
| 23 | |
---|
| 24 | %package devel |
---|
| 25 | Summary: Development tools for programs which will use %{name} |
---|
| 26 | Group: Development/Libraries |
---|
| 27 | Requires: %{name} = %{version}-%{release} |
---|
| 28 | |
---|
| 29 | %description devel |
---|
| 30 | This package contains the development files for %{name}. |
---|
| 31 | |
---|
| 32 | |
---|
| 33 | %package tools |
---|
| 34 | Summary: Sample tools for %{name} |
---|
| 35 | Requires: %{name} = %{version}-%{release} |
---|
| 36 | |
---|
| 37 | %description tools |
---|
| 38 | This package contains sample tools for %{name}. |
---|
| 39 | |
---|
| 40 | |
---|
| 41 | %prep |
---|
| 42 | %setup -q |
---|
[2940] | 43 | %patch0 -p1 -b .buildfix |
---|
[521] | 44 | |
---|
| 45 | %build |
---|
| 46 | ./autogen.sh |
---|
[2592] | 47 | %configure \ |
---|
| 48 | --enable-glx \ |
---|
| 49 | --enable-i965-driver \ |
---|
| 50 | --enable-dummy-driver --enable-dummy-backend |
---|
[521] | 51 | make %{?_smp_mflags} |
---|
| 52 | |
---|
| 53 | |
---|
| 54 | %install |
---|
| 55 | rm -rf $RPM_BUILD_ROOT |
---|
| 56 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
| 57 | |
---|
| 58 | rm -f $RPM_BUILD_ROOT%{_libdir}/*.la \ |
---|
| 59 | $RPM_BUILD_ROOT%{_libdir}/dri/*.la |
---|
| 60 | |
---|
| 61 | rm -f $RPM_BUILD_ROOT%{_bindir}/test_* |
---|
| 62 | |
---|
| 63 | %clean |
---|
| 64 | rm -rf $RPM_BUILD_ROOT |
---|
| 65 | |
---|
| 66 | %post -p /sbin/ldconfig |
---|
| 67 | |
---|
| 68 | %postun -p /sbin/ldconfig |
---|
| 69 | |
---|
| 70 | %files |
---|
| 71 | %defattr(-,root,root,-) |
---|
| 72 | %doc COPYING |
---|
| 73 | %{_bindir}/vainfo |
---|
| 74 | %{_libdir}/lib*.so.* |
---|
| 75 | %{_libdir}/dri/*.so |
---|
| 76 | |
---|
| 77 | %files devel |
---|
| 78 | %defattr(-,root,root,-) |
---|
| 79 | %{_includedir}/va/*.h |
---|
| 80 | %{_libdir}/lib*.so |
---|
| 81 | %{_libdir}/pkgconfig/* |
---|
| 82 | |
---|
| 83 | %files tools |
---|
| 84 | %defattr(-,root,root,-) |
---|
| 85 | %doc COPYING |
---|
| 86 | %{_bindir}/* |
---|
| 87 | %exclude %{_bindir}/vainfo |
---|
| 88 | |
---|
| 89 | |
---|
| 90 | %changelog |
---|
[2940] | 91 | * Sun Mar 06 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.10-1 |
---|
| 92 | - new upstream release |
---|
| 93 | |
---|
[2592] | 94 | * Fri Jan 28 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.7-1 |
---|
| 95 | - new upstream release |
---|
[1901] | 96 | |
---|
[2592] | 97 | * Wed Aug 18 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.4-1 |
---|
| 98 | - new upstream release |
---|
| 99 | |
---|
[521] | 100 | * Wed Feb 17 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.1-1 |
---|
| 101 | - update to 1.0.1 |
---|
| 102 | |
---|
| 103 | * Thu Jan 29 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.29-4 |
---|
| 104 | - update to sds8 |
---|
| 105 | |
---|
| 106 | * Sun Jan 25 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.29-3 |
---|
| 107 | - add 302_vdpau_vc1.patch from sds |
---|
| 108 | |
---|
| 109 | * Fri Jan 23 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.29-2 |
---|
| 110 | - add splitted desktop's patches |
---|
| 111 | |
---|
| 112 | * Thu Jan 22 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.29-1 |
---|
| 113 | - initial build for Vine Linux |
---|
| 114 | |
---|