From f241323e75073e66d3584f2c98f969be8a87e461c3e6fef22dcb55d0eee5cfde Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Fri, 10 Apr 2020 06:10:47 +0000 Subject: [PATCH] Accepting request 792792 from home:mnhauke:sdr-devel - Update to version 1.6.8 * add airspyhf_* tools - Update patch * libairspyhf/src/CMakeLists.txt OBS-URL: https://build.opensuse.org/request/show/792792 OBS-URL: https://build.opensuse.org/package/show/hardware:sdr/airspyhf?expand=0&rev=13 --- airspyhf-1.1.5.tar.gz | 3 --- airspyhf-1.6.8.tar.gz | 3 +++ airspyhf-fix-libm-linking.patch | 6 +++--- airspyhf.changes | 8 ++++++++ airspyhf.spec | 13 ++++++++++--- 5 files changed, 24 insertions(+), 9 deletions(-) delete mode 100644 airspyhf-1.1.5.tar.gz create mode 100644 airspyhf-1.6.8.tar.gz diff --git a/airspyhf-1.1.5.tar.gz b/airspyhf-1.1.5.tar.gz deleted file mode 100644 index d420786..0000000 --- a/airspyhf-1.1.5.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:270c332e16677469d7644053e4905106ef0aa52f0da10fd9f22cca05fe1dd2ef -size 21917 diff --git a/airspyhf-1.6.8.tar.gz b/airspyhf-1.6.8.tar.gz new file mode 100644 index 0000000..38670bb --- /dev/null +++ b/airspyhf-1.6.8.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cd1e5ae89e09b813b096ae4a328e352c9432a582e03fd7da86760ba60efa77ab +size 33527 diff --git a/airspyhf-fix-libm-linking.patch b/airspyhf-fix-libm-linking.patch index 12cd67e..b8fe591 100644 --- a/airspyhf-fix-libm-linking.patch +++ b/airspyhf-fix-libm-linking.patch @@ -1,13 +1,13 @@ diff --git a/libairspyhf/src/CMakeLists.txt b/libairspyhf/src/CMakeLists.txt -index 2ab698b..21be9ed 100644 +index 9d8d483..da1f966 100644 --- a/libairspyhf/src/CMakeLists.txt +++ b/libairspyhf/src/CMakeLists.txt -@@ -63,7 +63,7 @@ set_target_properties(airspyhf PROPERTIES CLEAN_DIRECT_OUTPUT 1) +@@ -58,7 +58,7 @@ set_target_properties(airspyhf PROPERTIES CLEAN_DIRECT_OUTPUT 1) set_target_properties(airspyhf-static PROPERTIES CLEAN_DIRECT_OUTPUT 1) # Dependencies -target_link_libraries(airspyhf ${LIBUSB_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT}) +target_link_libraries(airspyhf ${LIBUSB_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT} m) - + # For cygwin just force UNIX OFF and WIN32 ON if( ${CYGWIN} ) diff --git a/airspyhf.changes b/airspyhf.changes index acca27f..e0d2c37 100644 --- a/airspyhf.changes +++ b/airspyhf.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Thu Apr 9 18:11:02 UTC 2020 - Martin Hauke + +- Update to version 1.6.8 + * add airspyhf_* tools +- Update patch + * libairspyhf/src/CMakeLists.txt + ------------------------------------------------------------------- Thu Oct 17 12:58:51 UTC 2019 - Richard Brown diff --git a/airspyhf.spec b/airspyhf.spec index dda8a4d..be4b1ef 100644 --- a/airspyhf.spec +++ b/airspyhf.spec @@ -1,7 +1,7 @@ # # spec file for package airspyhf # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # Copyright (c) 2017, Martin Hauke # # All modifications and additions to the file contributed by third parties @@ -21,11 +21,11 @@ %define airspyhf_group airspyhf %define libname lib%{name}%{sover} Name: airspyhf -Version: 1.1.5 +Version: 1.6.8 Release: 0 Summary: Support programs for Airspy HF+ SDR License: BSD-3-Clause -Url: http://www.airspy.com/airspy-hf-plus +URL: http://www.airspy.com/airspy-hf-plus #Git-Clone: https://github.com/airspy/airspyhf.git Source: https://github.com/airspy/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz Patch0: airspyhf-fix-libm-linking.patch @@ -93,6 +93,13 @@ getent group %{airspyhf_group} >/dev/null || groupadd -r %{airspyhf_group} %postun udev %udev_rules_update +%files +%{_bindir}/airspyhf_calibrate +%{_bindir}/airspyhf_gpio +%{_bindir}/airspyhf_info +%{_bindir}/airspyhf_lib_version +%{_bindir}/airspyhf_rx + %files -n %{libname} %doc README.md LICENSE %{_libdir}/libairspyhf.so.*