Accepting request 797594 from hardware:sdr
OBS-URL: https://build.opensuse.org/request/show/797594 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/hamlib?expand=0&rev=4
This commit is contained in:
commit
83de5b4afa
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Apr 25 07:58:17 UTC 2020 - Martin Pluskal <mpluskal@suse.com>
|
||||||
|
|
||||||
|
- Do not build python2 bindings for Tumbleweed
|
||||||
|
- Modernise spec file
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Aug 30 19:01:52 UTC 2018 - mardnh@gmx.de
|
Thu Aug 30 19:01:52 UTC 2018 - mardnh@gmx.de
|
||||||
|
|
||||||
|
26
hamlib.spec
26
hamlib.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package hamlib
|
# spec file for package hamlib
|
||||||
#
|
#
|
||||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2020 SUSE LLC
|
||||||
#
|
#
|
||||||
# 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/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
@ -28,7 +28,6 @@ URL: http://hamlib.sourceforge.net
|
|||||||
Source: http://downloads.sourceforge.net/project/%{name}/%{name}/%{version}/%{name}-%{version}.tar.gz
|
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
|
# PATCH-FIX-OPENSUSE hamlib-3.0-perl_install.patch -- patch from Fedora
|
||||||
Patch0: hamlib-3.0-perl_install.patch
|
Patch0: hamlib-3.0-perl_install.patch
|
||||||
BuildRequires: fdupes
|
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
BuildRequires: makeinfo
|
BuildRequires: makeinfo
|
||||||
@ -40,10 +39,13 @@ BuildRequires: pkgconfig(gdlib)
|
|||||||
BuildRequires: pkgconfig(libusb-1.0)
|
BuildRequires: pkgconfig(libusb-1.0)
|
||||||
BuildRequires: pkgconfig(libxml-2.0)
|
BuildRequires: pkgconfig(libxml-2.0)
|
||||||
BuildRequires: pkgconfig(lua)
|
BuildRequires: pkgconfig(lua)
|
||||||
BuildRequires: pkgconfig(python2)
|
|
||||||
BuildRequires: pkgconfig(tcl)
|
BuildRequires: pkgconfig(tcl)
|
||||||
Requires(post): info
|
%if 0%{?suse_version} <= 1500
|
||||||
Requires(preun): info
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: pkgconfig(python2)
|
||||||
|
Requires(post): %{install_info_prereq}
|
||||||
|
Requires(preun): %{install_info_prereq}
|
||||||
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The Ham Radio Control Libraries (Hamlib) provide a programming
|
The Ham Radio Control Libraries (Hamlib) provide a programming
|
||||||
@ -86,6 +88,7 @@ Group: Development/Libraries/Other
|
|||||||
Hamlib provide a programming interface for controlling radios and
|
Hamlib provide a programming interface for controlling radios and
|
||||||
other shack hardware.
|
other shack hardware.
|
||||||
|
|
||||||
|
%if 0%{?suse_version} <= 1500
|
||||||
%package -n python-Hamlib
|
%package -n python-Hamlib
|
||||||
Summary: Python bindings for Hamlib
|
Summary: Python bindings for Hamlib
|
||||||
Group: Development/Libraries/Python
|
Group: Development/Libraries/Python
|
||||||
@ -93,6 +96,7 @@ Group: Development/Libraries/Python
|
|||||||
%description -n python-Hamlib
|
%description -n python-Hamlib
|
||||||
Hamlib provide a programming interface for controlling radios and
|
Hamlib provide a programming interface for controlling radios and
|
||||||
other shack hardware.
|
other shack hardware.
|
||||||
|
%endif
|
||||||
|
|
||||||
%package -n tcl-Hamlib
|
%package -n tcl-Hamlib
|
||||||
Summary: Tcl bindings for Hamlib
|
Summary: Tcl bindings for Hamlib
|
||||||
@ -121,9 +125,11 @@ autoreconf -fiv
|
|||||||
--with-perl-binding \
|
--with-perl-binding \
|
||||||
--with-tcl-binding \
|
--with-tcl-binding \
|
||||||
--with-lua-binding \
|
--with-lua-binding \
|
||||||
|
%if 0%{?suse_version} <= 1500
|
||||||
--with-python-binding \
|
--with-python-binding \
|
||||||
|
%endif
|
||||||
--with-xml-support
|
--with-xml-support
|
||||||
make %{?_smp_mflags} V=1
|
%make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
@ -134,10 +140,12 @@ rm %{buildroot}%{perl_vendorarch}/auto/Hamlib/.packlist
|
|||||||
mkdir -p %{buildroot}%{_docdir}
|
mkdir -p %{buildroot}%{_docdir}
|
||||||
mv %{buildroot}/%{_datadir}/doc/%{name} %{buildroot}%{_docdir}
|
mv %{buildroot}/%{_datadir}/doc/%{name} %{buildroot}%{_docdir}
|
||||||
|
|
||||||
|
%if 0%{?suse_version} <= 1500
|
||||||
%fdupes %{buildroot}%{python_sitearch}
|
%fdupes %{buildroot}%{python_sitearch}
|
||||||
|
%endif
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make %{?_smp_mflags} check
|
%make_build check
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info%{ext_info}
|
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info%{ext_info}
|
||||||
@ -192,9 +200,11 @@ make %{?_smp_mflags} check
|
|||||||
%files -n lua-Hamliblua
|
%files -n lua-Hamliblua
|
||||||
%{_libdir}/lua
|
%{_libdir}/lua
|
||||||
|
|
||||||
|
%if 0%{?suse_version} <= 1500
|
||||||
%files -n python-Hamlib
|
%files -n python-Hamlib
|
||||||
%{python_sitearch}/Hamlib.*
|
%{python_sitearch}/Hamlib.*
|
||||||
%{python_sitearch}/_Hamlib.*
|
%{python_sitearch}/_Hamlib.*
|
||||||
|
%endif
|
||||||
|
|
||||||
%files -n tcl-Hamlib
|
%files -n tcl-Hamlib
|
||||||
%dir %{_libdir}/tcl*/
|
%dir %{_libdir}/tcl*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user