BuildRequires: python
BuildRequires: scons
+# It was named "libarmcl-release", which does not obey the naming rule.
+# Added this "Provides" for backward compatibility.
+# This will be removed when the dependencies on this "obsolete" name are cleared.
+Provides: libarmcl-release=%{version}-%{release}
+
%define OPEN_CL_SUPPORT 1
%define NEON_SUPPORT 1
%define BENCHMARK_TEST 1
%description
The ARM Computer Vision and Machine Learning library is a set of functions optimised for both ARM CPUs and GPUs using SIMD technologies
-%package -n %{name}-release
-Summary: ARM Compute Library file
-
-%description -n %{name}-release
-Summary: ARM Compute Library file
-
%package devel
Summary: Userspace interface to ARM Compute Library
-Requires: %{name}-release = %{version}-%{release}
+Requires: %{name} = %{version}-%{release}
%description devel
Summary: Userspace interface to ARM Compute Library
-%package -n %{name}-tools
+%package tools
Summary: Sample application and benchmark binaries to test ARM Compute Library
+Requires: %{name} = %{version}-%{release}
-%description -n %{name}-tools
+%description tools
Summary: Sample application and benchmark binaries to test ARM Compute Library
%prep
cp -r %{_builddir}/%{name}-%{version}/data/* %{buildroot}%{_libdir}/data/
%endif
-%files -n %{name}-release
+%files
%manifest %{name}.manifest
%{_libdir}/libarm_compute*.so
%{_includedir}/half/*
%{_includedir}/libnpy/*
-%files -n %{name}-tools
+%files tools
%manifest %{name}.manifest
%{_bindir}/cl_convolution
%{_bindir}/cl_events