commit db51e21e1d78882fafab929fcf8e9bf63b73832e Author: CentOS Sources Date: Tue May 7 09:53:51 2019 -0400 import libxcam-1.2.0-1.el8 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..50b051d --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/libxcam-1.2.0.tar.gz diff --git a/.libxcam.metadata b/.libxcam.metadata new file mode 100644 index 0000000..b2e997d --- /dev/null +++ b/.libxcam.metadata @@ -0,0 +1 @@ +42b5ad6bd0d154f5e2fb3272c521ed48fa9228e0 SOURCES/libxcam-1.2.0.tar.gz diff --git a/SPECS/libxcam.spec b/SPECS/libxcam.spec new file mode 100644 index 0000000..cc097b0 --- /dev/null +++ b/SPECS/libxcam.spec @@ -0,0 +1,53 @@ +Name: libxcam +Version: 1.2.0 +Release: 1%{?dist} +Summary: libXCam is a project for extended camera features and focus on image quality improvement and video analysis. + +License: ASL 2.0 +URL: https://github.com/01org/libxcam/ +#Source0: Git source at: https://github.com/01org/libxcam/archive/release_%{version}.tar.gz +Source0: %{name}-%{version}.tar.gz + +BuildRequires: autoconf, automake, libtool +BuildRequires: ocl-icd-devel, beignet-devel, beignet +BuildRequires: libdrm, libdrm-devel + +ExclusiveArch: x86_64 %{ix86} + +%description +libXCam is a project for extended camera features +and focus on image quality improvement and video analysis. +There are lots features supported in image pre-processing, +image post-processing and smart analysis. This library +makes GPU/CPU/ISP working together to improve image quality. +OpenCL is used to improve performance in different platforms. + +%prep +%autosetup -n %{name}-release_%{version} +autoreconf -vif + +%build +%configure --disable-static + + +%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 +%{_includedir}/xcam +%{_libdir}/libxcam*.so* +%{_libdir}/pkgconfig/libxcam.pc + +%changelog +* Mon Jan 21 2019 Josef Ridky -1.2.0-1 +- exlclude arch to 32 an 64 bit arch (due beignet) + +* Mon Nov 06 2017 Josef Ridky -1.0.0-1 +- Initial commit