diff --git a/python-visvis.spec b/python-visvis.spec new file mode 100644 index 0000000000000000000000000000000000000000..7391c22f45151daec43c9be9b05dae9b8cdcea3d --- /dev/null +++ b/python-visvis.spec @@ -0,0 +1,52 @@ +%global srcname visvis +Name: python-%{srcname} +Version: 1.13.0 +Release: 1 +Summary: Python library for visualization of 1D to 4D data in an object oriented way +License: BSD +URL: https://github.com/almarklein/%{srcname} +Source0: %{url}/archive/v%{version}/%{srcname}-%{version}.tar.gz +BuildArch: noarch +BuildRequires: python3-devel +BuildRequires: python3-setuptools + +%global _description\ +Visvis is a pure Python library for visualization of 1D to 4D data in an\ +object oriented way. Essentially, visvis is an object oriented layer of\ +Python on top of OpenGl, thereby combining the power of OpenGl with the\ +usability of Python. A Matlab/Matplotlib-like interface in the form of a\ +set of functions allows easy creation of objects (e.g. plot(), imshow(),\ +volshow(), surf()). + +%description +%{_description} + +%package -n python3-%{srcname} +Summary: %{summary} +%{?python_provide:%python_provide python3-%{srcname}} +BuildRequires: python3-devel, python3-setuptools +Requires: python3-numpy, python3-pyopengl +Recommends: python3-PyQt4, python3-wxpython4 +Recommends: python3-gobject + +%description -n python3-%{srcname} +%{_description} + +%prep +%setup -n %{srcname}-%{version} + +%build +%py3_build + +%install +%py3_install + +%files -n python3-%{srcname} +%license license.txt +%doc README.md +%{python3_sitelib}/%{srcname} +%{python3_sitelib}/%{srcname}-%{version}-*.egg-info + +%changelog +* Fri Jul 9 2021 baiguanglei - 1.13.0-1 +- Initial package diff --git a/visvis-1.13.0.tar.gz b/visvis-1.13.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..edaa14f13cee0fdd70bd8d0b6046cb08699c5b91 Binary files /dev/null and b/visvis-1.13.0.tar.gz differ