Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.2
pymol
pymol.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pymol.spec of Package pymol
# # spec file for package pymol # # Copyright (c) 2015 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/ # Name: pymol Version: 1.7.7.1.svn4131 Release: 0 Url: http://pymol.org Summary: A Molecular Viewer License: Python-2.0 Group: Productivity/Scientific/Chemistry Source: %{name}-%{version}.tar.xz # PATCH-FIX-OPENSUSE no-build-date.patch dhall@wustl.edu -- patch eliminates build date Patch: no-build-date.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: freeglut-devel BuildRequires: freetype2-devel BuildRequires: gcc-c++ BuildRequires: glew-devel BuildRequires: libpng-devel BuildRequires: libxml2-devel BuildRequires: python-devel BuildRequires: python-numpy-devel Requires: glew Requires: python-numpy Requires: python-pmw %if 0%{?suse_version} %py_requires %if 0%{?suse_version} > 1010 BuildRequires: fdupes %endif %endif %description PyMOL is a molecular graphics system targetted at medium to large biomolecules like proteins. It can generate high-quality publication-ready 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 File formats PyMOL can read include PDB, XYZ, CIF, MDL Molfile, ChemDraw, CCP4 maps, XPLOR maps and Gaussian cube maps. %prep %setup -q %patch sed -i "1d" modules/pmg_tk/startup/apbs_tools.py # Remove she-bang line chmod -x data/xray/* # mark data files as not executable %build %install CPPFLAGS="-std=c++0x" CFLAGS="%{optflags}" python setup.py install --prefix=%{_prefix} --root=%{buildroot} %if 0%{?suse_version} > 1010 %fdupes %{buildroot}%{_prefix} %endif %clean rm -rf %{buildroot} %files %defattr(-,root,root) %{_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