Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.3
pymol
pymol.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pymol.spec of Package pymol
# # spec file for package pymol # # Copyright (c) 2012 SUSE LINUX Products 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.5.0.3.svn4005 Release: 0 Url: http://pymol.org Summary: A Molecular Viewer License: Python-2.0 Group: Productivity/Scientific/Chemistry Source: %{name}-%{version}.tar.bz2 Patch0: 1_rpmroot.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: freeglut-devel BuildRequires: gcc-c++ BuildRequires: glew-devel BuildRequires: libpng-devel BuildRequires: python-devel Requires: glew 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 %patch0 sed -i "1d" modules/pmg_tk/startup/apbs_tools.py # Remove she-bang line %build %install CFLAGS="%{optflags}" python setup.py install --prefix=%{_prefix} --root=%{buildroot} PYTHONPATH=%{buildroot}%{py_sitedir} python setup2.py install --root=%{buildroot} install -D pymol %{buildroot}%{_bindir}/pymol %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