File ghemical.spec of Package ghemical

#
# spec file for package ghemical
#
# Copyright (c) 2012 Lars Vogdt
#
# 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:           ghemical
Version:        3.0.0
Release:        1
License:        GPL-3.0+
Summary:        The MM and QM calculations frontend
Url:            http://www.bioinformatics.org/ghemical/ghemical/index.html
Group:          Productivity/Scientific/Chemistry
BuildRequires:  gcc-c++
BuildRequires:  gcc-fortran
BuildRequires:  glib2-devel
BuildRequires:  gtk2-devel
BuildRequires:  gtkglarea2-devel
BuildRequires:  gtkglext-devel
BuildRequires:  intltool
BuildRequires:  libglade2-devel
BuildRequires:  pkg-config
BuildRequires:  libgthread-2_0-0
Source:         %{name}-%{version}.tar.bz2
BuildRequires:  Mesa-devel
BuildRequires:  f2c
BuildRequires:  glibc-devel
BuildRequires:  libghemical5-devel
BuildRequires:  liboglappth2-devel
BuildRequires:  libopenbabel-devel
Recommends:     %{name}-lang = %{version}
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%lang_package

%description
Ghemical is a computational chemistry software package released under the
GNU GPL.

Ghemical is written in C++. It has a graphical user interface (in fact,
a couple of them), and it supports both quantum-mechanics (semi-empirical
and ab initio) models and molecular mechanics models (there is an experimental
Tripos 5.2-like force field for organic molecules). Also a tool for reduced
protein models is included. Geometry optimization, molecular dynamics
and a large set of visualization tools are currently available.

%prep
%setup -q
find . -type d -name CVS -print0 | xargs -0 rm -rf {} \;

%build
%configure --enable-openbabel
make %{?_smp_mflags}

%install
%makeinstall
%find_lang %{name}

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root)
%{_bindir}/ghemical
%{_datadir}/%{name}

%files lang -f %{name}.lang

%changelog
openSUSE Build Service is sponsored by