Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:frank_kunz
nanovna-saver
nanovna-saver.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File nanovna-saver.spec of Package nanovna-saver
# # spec file for package python-black # # 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 # 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 pythons python3 Name: nanovna-saver Version: 0.5.4 Release: 0 Summary: The NanoVNA remote software License: GPL-3.0 URL: https://github.com/NanoVNA-Saver/nanovna-saver Source0: https://github.com/NanoVNA-Saver/nanovna-saver/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: python-rpm-macros BuildRequires: fdupes BuildRequires: %{python_module setuptools} BuildRequires: %{python_module pytest} BuildRequires: %{python_module qt5} BuildRequires: %{python_module numpy} BuildRequires: %{python_module scipy} BuildRequires: python3-base >= 3.7 Requires: %{python_module numpy} Requires: %{python_module scipy} Requires: %{python_module serial} Requires: %{python_module qt5} BuildArch: noarch %description A multiplatform tool to save Touchstone files from the NanoVNA, sweep frequency spans in segments to gain more than 101 data points, and generally display and analyze the resulting data. %prep %setup -q sed -i 's|#! /bin/env python||g' NanoVNASaver/__main__.py sed -i 's|"CHANGELOG.md",||g' setup.py %build python3 setup.py build %install python3 setup.py install --skip-build --root=%{buildroot} --prefix=%{_prefix} rm %{buildroot}%{_prefix}/share/doc/nanovnasaver/LICENSE %{buildroot}%{_prefix}/share/doc/nanovnasaver/README.md chmod -x %{buildroot}%{_prefix}/share/applications/NanoVNASaver.desktop %fdupes %{buildroot}%{python_sitelib} %check pytest -v # remove test files after test rm -rf %{buildroot}%{python_sitelib}/test %files %doc README.md %license LICENSE %{_bindir}/NanoVNASaver %{_datadir}/applications/*.desktop %{_datadir}/icons/* %{python_sitelib}/NanoVNASaver-%{version}-py*.egg-info %{python_sitelib}/NanoVNASaver/ %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