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