# # spec file for package python3-genfire # # Copyright (c) 2020 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 packagename genfire %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-genfire Version: 1.1.11 Release: 0 Summary: GENeralized Fourier Iterative REconstruction License: GPL-3.0-only Group: Development/Languages/Python URL: https://github.com/genfire-em/GENFIRE-Python Source: https://files.pythonhosted.org/packages/1e/e3/bb80c9e9f9b0255f70b230baf05609122a317945fa623eee8aba8f9ec8ec/%{packagename}-%{version}.tar.gz BuildRequires: fdupes BuildRequires: %{python_module Pillow >= 4.1.1} BuildRequires: %{python_module PyQt5 >= 5.5.0} BuildRequires: %{python_module matplotlib >= 2.0.2} BuildRequires: %{python_module numpy >= 1.12.1} BuildRequires: %{python_module pyparsing >= 2.2.0} BuildRequires: %{python_module scipy >= 0.19.0} BuildRequires: %{python_module six >= 1.10.0} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module pyFFTW} Requires: python-Pillow >= 4.1.1 Requires: python-PyQt5 >= 5.5.0 Requires: python-numpy >= 1.12.1 Requires: python-pyparsing >= 2.2.0 Requires: python-scipy >= 0.19.0 Requires: python-six >= 1.10.0 Requires: python-setuptools Requires: python-pyFFTW BuildArch: noarch %python_subpackages %description GENeralized Fourier Iterative REconstruction (GENFIRE) is a python package for 3D reconstruction from arbitrarily oriented projection images %prep %setup -q -n %{packagename}-%{version} %build %python_build %install %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check # No test given %files %{python_files} %doc README.md %{_bindir}/genfire %dir %{python_sitelib}/genfire/ %dir %{python_sitelib}/genfire/gui/ %dir %{python_sitelib}/genfire-1.1.11-py%{python_version}.egg-info/ %{python_sitelib}/genfire/*.py* %{python_sitelib}/genfire/gui/*.py* %{python_sitelib}/genfire-1.1.11-py%{python_version}.egg-info/* %pycache_only %{python_sitelib}/genfire/__pycache__ %pycache_only %{python_sitelib}/genfire/gui/__pycache__ %changelog