Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
hardware:sdr
python-pyModes
python-pyModes.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-pyModes.spec of Package python-pyModes
# # spec file for package python-pyModes.spec # # Copyright (c) 2021 SUSE LLC # Copyright (c) 2018-2021 Malcolm J Lewis <malcolmlewis@opensuse.org> # # 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. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %define skip_python2 1 %define skip_python36 1 %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pyModes Version: 2.9+git.20210123 Release: 0 Summary: Python library for Mode-S message decoding License: GPL-3.0-only Group: Development/Languages/Python URL: https://mode-s.org/ Source0: pyModeS-%{version}.tar.xz BuildRequires: %{python_module configargparse} BuildRequires: %{python_module curses} BuildRequires: %{python_module numpy} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module pyzmq} BuildRequires: fdupes ## Manual Begin Requires: python3-configargparse Requires: python3-curses Requires: python3-numpy Requires: python3-pyrtlsdr Requires: python3-pyzmq Requires(post): update-alternatives Requires(postun): update-alternatives Provides: modeslive = %{version} ## Manual end BuildArch: noarch %python_subpackages %description Python Decoder for ADS-B (DF17) and Mode-S Comm-B (DF20/21). %prep %autosetup -n pyModeS-%{version} %build export LC_ALL=en_US.utf8 %python_build %install export LC_ALL=en_US.utf8 %python_install %python_clone -a %{buildroot}%{_bindir}/modeslive %python_expand %fdupes -s %{buildroot}%{$python_sitelib} %check %pytest %post %python_install_alternative modeslive %postun %python_uninstall_alternative modeslive %files %{python_files} %license LICENSE %python_alternative %{_bindir}/modeslive %{python_sitelib}/* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor