add packaging files
[profile/ivi/vaapi-intel-driver.git] / packaging / vaapi-intel-driver.spec
1 %define libversion 1.0.16
2
3 Name:           vaapi-intel-driver
4 Version:        1.0.16.01.26735ff
5 Release:        0
6 License:        MIT and EPL-1.0
7 Source:         %{name}-%{version}.tar.bz2
8 Source1001:     packaging/vaapi-intel-driver.manifest 
9 Group:          Development/Libraries
10 Summary:        Intel vaapi video driver for GEN gfx
11 URL:            http://freedesktop.org/wiki/Software/vaapi
12
13 Requires(post): /sbin/ldconfig
14 Requires(postun): /sbin/ldconfig
15
16 BuildRequires:  pkgconfig(libdrm) >= 2.4.23
17 BuildRequires:  pkgconfig(libdrm_intel)
18 BuildRequires:  pkgconfig(libva) >= 0.34.0
19 BuildRequires:  pkgconfig(x11)
20 BuildRequires:  pkgconfig(libva-x11)
21 BuildRequires:  pkgconfig(libva-wayland)
22 BuildRequires:  pkgconfig(wayland-client)
23 BuildRequires:  libtool
24 # BuildRequires:  mesa-libEGL-devel
25
26
27 %description
28 vaapi backend driver for Intel Gen gfx, it provies the VAAPI video acceleration
29
30 %prep
31 %setup -q
32
33 %build
34 cp %{SOURCE1001} .
35
36 unset LD_AS_NEEDED
37 %autogen
38 make
39
40 %install
41 %make_install
42
43 %clean
44 rm -rf $RPM_BUILD_ROOT
45
46 %post -p /sbin/ldconfig
47 %postun -p /sbin/ldconfig
48
49 %files
50 %manifest vaapi-intel-driver.manifest
51 %defattr(-,root,root,-)
52 %{_libdir}/dri/i965_drv_video.so
53