Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:jayvdb:py-new
python-nexpy
python-nexpy.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-nexpy.spec of Package python-nexpy
%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-nexpy Version: 0.10.12 Release: 0 Summary: A Python GUI to analyze NeXus data License: BSD-3-Clause Group: Development/Languages/Python Url: https://nexpy.github.io/nexpy/ Source: NeXpy-%{version}.tar.gz BuildRequires: fdupes BuildRequires: python-rpm-macros BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module numpy} Requires: python-ansi2html Requires: python-h5py Requires: python-jupyter Requires: python-jupyter_ipython >= 4.0.0 Requires: python-jupyter_qtconsole Requires: python-matplotlib >= 1.5.0 Requires: python-matplotlib-qt4 Requires: python-nexusformat >= 0.4.18 Requires: python-numpy >= 1.6.0 Requires: python-pyside Requires: python-scipy Requires: python-sip # The openSUSE package python-matplotlib is broken such that it # requires python-nose but fails to mark this requirement in the RPM. Requires: python-nose Recommends: python-lmfit Recommends: python-tifffile BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires(post): update-alternatives Requires(postun): update-alternatives BuildArch: noarch %python_subpackages %description NeXpy provides a high-level python interface to NeXus data contained within a simple GUI. It is designed to provide an intuitive interactive toolbox allowing users both to access existing NeXus files and to create new NeXus-conforming data structures without expert knowledge of the file format. %package -n %{name}-doc Summary: A Python GUI to analyze NeXus data Group: Documentation/Other Recommends: %{name} = %{version} BuildArch: noarch %description -n %{name}-doc NeXpy provides a high-level python interface to NeXus data contained within a simple GUI. It is designed to provide an intuitive interactive toolbox allowing users both to access existing NeXus files and to create new NeXus-conforming data structures without expert knowledge of the file format. This package contains example files for NeXpy. %prep %setup -q -n NeXpy-%{version} %build %python_build %install %python_install %python_clone -a %{buildroot}%{_bindir}/nexpy %__install -d -m 755 %{buildroot}%{_docdir}/%{name} %__mv %{buildroot}%{python_sitelib}/nexpy/examples \ %{buildroot}%{_docdir}/%{name} find %{buildroot}%{_docdir}/%{name} -type f -name '*.py?' | xargs -r rm %__chmod a-x %{buildroot}%{python_sitelib}/nexpy/definitions/base_classes/*.xml %post %python_install_alternative nexpy %postun %python_uninstall_alternative nexpy %clean rm -rf %{buildroot} %files %{python_files} %defattr(-,root,root,-) %doc README %exclude %{_docdir}/%{name}/examples %python_alternative %{_bindir}/nexpy %{python_sitelib}/* %files -n %{name}-doc %defattr(-,root,root) %dir %{_docdir}/%{name} %doc %{_docdir}/%{name}/examples %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