From 3ace7400db3a0119f5712b82d0d4002cd1f6e1b4 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Apr 10 2018 05:13:07 +0000 Subject: import libva-1.8.3-1.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..168ac59 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/libva-1.8.3.tar.gz diff --git a/.libva.metadata b/.libva.metadata new file mode 100644 index 0000000..8002757 --- /dev/null +++ b/.libva.metadata @@ -0,0 +1 @@ +76453ca41ef19ac840126b9801999ec72422927b SOURCES/libva-1.8.3.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 98f42b4..0000000 --- a/README.md +++ /dev/null @@ -1,4 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/libva.spec b/SPECS/libva.spec new file mode 100644 index 0000000..605194b --- /dev/null +++ b/SPECS/libva.spec @@ -0,0 +1,71 @@ +Name: libva +Version: 1.8.3 +Release: 1%{?dist} +Summary: Libva is an implementation for Video Acceleration API + +License: MIT +URL: https://github.com/01org/libva/ +Source0: https://github.com/01org/libva/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz + +BuildRequires: autoconf, automake, libtool +BuildRequires: libX11, libX11-devel, libXext, libXext-devel +BuildRequires: libXfixes, libXfixes-devel, libdrm, libdrm-devel +BuildRequires: libwayland-client, libwayland-client-devel, m4 +BuildRequires: mesa-libEGL, mesa-libEGL-devel, mesa-libGL, mesa-libGL-devel +BuildRequires: mt-st, xorg-x11-proto-devel + +%description +Video Acceleration-API is an open-source library and API specification, +which provides access to graphics hardware acceleration capabilities +for video processing. It consists of a main library and driver-specific +acceleration backends for each supported hardware vendor. + +%package devel +Summary: Development files for %{name} +Requires: %{name}%{_isa} = %{version}-%{release} +Requires: pkgconfig + +%description devel +The %{name}-devel package contains libraries and header files for +developing applications that use %{name}. + + +%prep +%setup -q + +%build +./autogen.sh --disable-static +%configure --disable-static + +# remove rpath from libtool +sed -i.rpath 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool +sed -i.rpath 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool + +%make_build + + +%install +rm -rf $RPM_BUILD_ROOT +%make_install +find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' + + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + + +%files +%doc NEWS +%license COPYING +%ghost %{_sysconfdir}/libva.conf +%{_libdir}/libva*.so.* + +%files devel +%{_includedir}/va +%{_libdir}/libva*.so +%{_libdir}/pkgconfig/libva*.pc + +%changelog +* Mon Sep 11 2017 Josef Rikdy - 1.8.3-1 +- Initial commit