openbabel/openbabel.spec

Name: openbabel
Summary: Convert between file formats used in molecular modeling chemistry
Version: 2.1.1
Release: 1
License: GPL
Group: Development/Libraries
URL: http://openbabel.sourceforge.net/
Description: Open Babel is a project designed to pick up where Babel left off, as a cross-platform program and library designed to interconvert between many file formats used in molecular modeling and computational chemistry.

CentOS 7 x86_64

The build could not start because the following file is missing: openbabel-2.1.1.tar.gz

Build Status

CentOS 6 x86_64

The build could not start because the following file is missing: openbabel-2.1.1.tar.gz

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$
# Authority: dries
# Upstream: Geoff Hutchison <geoff$geoffhutchison,net>

Summary: Convert between file formats used in molecular modeling chemistry
Name: openbabel
Version: 2.1.1
Release: 1%{?dist}
License: GPL
Group: Development/Libraries
URL: http://openbabel.sourceforge.net/

Source: http://dl.sf.net/openbabel/openbabel-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildRequires: gcc-c++

%description
Open Babel is a project designed to pick up where Babel left off,
as a cross-platform program and library designed to interconvert
between many file formats used in molecular modeling and computational
chemistry.

%package devel
Summary: Header files, libraries and development documentation for %{name}.
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}

%description devel
This package contains the header files, static libraries and development
documentation for %{name}. If you like to develop programs using %{name},
you will need to install %{name}-devel.

%prep
%setup

%build
%configure
%{__make} %{?_smp_mflags}

%install
%{__rm} -rf %{buildroot}
%makeinstall

%post
/sbin/ldconfig 2>/dev/null

%postun
/sbin/ldconfig 2>/dev/null

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, 0755)
%doc AUTHORS ChangeLog COPYING INSTALL NEWS README THANKS
%doc %{_mandir}/man1/*
%{_bindir}/babel
%{_bindir}/obfit
%{_bindir}/obgrep
%{_bindir}/obrotate
%{_bindir}/obchiral
%{_bindir}/obenergy
%{_bindir}/obminimize
%{_bindir}/obprop
%{_bindir}/obrotamer
%{_bindir}/roundtrip
%{_libdir}/libopenbabel.so.*
%{_libdir}/libinchi.so.*
%{_libdir}/openbabel/
%{_datadir}/openbabel/

%files devel
%defattr(-, root, root, 0755)
%{_includedir}/openbabel-2.0/
%{_includedir}/inchi/
%{_libdir}/pkgconfig/openbabel-2.0.pc
%{_libdir}/libopenbabel.so
%{_libdir}/libinchi.so
%exclude %{_libdir}/libopenbabel.a
%exclude %{_libdir}/libopenbabel.la
%exclude %{_libdir}/libinchi.a
%exclude %{_libdir}/libinchi.la

%changelog
* Sat Jul 08 2007 Dries Verachtert <dries@ulyssis.org> - 2.1.1-1
- Updated to release 2.1.1.

* Sat Apr 08 2006 Dries Verachtert <dries@ulyssis.org> - 1.100.2-1.2
- Rebuild for Fedora Core 5.

* Tue Aug 30 2005 Dries Verachtert <dries@ulyssis.org> - 1.100.2-1
- Initial package.