Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.4
rasmol
rasmol.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File rasmol.spec of Package rasmol
# # spec file for package rasmol (Version 2.7.4.2) # # Copyright (c) 2010 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/ # # norootforbuild Name: rasmol BuildRequires: xorg-x11 xorg-x11-devel Url: http://www.bernstein-plus-sons.com/software/rasmol/ License: Public Domain, Freeware Group: Productivity/Scientific/Chemistry Provides: RasMol AutoReqProv: on Version: 2.7.4.2 Release: 59 Summary: Molecular Graphics Visualization Tool Source: RasMol_2.7.4.2.tar.bz2 Source1: README_FIRST Source2: CBFlib_0.7.9.1.tar.bz2 Patch1: RasMol_%{version}.patch #This one is unneeded #Patch2: RasMol_%{version}-array.patch Patch2: RasMol_%{version}-decrement_var.patch # this patch ommit downloading CBFlib tarball which is copied from source2 Patch3: RasMol_%{version}-no_wget_CBFlib.patch Patch4: RasMol_%{version}-CBFlib_rpmoptflags.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description RasMol is an X Window System tool intended for the visualization of proteins and nucleic acids. It reads Brookhaven Protein Database (PDB) files and interactively renders them in a variety of formats on either an 8-bit or 24/32-bit color display. Examples are in /usr/lib/rasmol. %define _xorg7libs %_lib %define _xorg7bin bin %define _xorg7_mandir %_mandir %prep %setup -n RasMol_2.7.4.2_23Mar08 -a2 %patch1 %patch2 %patch3 %patch4 cp %{S:1} . # it is needed to remove some links in tarball ## these thing were done manualy when repacking the 2.7.4 tarball ## may be reused in future # fixing executable flag #find . -type f -perm -111|xargs chmod -x #find . -name *.csh|xargs chmod +x # removing forgotten manpage link #rm -f src/rasmol.man %build # export CFLAGS=$RPM_OPT_FLAGS have to be set in Makefile (patch 0 and 5) cd src xmkmf -a make #make %{?jobs:-j%jobs} %install make -C src "DESTDIR=$RPM_BUILD_ROOT" "PIXELDEPTH=16" install make -C src "DESTDIR=$RPM_BUILD_ROOT" install.man rm -rf doc/RCS cp -a data $RPM_BUILD_ROOT/usr/%{_xorg7libs}/rasmol %files %defattr(-,root,root) %doc NOTICE PROJECTS TODO* README* README_FIRST ChangeLog.html history.html index.shtml html_graphics doc/{*.pdf.gz,N*,e*,r*.html,raswin.hlp} %doc %{_xorg7_mandir}/man1/* /usr/%{_xorg7libs}/rasmol /usr/%{_xorg7bin}/rasmol %clean rm -rf $RPM_BUILD_ROOT %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