2017-04-16 20:28:46 +00:00
|
|
|
#
|
|
|
|
# spec file for package hamlib
|
|
|
|
#
|
2020-04-25 08:28:26 +00:00
|
|
|
# Copyright (c) 2020 SUSE LLC
|
2017-04-16 20:28:46 +00:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2020-04-25 08:28:26 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2017-04-16 20:28:46 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2017-04-24 14:25:39 +00:00
|
|
|
%define sover 2
|
2017-04-16 20:28:46 +00:00
|
|
|
Name: hamlib
|
Accepting request 632367 from home:mnhauke:sdr-devel
- Update to version 3.3
* New models, R&S xk2100, TRXMAnager, Meade LX200
* HTML manual is now generated at 'make dist' so users don't
need GNU Info tools installed. TNX Greg, N1DAM for the suggestion.
* Handle longer udev generated file names up to 512 characters
* Add debug time stamps with new '-Z' option and '--debug-time-stamps'
options to rigctl, rotctl, rigctld, and rotctld utilities.
* rigctld/rotctld continue working after serial or TCP device
disappears.
* Updates and fixes to FT-817, K3, IC-7300, AOR 3030, TM-D710,
OMNI VII, TH-D72, Flrig, TS-590, piHPSDR, TS-2000, and netrigctl.
* Update utility manual pages (section 1) and remove their reference
material from the Info manual so it only needs to be update in one
file.
* Add new general project manual pages (section 7) and edit the Info
manual to match. These should not change much so keeping them in
sync should not be too much of a burden. The Info manual may be
removed at some point in the future.
* Last planned release of the present API/ABI. Future releases will
require recompilation and relinking by client programs using the C
library interface (programs that only use the network daemons should
be unaffected).
OBS-URL: https://build.opensuse.org/request/show/632367
OBS-URL: https://build.opensuse.org/package/show/hardware:sdr/hamlib?expand=0&rev=11
2018-08-31 07:01:53 +00:00
|
|
|
Version: 3.3
|
2017-04-16 20:28:46 +00:00
|
|
|
Release: 0
|
|
|
|
Summary: Run-time library to control radio transcievers and receivers
|
2018-04-04 10:34:37 +00:00
|
|
|
License: LGPL-2.1-only
|
2017-04-16 20:28:46 +00:00
|
|
|
Group: Productivity/Hamradio/Other
|
Accepting request 592906 from home:mnhauke:sdr-devel
- Update to version 3.2
* New models, IC-7850/IC-7851 in IC-785x. Mike, W9MDB
* Fix ft991_get_mode, Mike, W9MDB
* New model, FT-891. Mike, W9MDB
* New Barrett 2050 backend, Mike, W9MDB
* New Flrig backend, Mike, W9MDB
* New model, IC-M710, Mike, W9MDB
* Build instructions and test script for Python3
* Rename autogen.sh to bootsrap and don't call configure
* micro-ham support. Christoph, DL1YCF
* New rotator, SPID MD-01/02 in ROT2 mode, Norvald Ryeng, LA6YKA
* New model, Flex 6400/6600, Mike, W9MDB
* New model, IC-7610, Mike, W9MDB
* Add support for CM108B PTT, Max Lock
* New model, Rohde & Schwarz XK2100, Mike, W9MDB
* Many other bug fixes and enhancements
- Rebase patch hamlib-3.0-perl_install.patch
OBS-URL: https://build.opensuse.org/request/show/592906
OBS-URL: https://build.opensuse.org/package/show/hardware:sdr/hamlib?expand=0&rev=8
2018-04-03 07:12:07 +00:00
|
|
|
URL: http://hamlib.sourceforge.net
|
2017-04-16 20:28:46 +00:00
|
|
|
#Git-Clone: https://git.code.sf.net/p/hamlib/code
|
|
|
|
Source: http://downloads.sourceforge.net/project/%{name}/%{name}/%{version}/%{name}-%{version}.tar.gz
|
2017-04-24 16:40:37 +00:00
|
|
|
# PATCH-FIX-OPENSUSE hamlib-3.0-perl_install.patch -- patch from Fedora
|
|
|
|
Patch0: hamlib-3.0-perl_install.patch
|
2017-04-16 20:28:46 +00:00
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: libtool
|
|
|
|
BuildRequires: makeinfo
|
2017-04-24 16:40:37 +00:00
|
|
|
BuildRequires: perl
|
2017-04-16 20:28:46 +00:00
|
|
|
BuildRequires: pkgconfig
|
|
|
|
BuildRequires: readline-devel
|
|
|
|
BuildRequires: swig
|
|
|
|
BuildRequires: pkgconfig(gdlib)
|
|
|
|
BuildRequires: pkgconfig(libusb-1.0)
|
2018-04-04 10:34:37 +00:00
|
|
|
BuildRequires: pkgconfig(libxml-2.0)
|
2017-04-24 14:25:39 +00:00
|
|
|
BuildRequires: pkgconfig(lua)
|
2018-04-04 10:34:37 +00:00
|
|
|
BuildRequires: pkgconfig(tcl)
|
2020-04-25 08:28:26 +00:00
|
|
|
BuildRequires: fdupes
|
2020-04-30 11:10:23 +00:00
|
|
|
%if 0%{?suse_version} <= 1500
|
2020-04-25 08:28:26 +00:00
|
|
|
BuildRequires: pkgconfig(python2)
|
2020-04-30 11:10:23 +00:00
|
|
|
%else
|
|
|
|
BuildRequires: pkgconfig(python3)
|
|
|
|
%endif
|
2020-04-25 08:28:26 +00:00
|
|
|
Requires(post): %{install_info_prereq}
|
|
|
|
Requires(preun): %{install_info_prereq}
|
2017-04-16 20:28:46 +00:00
|
|
|
|
|
|
|
%description
|
2017-04-28 18:45:48 +00:00
|
|
|
The Ham Radio Control Libraries (Hamlib) provide a programming
|
|
|
|
interface for controlling radios and other shack hardware.
|
|
|
|
It is a software layer, not a complete user application.
|
2017-04-16 20:28:46 +00:00
|
|
|
|
|
|
|
%package devel
|
2017-04-28 18:45:48 +00:00
|
|
|
Summary: Development files for hamlib, a set of radio control libraries
|
2017-04-16 20:28:46 +00:00
|
|
|
Group: Development/Libraries/Other
|
2017-04-24 14:25:39 +00:00
|
|
|
Requires: libhamlib%{sover} = %{version}
|
|
|
|
Requires: libhamlib++%{sover} = %{version}
|
2017-04-16 20:28:46 +00:00
|
|
|
|
|
|
|
%description devel
|
2017-04-28 18:45:48 +00:00
|
|
|
Hamlib provide a programming interface for controlling radios and
|
|
|
|
other shack hardware.
|
2017-04-16 20:28:46 +00:00
|
|
|
|
2017-04-24 14:25:39 +00:00
|
|
|
%package -n libhamlib++%{sover}
|
2017-04-28 18:45:48 +00:00
|
|
|
Summary: C++ interface of the Ham Radio Control Libraries
|
|
|
|
Group: System/Libraries
|
2017-04-16 20:28:46 +00:00
|
|
|
|
2017-04-24 14:25:39 +00:00
|
|
|
%description -n libhamlib++%{sover}
|
2017-04-28 18:45:48 +00:00
|
|
|
Hamlib provides a programming interface for controlling radios and
|
|
|
|
other shack hardware. It is a software layer, not a complete user
|
|
|
|
application.
|
2017-04-16 20:28:46 +00:00
|
|
|
|
2017-04-24 14:25:39 +00:00
|
|
|
%package -n libhamlib%{sover}
|
2017-04-28 18:45:48 +00:00
|
|
|
Summary: C interface of the Ham Radio Control Libraries
|
|
|
|
Group: System/Libraries
|
2017-04-24 14:25:39 +00:00
|
|
|
|
|
|
|
%description -n libhamlib%{sover}
|
2017-04-28 18:45:48 +00:00
|
|
|
Hamlib provides a programming interface for controlling radios and
|
|
|
|
other shack hardware. It is a software layer, not a complete user
|
|
|
|
application.
|
2017-04-24 14:25:39 +00:00
|
|
|
|
|
|
|
%package -n lua-Hamliblua
|
2017-04-16 20:28:46 +00:00
|
|
|
Summary: LUA bindings for Hamlib
|
|
|
|
Group: Development/Libraries/Other
|
|
|
|
|
2017-04-24 14:25:39 +00:00
|
|
|
%description -n lua-Hamliblua
|
2017-04-28 18:45:48 +00:00
|
|
|
Hamlib provide a programming interface for controlling radios and
|
|
|
|
other shack hardware.
|
2017-04-16 20:28:46 +00:00
|
|
|
|
2020-04-25 08:28:26 +00:00
|
|
|
%if 0%{?suse_version} <= 1500
|
2017-04-16 20:28:46 +00:00
|
|
|
%package -n python-Hamlib
|
|
|
|
Summary: Python bindings for Hamlib
|
2017-04-24 14:25:39 +00:00
|
|
|
Group: Development/Libraries/Python
|
2017-04-16 20:28:46 +00:00
|
|
|
|
|
|
|
%description -n python-Hamlib
|
2017-04-28 18:45:48 +00:00
|
|
|
Hamlib provide a programming interface for controlling radios and
|
|
|
|
other shack hardware.
|
2020-04-30 11:10:23 +00:00
|
|
|
%else
|
|
|
|
%package -n python3-Hamlib
|
|
|
|
Summary: Python 3 bindings for Hamlib
|
|
|
|
Group: Development/Libraries/Python
|
|
|
|
|
|
|
|
%description -n python3-Hamlib
|
|
|
|
Hamlib provide a programming interface for controlling radios and
|
|
|
|
other shack hardware.
|
2020-04-25 08:28:26 +00:00
|
|
|
%endif
|
2017-04-16 20:28:46 +00:00
|
|
|
|
2017-04-24 14:25:39 +00:00
|
|
|
%package -n tcl-Hamlib
|
|
|
|
Summary: Tcl bindings for Hamlib
|
|
|
|
Group: Development/Languages/Tcl
|
2018-04-04 10:34:37 +00:00
|
|
|
%requires_eq tcl
|
2017-04-24 14:25:39 +00:00
|
|
|
|
|
|
|
%description -n tcl-Hamlib
|
2017-04-28 18:45:48 +00:00
|
|
|
Hamlib provide a programming interface for controlling radios and
|
|
|
|
other shack hardware.
|
2017-04-24 14:25:39 +00:00
|
|
|
|
2017-04-24 16:40:37 +00:00
|
|
|
%package -n perl-Hamlib
|
|
|
|
Summary: Perl bindings for Hamlib
|
|
|
|
Group: Development/Languages/Perl
|
|
|
|
|
|
|
|
%description -n perl-Hamlib
|
2017-04-28 18:45:48 +00:00
|
|
|
Hamlib provide a programming interface for controlling radios and
|
|
|
|
other shack hardware.
|
2017-04-24 16:40:37 +00:00
|
|
|
|
2017-04-16 20:28:46 +00:00
|
|
|
%prep
|
|
|
|
%setup -q
|
Accepting request 592906 from home:mnhauke:sdr-devel
- Update to version 3.2
* New models, IC-7850/IC-7851 in IC-785x. Mike, W9MDB
* Fix ft991_get_mode, Mike, W9MDB
* New model, FT-891. Mike, W9MDB
* New Barrett 2050 backend, Mike, W9MDB
* New Flrig backend, Mike, W9MDB
* New model, IC-M710, Mike, W9MDB
* Build instructions and test script for Python3
* Rename autogen.sh to bootsrap and don't call configure
* micro-ham support. Christoph, DL1YCF
* New rotator, SPID MD-01/02 in ROT2 mode, Norvald Ryeng, LA6YKA
* New model, Flex 6400/6600, Mike, W9MDB
* New model, IC-7610, Mike, W9MDB
* Add support for CM108B PTT, Max Lock
* New model, Rohde & Schwarz XK2100, Mike, W9MDB
* Many other bug fixes and enhancements
- Rebase patch hamlib-3.0-perl_install.patch
OBS-URL: https://build.opensuse.org/request/show/592906
OBS-URL: https://build.opensuse.org/package/show/hardware:sdr/hamlib?expand=0&rev=8
2018-04-03 07:12:07 +00:00
|
|
|
%patch0 -p1
|
2017-04-16 20:28:46 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
autoreconf -fiv
|
2017-04-24 14:25:39 +00:00
|
|
|
%configure \
|
2017-04-24 16:40:37 +00:00
|
|
|
--with-perl-binding \
|
2017-04-24 14:25:39 +00:00
|
|
|
--with-tcl-binding \
|
|
|
|
--with-lua-binding \
|
2020-04-30 11:10:23 +00:00
|
|
|
%if 0%{?suse_version} <= 1500
|
2017-04-24 16:40:37 +00:00
|
|
|
--with-python-binding \
|
2020-04-30 11:10:23 +00:00
|
|
|
%else
|
|
|
|
--with-python-binding PYTHON_VERSION='3.8' \
|
|
|
|
%endif
|
2017-04-24 16:40:37 +00:00
|
|
|
--with-xml-support
|
2020-04-25 08:28:26 +00:00
|
|
|
%make_build
|
2017-04-16 20:28:46 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
%make_install
|
2017-04-24 14:25:39 +00:00
|
|
|
find %{buildroot} -type f \( -name '*.a' -o -name '*.la' \) -delete -print
|
2017-04-16 20:28:46 +00:00
|
|
|
|
2017-04-24 16:40:37 +00:00
|
|
|
rm %{buildroot}%{perl_vendorarch}/auto/Hamlib/.packlist
|
|
|
|
|
2017-04-16 20:28:46 +00:00
|
|
|
mkdir -p %{buildroot}%{_docdir}
|
|
|
|
mv %{buildroot}/%{_datadir}/doc/%{name} %{buildroot}%{_docdir}
|
|
|
|
|
2020-04-25 08:28:26 +00:00
|
|
|
%if 0%{?suse_version} <= 1500
|
2017-04-16 20:28:46 +00:00
|
|
|
%fdupes %{buildroot}%{python_sitearch}
|
2020-04-25 08:28:26 +00:00
|
|
|
%endif
|
2017-04-16 20:28:46 +00:00
|
|
|
|
2017-04-24 16:57:23 +00:00
|
|
|
%check
|
2020-04-25 08:28:26 +00:00
|
|
|
%make_build check
|
2017-04-24 16:57:23 +00:00
|
|
|
|
2017-04-16 20:28:46 +00:00
|
|
|
%post
|
2017-04-24 14:25:39 +00:00
|
|
|
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info%{ext_info}
|
2017-04-16 20:28:46 +00:00
|
|
|
|
2017-04-24 14:25:39 +00:00
|
|
|
%preun
|
|
|
|
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info%{ext_info}
|
2017-04-16 20:28:46 +00:00
|
|
|
|
2017-04-24 14:25:39 +00:00
|
|
|
%post -n libhamlib++%{sover} -p /sbin/ldconfig
|
|
|
|
%post -n libhamlib%{sover} -p /sbin/ldconfig
|
|
|
|
%postun -n libhamlib++%{sover} -p /sbin/ldconfig
|
|
|
|
%postun -n libhamlib%{sover} -p /sbin/ldconfig
|
2017-04-16 20:28:46 +00:00
|
|
|
|
|
|
|
%files
|
2018-04-04 10:34:37 +00:00
|
|
|
%license LICENSE
|
|
|
|
%doc AUTHORS NEWS
|
2017-04-24 14:25:39 +00:00
|
|
|
%{_bindir}/rigctl
|
|
|
|
%{_bindir}/rigctld
|
|
|
|
%{_bindir}/rigmem
|
|
|
|
%{_bindir}/rigsmtr
|
|
|
|
%{_bindir}/rigswr
|
|
|
|
%{_bindir}/rotctl
|
|
|
|
%{_bindir}/rotctld
|
2018-04-04 10:34:37 +00:00
|
|
|
%{_mandir}/man1/rigctl.1%{?ext_man}
|
|
|
|
%{_mandir}/man1/rigctld.1%{?ext_man}
|
|
|
|
%{_mandir}/man1/rigmem.1%{?ext_man}
|
|
|
|
%{_mandir}/man1/rigsmtr.1%{?ext_man}
|
|
|
|
%{_mandir}/man1/rigswr.1%{?ext_man}
|
|
|
|
%{_mandir}/man1/rotctl.1%{?ext_man}
|
|
|
|
%{_mandir}/man1/rotctld.1%{?ext_man}
|
Accepting request 632367 from home:mnhauke:sdr-devel
- Update to version 3.3
* New models, R&S xk2100, TRXMAnager, Meade LX200
* HTML manual is now generated at 'make dist' so users don't
need GNU Info tools installed. TNX Greg, N1DAM for the suggestion.
* Handle longer udev generated file names up to 512 characters
* Add debug time stamps with new '-Z' option and '--debug-time-stamps'
options to rigctl, rotctl, rigctld, and rotctld utilities.
* rigctld/rotctld continue working after serial or TCP device
disappears.
* Updates and fixes to FT-817, K3, IC-7300, AOR 3030, TM-D710,
OMNI VII, TH-D72, Flrig, TS-590, piHPSDR, TS-2000, and netrigctl.
* Update utility manual pages (section 1) and remove their reference
material from the Info manual so it only needs to be update in one
file.
* Add new general project manual pages (section 7) and edit the Info
manual to match. These should not change much so keeping them in
sync should not be too much of a burden. The Info manual may be
removed at some point in the future.
* Last planned release of the present API/ABI. Future releases will
require recompilation and relinking by client programs using the C
library interface (programs that only use the network daemons should
be unaffected).
OBS-URL: https://build.opensuse.org/request/show/632367
OBS-URL: https://build.opensuse.org/package/show/hardware:sdr/hamlib?expand=0&rev=11
2018-08-31 07:01:53 +00:00
|
|
|
%{_mandir}/man7/hamlib-primer.7%{?ext_man}
|
|
|
|
%{_mandir}/man7/hamlib-utilities.7%{?ext_man}
|
|
|
|
%{_mandir}/man7/hamlib.7%{?ext_man}
|
2018-04-04 10:34:37 +00:00
|
|
|
%{_infodir}/hamlib.info%{?ext_info}
|
2017-04-16 20:28:46 +00:00
|
|
|
%{_docdir}/hamlib
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%dir %{_includedir}/hamlib
|
|
|
|
%{_includedir}/hamlib/*.h
|
|
|
|
%{_datadir}/aclocal/hamlib.m4
|
|
|
|
%{_libdir}/pkgconfig/hamlib.pc
|
|
|
|
%{_libdir}/libhamlib.so
|
|
|
|
%{_libdir}/libhamlib++.so
|
|
|
|
|
2017-04-24 14:25:39 +00:00
|
|
|
%files -n libhamlib%{sover}
|
2018-04-04 10:34:37 +00:00
|
|
|
%license COPYING COPYING.LIB
|
2017-04-24 14:25:39 +00:00
|
|
|
%{_libdir}/libhamlib.so.%{sover}*
|
2017-04-16 20:28:46 +00:00
|
|
|
|
2017-04-24 14:25:39 +00:00
|
|
|
%files -n libhamlib++%{sover}
|
2018-04-04 10:34:37 +00:00
|
|
|
%license COPYING COPYING.LIB
|
2017-04-24 14:25:39 +00:00
|
|
|
%{_libdir}/libhamlib++.so.%{sover}*
|
|
|
|
|
|
|
|
%files -n lua-Hamliblua
|
2017-04-16 20:28:46 +00:00
|
|
|
%{_libdir}/lua
|
|
|
|
|
2020-04-25 08:28:26 +00:00
|
|
|
%if 0%{?suse_version} <= 1500
|
2017-04-16 20:28:46 +00:00
|
|
|
%files -n python-Hamlib
|
|
|
|
%{python_sitearch}/Hamlib.*
|
|
|
|
%{python_sitearch}/_Hamlib.*
|
2020-04-30 11:10:23 +00:00
|
|
|
%else
|
|
|
|
%files -n python3-Hamlib
|
|
|
|
%{python3_sitearch}/Hamlib.*
|
|
|
|
%{python3_sitearch}/_Hamlib.*
|
|
|
|
%{python3_sitearch}/__pycache__/Hamlib.cpython*.pyc
|
2020-04-25 07:10:54 +00:00
|
|
|
%endif
|
2017-04-16 20:28:46 +00:00
|
|
|
|
2017-04-24 14:25:39 +00:00
|
|
|
%files -n tcl-Hamlib
|
Accepting request 592906 from home:mnhauke:sdr-devel
- Update to version 3.2
* New models, IC-7850/IC-7851 in IC-785x. Mike, W9MDB
* Fix ft991_get_mode, Mike, W9MDB
* New model, FT-891. Mike, W9MDB
* New Barrett 2050 backend, Mike, W9MDB
* New Flrig backend, Mike, W9MDB
* New model, IC-M710, Mike, W9MDB
* Build instructions and test script for Python3
* Rename autogen.sh to bootsrap and don't call configure
* micro-ham support. Christoph, DL1YCF
* New rotator, SPID MD-01/02 in ROT2 mode, Norvald Ryeng, LA6YKA
* New model, Flex 6400/6600, Mike, W9MDB
* New model, IC-7610, Mike, W9MDB
* Add support for CM108B PTT, Max Lock
* New model, Rohde & Schwarz XK2100, Mike, W9MDB
* Many other bug fixes and enhancements
- Rebase patch hamlib-3.0-perl_install.patch
OBS-URL: https://build.opensuse.org/request/show/592906
OBS-URL: https://build.opensuse.org/package/show/hardware:sdr/hamlib?expand=0&rev=8
2018-04-03 07:12:07 +00:00
|
|
|
%dir %{_libdir}/tcl*/
|
|
|
|
%dir %{_libdir}/tcl*/Hamlib
|
|
|
|
%{_libdir}/tcl*/Hamlib/*
|
2017-04-24 14:25:39 +00:00
|
|
|
|
2017-04-24 16:40:37 +00:00
|
|
|
%files -n perl-Hamlib
|
|
|
|
%{perl_vendorarch}/*
|
|
|
|
|
2017-04-16 20:28:46 +00:00
|
|
|
%changelog
|