Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:ithod
python-ase
python-ase.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-ase.spec of Package python-ase
# # spec file for package python-ase # # Copyright (c) 2021 SUSE LINUX GmbH, Nuernberg, Germany. # # 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 http://bugs.opensuse.org/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-ase Version: 3.22.1 Release: 0 Url: http://wiki.fysik.dtu.dk/ase Summary: Tools and Python modules for working with atomistic simulations License: LGPL-2.1+ Group: Development/Languages/Python Source0: ase-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-rpm-macros Requires(post): update-alternatives Requires(postun): update-alternatives BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: findutils BuildRequires: sed Requires: python-numpy Requires: python-scipy Requires: python-tk Requires: python-matplotlib Requires: python-Flask BuildArch: noarch # ase 3.18.0 requires python > 3.5 %define skip_python2 1 Requires: python3 > 3.5 %python_subpackages %description ASE is a set of tools and Python modules for setting up, manipulating, running, visualizing and analyzing atomistic simulations. Webpage: http://wiki.fysik.dtu.dk/ase %prep %setup -q -n ase-%version %build %python_build %install %python_install # remove unneeded files rm -v %buildroot%_bindir/ase-* %python_expand find %buildroot -name *.pyo -delete %python_expand find %buildroot -name *.opt-1.pyc -delete # move alternative binaries %python_expand cp -pv %buildroot%_bindir/ase{,-%$python_bin_suffix} %python_expand sed -i s/python3/python%$python_bin_suffix/ %buildroot%_bindir/ase-%$python_bin_suffix %prepare_alternative ase %post %python_install_alternative ase %postun %python_uninstall_alternative ase %files %python_files %defattr(-,root,root,-) %doc COPYING COPYING.LESSER LICENSE %python_alternative %{_bindir}/ase %{python_sitelib}/ase/ %{python_sitelib}/ase-%{version}-*.egg-info %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