Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
devel:languages:python:numeric
python-pymol
python-pymol.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-pymol.spec of Package python-pymol
# # spec file for package python-pymol # # 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/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 %define oldpython python %define modname pymol-open-source Name: python-pymol Version: 2.5.0 Release: 0 Summary: A Molecular Viewer License: Python-2.0 Group: Productivity/Scientific/Chemistry URL: https://pymol.org/2/ Source0: https://github.com/schrodinger/%{modname}/archive/v%{version}/%{modname}-%{version}.tar.gz # PATCH-FIX-OPENSUSE no-build-date.patch dhall@wustl.edu -- patch eliminates build date Patch0: no-build-date.patch # PATCH-FIX-OPENSUSE no-o3.patch tchvatal@suse.com -- do not add O3 to the code Patch1: no-o3.patch BuildRequires: %{python_module devel} BuildRequires: %{python_module numpy-devel} BuildRequires: %{python_module pytest} BuildRequires: %{python_module qt5-devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: freetype2-devel BuildRequires: gcc-c++ BuildRequires: glew-devel BuildRequires: glm-devel BuildRequires: msgpack-cxx-devel BuildRequires: libpng-devel BuildRequires: libxml2-devel BuildRequires: mmtf-cpp-devel BuildRequires: netcdf-devel BuildRequires: python-rpm-macros Requires: python-numpy Requires: python-qt5 Requires: python-pmw Requires(post): update-alternatives Requires(postun):update-alternatives Obsoletes: pymol < %{version} Provides: pymol = %{version} %python_subpackages %description PyMOL is a molecular graphics system targetted at medium to large biomolecules like proteins. It can generate molecular graphics images and animations. Features include: * Visualization of molecules, molecular trajectories and surfaces of crystallography data or orbitals * Molecular builder and sculptor * Internal raytracer and movie generator * Fully extensible and scriptable via a python interface The file formats PyMOL can read include PDB, XYZ, CIF, MDL Molfile, ChemDraw, CCP4 maps, XPLOR maps and Gaussian cube maps. %prep %setup -q -n %{modname}-%{version} %autopatch -p1 %build export CXXFLAGS="%{optflags} -fno-strict-aliasing" %python_build %install %python_install %python_clone -a %{buildroot}%{_bindir}/pymol %python_expand %fdupes %{buildroot}%{$python_sitearch} %post %python_install_alternative pymol %postun %python_uninstall_alternative pymol %check %files %{python_files} %doc README ChangeLog %license LICENSE %python_alternative %{_bindir}/pymol %{python_sitearch}* %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