From d6370a30c263abf9e15342db2871665be62afb5b435e6a4630d1fbef6c0e76c6 Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Thu, 7 Jan 2021 11:28:39 +0000 Subject: [PATCH] Accepting request 860977 from home:jgwang:branches:hardware:sdr Update to version 4.0 OBS-URL: https://build.opensuse.org/request/show/860977 OBS-URL: https://build.opensuse.org/package/show/hardware:sdr/hamlib?expand=0&rev=18 --- hamlib-3.3.tar.gz | 3 --- hamlib-4.0.tar.gz | 3 +++ hamlib.changes | 13 +++++++++++++ hamlib.spec | 18 +++++++++++------- 4 files changed, 27 insertions(+), 10 deletions(-) delete mode 100644 hamlib-3.3.tar.gz create mode 100644 hamlib-4.0.tar.gz diff --git a/hamlib-3.3.tar.gz b/hamlib-3.3.tar.gz deleted file mode 100644 index bb044fe..0000000 --- a/hamlib-3.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c90b53949c767f049733b442cd6e0a48648b55d99d4df5ef3f852d985f45e880 -size 2192119 diff --git a/hamlib-4.0.tar.gz b/hamlib-4.0.tar.gz new file mode 100644 index 0000000..da4ced5 --- /dev/null +++ b/hamlib-4.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1fa24d4a8397b29a29f39be49c9042884d524b7a584ea8852bd770bd658d66f2 +size 2242857 diff --git a/hamlib.changes b/hamlib.changes index cad0368..eceb508 100644 --- a/hamlib.changes +++ b/hamlib.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Thu Jan 07 08:26:57 UTC 2021 - Wang Jun + +- Update to version 4.0 + * Major changes in 4.0 affecting usage + * Most rig model numbers have changed + * RIG_LEVEL_VOX has been deprecated and replaced by RIG_LEVEL_VOXDELAY + * rigctl 'f' command now returns VFO argument too + * rigctl 'y' and 'Y' command now take/show antenna argument and option. + * range_list items are undergoing changes towards a different model TBD + * RTS/DTR PTT sharing is off by default now -- use serial_share=1 + option to enable + ------------------------------------------------------------------- Wed Apr 29 23:14:25 UTC 2020 - Wojciech Kazubski diff --git a/hamlib.spec b/hamlib.spec index a748d9a..db22581 100644 --- a/hamlib.spec +++ b/hamlib.spec @@ -1,7 +1,7 @@ # # spec file for package hamlib # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,9 +16,9 @@ # -%define sover 2 +%define sover 4 Name: hamlib -Version: 3.3 +Version: 4.0 Release: 0 Summary: Run-time library to control radio transcievers and receivers License: LGPL-2.1-only @@ -28,6 +28,7 @@ URL: http://hamlib.sourceforge.net Source: http://downloads.sourceforge.net/project/%{name}/%{name}/%{version}/%{name}-%{version}.tar.gz # PATCH-FIX-OPENSUSE hamlib-3.0-perl_install.patch -- patch from Fedora Patch0: hamlib-3.0-perl_install.patch +BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: libtool BuildRequires: makeinfo @@ -40,7 +41,6 @@ BuildRequires: pkgconfig(libusb-1.0) BuildRequires: pkgconfig(libxml-2.0) BuildRequires: pkgconfig(lua) BuildRequires: pkgconfig(tcl) -BuildRequires: fdupes %if 0%{?suse_version} <= 1500 BuildRequires: pkgconfig(python2) %else @@ -120,6 +120,7 @@ other shack hardware. %package -n perl-Hamlib Summary: Perl bindings for Hamlib Group: Development/Languages/Perl +%requires_eq perl-base %description -n perl-Hamlib Hamlib provide a programming interface for controlling radios and @@ -152,9 +153,7 @@ rm %{buildroot}%{perl_vendorarch}/auto/Hamlib/.packlist mkdir -p %{buildroot}%{_docdir} mv %{buildroot}/%{_datadir}/doc/%{name} %{buildroot}%{_docdir} -%if 0%{?suse_version} <= 1500 %fdupes %{buildroot}%{python_sitearch} -%endif %check %make_build check @@ -180,6 +179,9 @@ mv %{buildroot}/%{_datadir}/doc/%{name} %{buildroot}%{_docdir} %{_bindir}/rigswr %{_bindir}/rotctl %{_bindir}/rotctld +%{_bindir}/ampctl +%{_bindir}/ampctld +%{_bindir}/rigctlcom %{_mandir}/man1/rigctl.1%{?ext_man} %{_mandir}/man1/rigctld.1%{?ext_man} %{_mandir}/man1/rigmem.1%{?ext_man} @@ -187,10 +189,12 @@ mv %{buildroot}/%{_datadir}/doc/%{name} %{buildroot}%{_docdir} %{_mandir}/man1/rigswr.1%{?ext_man} %{_mandir}/man1/rotctl.1%{?ext_man} %{_mandir}/man1/rotctld.1%{?ext_man} +%{_mandir}/man1/ampctl.1%{?ext_man} +%{_mandir}/man1/ampctld.1%{?ext_man} +%{_mandir}/man1/rigctlcom.1%{?ext_man} %{_mandir}/man7/hamlib-primer.7%{?ext_man} %{_mandir}/man7/hamlib-utilities.7%{?ext_man} %{_mandir}/man7/hamlib.7%{?ext_man} -%{_infodir}/hamlib.info%{?ext_info} %{_docdir}/hamlib %files devel