1#%define moduledir %(pkg-config xorg-server --variable=moduledir) 2%define libversion 1.0.11 3 4Name: libva 5Version: %{libversion} 6Release: 0.0 7License: MIT 8Source: %{name}-%{version}.tar.bz2 9NoSource: 0 10Group: Development/Libraries 11Summary: Video Acceleration (VA) API for Linux 12URL: http://freedesktop.org/wiki/Software/vaapi 13BuildRoot: %{_tmppath}/%{name}-%{version}-build 14 15Requires: xorg-x11-server-Xorg 16 17Requires: /sbin/ldconfig 18BuildRequires: pkgconfig(xv) 19BuildRequires: pkgconfig(xrandr) 20BuildRequires: pkgconfig(xorg-server) 21BuildRequires: pkgconfig(libdrm) 22BuildRequires: pkgconfig(x11) 23BuildRequires: pkgconfig(xext) 24BuildRequires: pkgconfig(xdamage) 25BuildRequires: pkgconfig(xfixes) 26BuildRequires: pkgconfig(dri2proto) 27BuildRequires: pkgconfig(damageproto) 28BuildRequires: pkgconfig(kbproto) 29BuildRequires: pkgconfig(xextproto) 30BuildRequires: pkgconfig(fixesproto) 31BuildRequires: pkgconfig(xproto) 32BuildRequires: pkgconfig(gl) 33BuildRequires: libtool 34 35 36 37 38 39%description 40The libva library implements the Video Acceleration (VA) API for Linux. 41The library loads a hardware dependendent driver. 42 43%package devel 44Summary: Video Acceleration (VA) API for Linux -- development files 45Group: Development/Libraries 46Requires: %{name} = %{version}-%{release} 47Requires: pkgconfig 48 49%description devel 50The libva library implements the Video Acceleration (VA) API for Linux. 51The library loads a hardware dependendent driver. 52 53This package provides the development environment for libva. 54 55%prep 56%setup -q 57 58%build 59unset LD_AS_NEEDED 60%autogen 61make 62 63%install 64%make_install 65 66%clean 67rm -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 75%{_libdir}/libva.so.%{libversion} 76%{_libdir}/libva-tpi.so.1 77%{_libdir}/libva-tpi.so.%{libversion} 78%{_libdir}/libva-x11.so.1 79%{_libdir}/libva-x11.so.%{libversion} 80%{_libdir}/libva-glx.so.1 81%{_libdir}/libva-glx.so.%{libversion} 82%{_libdir}/libva-egl.so.1 83%{_libdir}/libva-egl.so.%{libversion} 84%{_bindir}/vainfo 85%{_bindir}/test_* 86%{_bindir}/h264encode 87%{_bindir}/mpeg2vldemo 88%{_bindir}/putsurface 89 90%{_libdir}/dri/dummy_drv_video.so 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 99%{_libdir}/libva-glx.so 100%{_libdir}/libva-egl.so 101%{_libdir}/pkgconfig/libva.pc 102%{_libdir}/pkgconfig/libva-tpi.pc 103%{_libdir}/pkgconfig/libva-x11.pc 104%{_libdir}/pkgconfig/libva-glx.pc 105%{_libdir}/pkgconfig/libva-egl.pc 106 107%changelog 108* Tue Jan 25 2011 Austin Yuan <shengquan.yuan@intel.com> 1.0.1 109- Updated libva source to 1.0.8 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 152