- Use modern macros for building
OBS-URL: https://build.opensuse.org/package/show/hardware/Ne10?expand=0&rev=8
This commit is contained in:
parent
74eecc8deb
commit
ae015d068f
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Nov 5 13:29:18 UTC 2019 - Martin Pluskal <mpluskal@suse.com>
|
||||||
|
|
||||||
|
- Use modern macros for building
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Oct 17 12:25:36 UTC 2019 - Richard Brown <rbrown@suse.com>
|
Thu Oct 17 12:25:36 UTC 2019 - Richard Brown <rbrown@suse.com>
|
||||||
|
|
||||||
|
20
Ne10.spec
20
Ne10.spec
@ -22,11 +22,10 @@ Version: 1.2.1
|
|||||||
Release: 0
|
Release: 0
|
||||||
Summary: A library of common math and DSP functions optimized for ARM NEON
|
Summary: A library of common math and DSP functions optimized for ARM NEON
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Url: http://projectne10.github.com/Ne10/
|
URL: https://projectne10.github.com/Ne10/
|
||||||
Source: https://github.com/projectNe10/Ne10/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
Source: https://github.com/projectNe10/Ne10/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
ExclusiveArch: armv7hl aarch64
|
ExclusiveArch: armv7hl aarch64
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -78,16 +77,15 @@ This package contains the development files.
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
%cmake \
|
%cmake \
|
||||||
-DNE10_BUILD_STATIC=OFF \
|
|
||||||
-DNE10_BUILD_SHARED=ON \
|
|
||||||
-DGNULINUX_PLATFORM=ON \
|
|
||||||
%ifarch aarch64
|
%ifarch aarch64
|
||||||
-DNE10_LINUX_TARGET_ARCH=aarch64 \
|
-DNE10_LINUX_TARGET_ARCH=aarch64 \
|
||||||
%else
|
%else
|
||||||
-DNE10_LINUX_TARGET_ARCH=armv7 \
|
-DNE10_LINUX_TARGET_ARCH=armv7 \
|
||||||
%endif
|
%endif
|
||||||
-DCMAKE_BUILD_TYPE=RelWithDebInfo
|
-DNE10_BUILD_STATIC=OFF \
|
||||||
make %{?_smp_mflags}
|
-DNE10_BUILD_SHARED=ON \
|
||||||
|
-DGNULINUX_PLATFORM=ON
|
||||||
|
%cmake_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
for i in inc/*.h; do
|
for i in inc/*.h; do
|
||||||
@ -105,18 +103,14 @@ done
|
|||||||
%postun -n libNE10_test%{sover} -p /sbin/ldconfig
|
%postun -n libNE10_test%{sover} -p /sbin/ldconfig
|
||||||
|
|
||||||
%files -n libNE10-%{sover}
|
%files -n libNE10-%{sover}
|
||||||
%defattr(-,root,root)
|
%license LICENSE
|
||||||
%doc LICENSE
|
|
||||||
%{_libdir}/libNE10.so.%{sover}*
|
%{_libdir}/libNE10.so.%{sover}*
|
||||||
|
|
||||||
%files -n libNE10_test%{sover}
|
%files -n libNE10_test%{sover}
|
||||||
%defattr(-,root,root)
|
%license LICENSE
|
||||||
%doc LICENSE
|
|
||||||
%{_libdir}/libNE10_test.so.%{sover}*
|
%{_libdir}/libNE10_test.so.%{sover}*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
|
||||||
%doc LICENSE
|
|
||||||
%{_includedir}/*.h
|
%{_includedir}/*.h
|
||||||
%{_libdir}/libNE10.so
|
%{_libdir}/libNE10.so
|
||||||
%{_libdir}/libNE10_test.so
|
%{_libdir}/libNE10_test.so
|
||||||
|
Loading…
Reference in New Issue
Block a user