File sms2.spec of Package sms2
#
# spec file for package sms2
#
# 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: sms2
Summary: Sequence Manipulation Suite
License: GPL-2.0+
Group: Productivity/Scientific/Other
Version: 2
Release: 0
Source: %{name}.tar.gz
Requires: apache2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Url: http://bioinformatics.org/sms2
BuildArch: noarch
%define wwwdir /srv/www/htdocs
%description
The Sequence Manipulation Suite is a collection of JavaScript programs for
generating, formatting, and analyzing short DNA and protein sequences. It is
commonly used by molecular biologists, for teaching, and for program and
algorithm testing.
Citation:
Stothard P (2000) The Sequence Manipulation Suite: JavaScript programs for
analyzing and formatting protein and DNA sequences. Biotechniques 28:1102-1104.
%prep
%setup -n sms2
%build
%install
mkdir -p %{buildroot}%{wwwdir}
mkdir -p %{buildroot}%{wwwdir}/sms2/scripts
mkdir -p %{buildroot}%{wwwdir}/sms2/includes
cp -r scripts %{buildroot}%{wwwdir}/sms2
cp -r includes %{buildroot}%{wwwdir}/sms2
install -m 644 *.html %{buildroot}%{wwwdir}/sms2
%clean
%files
%defattr(-,root,root)
%dir /srv/www/htdocs/sms2
/srv/www/htdocs/sms2/*
%doc README
%changelog