Fei Jiang | 901c77a | 2010-10-02 02:19:14 +0800 | [diff] [blame] | 1 | #%define moduledir %(pkg-config xorg-server --variable=moduledir) |
Kun Wang | 942aa8a | 2011-04-19 09:46:00 +0800 | [diff] [blame] | 2 | %define libversion 1.0.11 |
Fei Jiang | 901c77a | 2010-10-02 02:19:14 +0800 | [diff] [blame] | 3 | |
| 4 | Name: libva |
wangkun | cceaa05 | 2011-03-09 13:39:43 +0800 | [diff] [blame] | 5 | Version: %{libversion} |
Fei Jiang | 901c77a | 2010-10-02 02:19:14 +0800 | [diff] [blame] | 6 | Release: 0.0 |
wangkun | cceaa05 | 2011-03-09 13:39:43 +0800 | [diff] [blame] | 7 | License: MIT |
Fei Jiang | 901c77a | 2010-10-02 02:19:14 +0800 | [diff] [blame] | 8 | Source: %{name}-%{version}.tar.bz2 |
Fei Jiang | 72b466b | 2010-11-25 15:36:54 +0800 | [diff] [blame] | 9 | NoSource: 0 |
Fei Jiang | 901c77a | 2010-10-02 02:19:14 +0800 | [diff] [blame] | 10 | Group: Development/Libraries |
| 11 | Summary: Video Acceleration (VA) API for Linux |
| 12 | URL: http://freedesktop.org/wiki/Software/vaapi |
| 13 | BuildRoot: %{_tmppath}/%{name}-%{version}-build |
| 14 | |
| 15 | Requires: xorg-x11-server-Xorg |
| 16 | |
wangkun | cceaa05 | 2011-03-09 13:39:43 +0800 | [diff] [blame] | 17 | Requires: /sbin/ldconfig |
| 18 | BuildRequires: pkgconfig(xv) |
| 19 | BuildRequires: pkgconfig(xrandr) |
| 20 | BuildRequires: pkgconfig(xorg-server) |
| 21 | BuildRequires: pkgconfig(libdrm) |
| 22 | BuildRequires: pkgconfig(x11) |
| 23 | BuildRequires: pkgconfig(xext) |
| 24 | BuildRequires: pkgconfig(xdamage) |
| 25 | BuildRequires: pkgconfig(xfixes) |
| 26 | BuildRequires: pkgconfig(dri2proto) |
| 27 | BuildRequires: pkgconfig(damageproto) |
| 28 | BuildRequires: pkgconfig(kbproto) |
| 29 | BuildRequires: pkgconfig(xextproto) |
| 30 | BuildRequires: pkgconfig(fixesproto) |
| 31 | BuildRequires: pkgconfig(xproto) |
| 32 | BuildRequires: pkgconfig(gl) |
| 33 | BuildRequires: libtool |
| 34 | |
| 35 | |
| 36 | |
| 37 | |
Fei Jiang | 901c77a | 2010-10-02 02:19:14 +0800 | [diff] [blame] | 38 | |
| 39 | %description |
| 40 | The libva library implements the Video Acceleration (VA) API for Linux. |
| 41 | The library loads a hardware dependendent driver. |
| 42 | |
| 43 | %package devel |
| 44 | Summary: Video Acceleration (VA) API for Linux -- development files |
| 45 | Group: Development/Libraries |
| 46 | Requires: %{name} = %{version}-%{release} |
| 47 | Requires: pkgconfig |
| 48 | |
| 49 | %description devel |
| 50 | The libva library implements the Video Acceleration (VA) API for Linux. |
| 51 | The library loads a hardware dependendent driver. |
| 52 | |
| 53 | This package provides the development environment for libva. |
| 54 | |
| 55 | %prep |
| 56 | %setup -q |
| 57 | |
| 58 | %build |
| 59 | unset LD_AS_NEEDED |
| 60 | %autogen |
| 61 | make |
| 62 | |
| 63 | %install |
Fei Jiang | 901c77a | 2010-10-02 02:19:14 +0800 | [diff] [blame] | 64 | %make_install |
Fei Jiang | 901c77a | 2010-10-02 02:19:14 +0800 | [diff] [blame] | 65 | |
| 66 | %clean |
| 67 | rm -rf $RPM_BUILD_ROOT |
| 68 | |
| 69 | %post -p /sbin/ldconfig |
| 70 | %postun -p /sbin/ldconfig |
| 71 | |
| 72 | %files |
| 73 | %defattr(-,root,root,-) |
| 74 | %{_libdir}/libva.so.1 |
wangkun | cceaa05 | 2011-03-09 13:39:43 +0800 | [diff] [blame] | 75 | %{_libdir}/libva.so.%{libversion} |
Fei Jiang | 901c77a | 2010-10-02 02:19:14 +0800 | [diff] [blame] | 76 | %{_libdir}/libva-tpi.so.1 |
wangkun | cceaa05 | 2011-03-09 13:39:43 +0800 | [diff] [blame] | 77 | %{_libdir}/libva-tpi.so.%{libversion} |
Fei Jiang | 901c77a | 2010-10-02 02:19:14 +0800 | [diff] [blame] | 78 | %{_libdir}/libva-x11.so.1 |
wangkun | cceaa05 | 2011-03-09 13:39:43 +0800 | [diff] [blame] | 79 | %{_libdir}/libva-x11.so.%{libversion} |
Austin Yuan | 21e2647 | 2010-10-27 11:48:36 +0800 | [diff] [blame] | 80 | %{_libdir}/libva-glx.so.1 |
wangkun | cceaa05 | 2011-03-09 13:39:43 +0800 | [diff] [blame] | 81 | %{_libdir}/libva-glx.so.%{libversion} |
| 82 | %{_libdir}/libva-egl.so.1 |
| 83 | %{_libdir}/libva-egl.so.%{libversion} |
Fei Jiang | 901c77a | 2010-10-02 02:19:14 +0800 | [diff] [blame] | 84 | %{_bindir}/vainfo |
| 85 | %{_bindir}/test_* |
| 86 | %{_bindir}/h264encode |
| 87 | %{_bindir}/mpeg2vldemo |
| 88 | %{_bindir}/putsurface |
Austin Yuan | 21e2647 | 2010-10-27 11:48:36 +0800 | [diff] [blame] | 89 | |
Fei Jiang | 72b466b | 2010-11-25 15:36:54 +0800 | [diff] [blame] | 90 | %{_libdir}/dri/dummy_drv_video.so |
Fei Jiang | 901c77a | 2010-10-02 02:19:14 +0800 | [diff] [blame] | 91 | |
| 92 | %files devel |
| 93 | %defattr(-,root,root,-) |
| 94 | %dir %{_includedir}/va |
| 95 | %{_includedir}/va/* |
| 96 | %{_libdir}/libva.so |
| 97 | %{_libdir}/libva-tpi.so |
| 98 | %{_libdir}/libva-x11.so |
wangkun | cceaa05 | 2011-03-09 13:39:43 +0800 | [diff] [blame] | 99 | %{_libdir}/libva-glx.so |
| 100 | %{_libdir}/libva-egl.so |
Fei Jiang | 901c77a | 2010-10-02 02:19:14 +0800 | [diff] [blame] | 101 | %{_libdir}/pkgconfig/libva.pc |
Fei Jiang | 72b466b | 2010-11-25 15:36:54 +0800 | [diff] [blame] | 102 | %{_libdir}/pkgconfig/libva-tpi.pc |
Fei Jiang | 901c77a | 2010-10-02 02:19:14 +0800 | [diff] [blame] | 103 | %{_libdir}/pkgconfig/libva-x11.pc |
Fei Jiang | 72b466b | 2010-11-25 15:36:54 +0800 | [diff] [blame] | 104 | %{_libdir}/pkgconfig/libva-glx.pc |
wangkun | cceaa05 | 2011-03-09 13:39:43 +0800 | [diff] [blame] | 105 | %{_libdir}/pkgconfig/libva-egl.pc |
Fei Jiang | 901c77a | 2010-10-02 02:19:14 +0800 | [diff] [blame] | 106 | |
| 107 | %changelog |
wangkun | cceaa05 | 2011-03-09 13:39:43 +0800 | [diff] [blame] | 108 | * Tue Jan 25 2011 Austin Yuan <shengquan.yuan@intel.com> 1.0.1 |
| 109 | - Updated libva source to 1.0.8 |
Fei Jiang | 901c77a | 2010-10-02 02:19:14 +0800 | [diff] [blame] | 110 | * Wed Dec 23 2009 Prajwal Mohan <prajwal.karur.mohan@intel.com> 1.0.1 |
| 111 | - Updated libva source to IMG Alpha7 |
| 112 | * Fri Dec 18 2009 Prajwal Mohan <prajwal.karur.mohan@intel.com> 0.31.0 |
| 113 | - Updated libva source to IMG Alpha6 |
| 114 | * Tue Nov 24 2009 Prajwal Mohan <prajwal.karur.mohan@intel.com> 0.31.0 |
| 115 | - Updated libva source |
| 116 | * Mon Nov 9 2009 Prajwal Mohan <prajwal.karur.mohan@intel.com> 0.31.0 |
| 117 | - Update to version 0.31.0 |
| 118 | * Tue Jul 7 2009 Prajwal Mohan <prajwal.karur.mohan@intel.com> 0.30.4 |
| 119 | - Update to version 0.30.4 |
| 120 | * Wed Jun 24 2009 Prajwal Mohan <prajwal.karur.mohan@intel.com> 0.30.20090618 |
| 121 | - Update to version 0.30.20090618_Alpha2.3 |
| 122 | * Thu Jun 11 2009 Priya Vijayan <priya.vijayan@intel.com> 0.30.20090608 |
| 123 | - Update to version 0.30.20090608 |
| 124 | * Tue Jun 2 2009 Anas Nashif <anas.nashif@intel.com> - 0.30~20090514 |
| 125 | - unset LD_AS_NEEDED |
| 126 | * Fri May 15 2009 Anas Nashif <anas.nashif@intel.com> 0.30~20090514 |
| 127 | - Update to latest snapshot 20090514 |
| 128 | * Wed Apr 29 2009 Anas Nashif <anas.nashif@intel.com> 0.30~20090428 |
| 129 | - Update to 20090428 snpashot |
| 130 | * Sun Apr 26 2009 Anas Nashif <anas.nashif@intel.com> 0.30~20090423 |
| 131 | - Update libva.pc with new includedir |
| 132 | * Sun Apr 26 2009 Anas Nashif <anas.nashif@intel.com> 0.30~20090423 |
| 133 | - Update to latest snapshot 20090423 |
| 134 | * Sun Apr 26 2009 Anas Nashif <anas.nashif@intel.com> 0.30~20090423 |
| 135 | - Update to latest snapshot: 20090423 |
| 136 | * Mon Mar 23 2009 Anas Nashif <anas.nashif@intel.com> 0.30~20090323 |
| 137 | - Update to 0.30~20090323 |
| 138 | * Fri Jan 16 2009 Priya Vijayan <priya.vijayan@intel.com> 0.31 |
| 139 | - Fixing vainfo.c |
| 140 | * Fri Jan 16 2009 Priya Vijayan <priya.vijayan@intel.com> 0.31 |
| 141 | - fixing va_backend.h |
| 142 | * Fri Jan 16 2009 Priya Vijayan <priya.vijayan@intel.com> 0.31 |
| 143 | - Updating source |
| 144 | * Tue Jan 6 2009 Priya Vijayan <priya.vijayan@intel.com> 0.30 |
| 145 | - Update to 0.28-working combination with X Server |
| 146 | * Fri Dec 19 2008 Priya Vijayan <priya.vijayan@intel.com> 0.30.0 |
| 147 | - Added definition of FOURCC IYUV |
| 148 | * Dec 16 2008 Priya Vijayan <priya.vijayan@intel.com> |
| 149 | - Initial Import to MRST |
| 150 | * Mon Oct 13 2008 shengquan.yuan@intel.com |
| 151 | - packaged mrst-video-decode-src version 0.0.1 using the buildservice spec file wizard |