Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
science
clustalx
clustalx.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File clustalx.spec of Package clustalx
# # spec file for package clustalx # # 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: clustalx Summary: Multiple Sequence Alignment Program Version: 2.1 Release: 1 License: LGPL Group: Productivity/Scientific/Other BuildRequires: gcc gcc-c++ make libqt4-devel >= 4.3 Source: %name-%version.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build URL: http://www.clustal.org/ %description CLUSTAL W and CLUSTAL X Multiple Sequence Alignment Programs For details and citation purposes see paper "Clustal W and Clustal X version 2.0", Larkin M., et al. Bioinformatics 2007 23(21):2947-2948 http://bioinformatics.oxfordjournals.org/cgi/content/full/23/21/2947 %prep %setup -q #fix incorrect line ending sed -i 's/\r//' clustalx.hlp %build qmake make %{?_smp_mflags} cat > clustalx2 <<'EOF' #!/bin/sh ########################################################################### # Version: 1.0 # Code from the clustalx installer script # Path to the clustal installation directory export CLU_INSTALL_DIR=%{_libdir}/clustalx BINARY=clustalx ########################################################################### PROG=`basename $0` # Debugging #echo CLU_INSTALL_DIR=$CLU_INSTALL_DIR 1>&2 #echo BINARY=$BINARY 1>&2 # Is there an executable binary file? binary=$CLU_INSTALL_DIR/$BINARY if [ ! -f $binary ]; then echo "$PROG: Can't find executable '$binary'" exit 1 fi if [ ! -x $binary ]; then echo "$PROG: Binary '$binary' is not executable" exit 1 fi # Exec the child over this one exec $binary $* ########################################################################### EOF %install mkdir -p %{buildroot}/%{_bindir} mkdir -p %{buildroot}/%{_libdir}/%{name} mkdir -p %{buildroot}/%{_docdir}/%{name} install -m 644 *.xml %{buildroot}/%{_libdir}/%{name}/ install -m 755 clustalx %{buildroot}/%{_libdir}/%{name}/clustalx install -m 755 clustalx2 %{buildroot}/%{_bindir}/clustalx2 install -m 644 clustalx.hlp %{buildroot}/%{_docdir}/%{name}/clustalx.hlp ln -s %{_docdir}/%{name}/clustalx.hlp %{buildroot}/%{_libdir}/clustalx/clustalx.hlp %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc COPYING COPYING.LESSER README clustalx.hlp %{_libdir}/clustalx %{_bindir}/clustalx2 %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