SHA256
1
0
forked from pool/Ne10

Accepting request 745496 from hardware

- Use modern macros for building

- Remove obsolete Groups tag (fate#326485)

OBS-URL: https://build.opensuse.org/request/show/745496
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/Ne10?expand=0&rev=3
This commit is contained in:
Dominique Leuenberger 2019-11-06 13:35:17 +00:00 committed by Git OBS Bridge
commit ffc6e6da40
2 changed files with 19 additions and 19 deletions

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
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>
- Remove obsolete Groups tag (fate#326485)
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Nov 22 09:37:29 UTC 2016 - schwab@suse.de Tue Nov 22 09:37:29 UTC 2016 - schwab@suse.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package Ne10 # spec file for package Ne10
# #
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via https://bugs.opensuse.org/
# #
@ -22,12 +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
Group: Development/Libraries/C and C++ URL: https://projectne10.github.com/Ne10/
Url: http://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
@ -38,7 +36,6 @@ and physics functions.
%package -n libNE10-%{sover} %package -n libNE10-%{sover}
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
Group: Development/Libraries/C and C++
%description -n libNE10-%{sover} %description -n libNE10-%{sover}
Ne10 is a library of common functions that have been Ne10 is a library of common functions that have been
@ -53,7 +50,6 @@ This package contains the shared library.
%package -n libNE10_test%{sover} %package -n libNE10_test%{sover}
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
Group: Development/Libraries/C and C++
%description -n libNE10_test%{sover} %description -n libNE10_test%{sover}
The library provides some of the fastest implementations of key The library provides some of the fastest implementations of key
@ -65,7 +61,6 @@ This package contains the shared library with tests.
%package devel %package devel
Summary: Development files for Ne10, a math/DSP library for ARM NEON Summary: Development files for Ne10, a math/DSP library for ARM NEON
Group: Development/Libraries/C and C++
Requires: libNE10-%{sover} = %{version} Requires: libNE10-%{sover} = %{version}
Requires: libNE10_test%{sover} = %{version} Requires: libNE10_test%{sover} = %{version}
@ -82,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
@ -109,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