Compare commits
4 Commits
Author | SHA1 | Date |
---|---|---|
Fedora Release Engineering | f59dd8f8af | |
Bill Nottingham | bbf94e49f4 | |
Dominik Mierzejewski | 8de9ecb527 | |
Jesse Keating | 8e8a64aeab |
|
@ -1 +0,0 @@
|
|||
openbabel-2.2.0b4-20080301-r2299.tar.gz
|
|
@ -0,0 +1 @@
|
|||
openbabel-2.2.0.tar.gz
|
21
Makefile
21
Makefile
|
@ -1,21 +0,0 @@
|
|||
# Makefile for source rpm: openbabel
|
||||
# $Id$
|
||||
NAME := openbabel
|
||||
SPECFILE = $(firstword $(wildcard *.spec))
|
||||
|
||||
define find-makefile-common
|
||||
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(find-makefile-common))
|
||||
|
||||
ifeq ($(MAKEFILE_COMMON),)
|
||||
# attept a checkout
|
||||
define checkout-makefile-common
|
||||
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
|
||||
endif
|
||||
|
||||
include $(MAKEFILE_COMMON)
|
|
@ -0,0 +1,32 @@
|
|||
diff -up openbabel-2.2.0/test/wrapper.sh.chk openbabel-2.2.0/test/wrapper.sh
|
||||
--- openbabel-2.2.0/test/wrapper.sh.chk 2008-07-04 02:28:17.000000000 +0200
|
||||
+++ openbabel-2.2.0/test/wrapper.sh 2008-07-06 22:54:23.000000000 +0200
|
||||
@@ -16,11 +16,11 @@ TESTS="${TESTS} logp_psa math"
|
||||
TESTS="${TESTS} mol phmodel residue rings"
|
||||
TESTS="${TESTS} smarts smilesmatch unitcell"
|
||||
TESTS="${TESTS} cml.sh test-set.sh"
|
||||
-if [ "x${srcdir}" != "x" ]; then
|
||||
- TESTS="${TESTS} ${srcdir}/inchi.pl ${srcdir}/inchi2.pl"
|
||||
-else
|
||||
- TESTS="${TESTS} inchi.pl inchi2.pl"
|
||||
-fi
|
||||
+#if [ "x${srcdir}" != "x" ]; then
|
||||
+# TESTS="${TESTS} ${srcdir}/inchi.pl ${srcdir}/inchi2.pl"
|
||||
+#else
|
||||
+# TESTS="${TESTS} inchi.pl inchi2.pl"
|
||||
+#fi
|
||||
PROVE=prove
|
||||
|
||||
echo "top srcdir: .${topsrcdir}."
|
||||
diff -up openbabel-2.2.0/test/bond.cpp.chk openbabel-2.2.0/test/bond.cpp
|
||||
--- openbabel-2.2.0/test/bond.cpp.chk 2008-06-13 22:48:05.000000000 +0200
|
||||
+++ openbabel-2.2.0/test/bond.cpp 2008-07-06 21:45:44.000000000 +0200
|
||||
@@ -58,7 +58,7 @@ int main(int argc,char *argv[])
|
||||
|
||||
bond1.SetBegin(&begin1);
|
||||
bond1.SetEnd(&end1);
|
||||
- cout << "ok 4\n";
|
||||
+ cout << "ok 3\n";
|
||||
|
||||
return(0);
|
||||
}
|
|
@ -1,6 +1,6 @@
|
|||
diff -up openbabel-2.2.0b3-20080215-r2249/src/zipstreamimpl.h.gcc43 openbabel-2.2.0b3-20080215-r2249/src/zipstreamimpl.h
|
||||
--- openbabel-2.2.0b3-20080215-r2249/src/zipstreamimpl.h.gcc43 2007-11-30 00:01:23.000000000 +0100
|
||||
+++ openbabel-2.2.0b3-20080215-r2249/src/zipstreamimpl.h 2008-02-23 20:55:49.000000000 +0100
|
||||
diff -up openbabel-2.2.0b7/src/zipstreamimpl.h.gcc43 openbabel-2.2.0b7/src/zipstreamimpl.h
|
||||
--- openbabel-2.2.0b7/src/zipstreamimpl.h.gcc43 2008-06-21 15:58:02.000000000 +0200
|
||||
+++ openbabel-2.2.0b7/src/zipstreamimpl.h 2008-07-02 20:16:21.000000000 +0200
|
||||
@@ -31,6 +31,8 @@ Altered by: Geoffrey Hutchison 2005 for
|
||||
minor namespace modifications, VC++ compatibility
|
||||
*/
|
||||
|
@ -10,9 +10,9 @@ diff -up openbabel-2.2.0b3-20080215-r2249/src/zipstreamimpl.h.gcc43 openbabel-2.
|
|||
//*****************************************************************************
|
||||
// template class basic_zip_streambuf
|
||||
//*****************************************************************************
|
||||
diff -up openbabel-2.2.0b3-20080215-r2249/src/residue.cpp.gcc43 openbabel-2.2.0b3-20080215-r2249/src/residue.cpp
|
||||
--- openbabel-2.2.0b3-20080215-r2249/src/residue.cpp.gcc43 2007-12-12 20:16:13.000000000 +0100
|
||||
+++ openbabel-2.2.0b3-20080215-r2249/src/residue.cpp 2008-02-23 20:55:49.000000000 +0100
|
||||
diff -up openbabel-2.2.0b7/src/residue.cpp.gcc43 openbabel-2.2.0b7/src/residue.cpp
|
||||
--- openbabel-2.2.0b7/src/residue.cpp.gcc43 2008-06-21 15:58:02.000000000 +0200
|
||||
+++ openbabel-2.2.0b7/src/residue.cpp 2008-07-02 20:16:21.000000000 +0200
|
||||
@@ -26,6 +26,8 @@ obtained in part or whole from RasMol2 b
|
||||
// File Includes
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
@ -22,21 +22,20 @@ diff -up openbabel-2.2.0b3-20080215-r2249/src/residue.cpp.gcc43 openbabel-2.2.0b
|
|||
#include <openbabel/babelconfig.h>
|
||||
|
||||
#include <openbabel/residue.h>
|
||||
diff -up openbabel-2.2.0b3-20080215-r2249/src/tokenst.cpp.gcc43 openbabel-2.2.0b3-20080215-r2249/src/tokenst.cpp
|
||||
diff -up openbabel-2.2.0b3-20080215-r2249/src/obconversion.cpp.gcc43 openbabel-2.2.0b3-20080215-r2249/src/obconversion.cpp
|
||||
--- openbabel-2.2.0b3-20080215-r2249/src/obconversion.cpp.gcc43 2008-01-21 22:48:26.000000000 +0100
|
||||
+++ openbabel-2.2.0b3-20080215-r2249/src/obconversion.cpp 2008-02-23 20:55:49.000000000 +0100
|
||||
@@ -36,6 +36,7 @@ GNU General Public License for more deta
|
||||
#include <sstream>
|
||||
diff -up openbabel-2.2.0b7/src/obconversion.cpp.gcc43 openbabel-2.2.0b7/src/obconversion.cpp
|
||||
--- openbabel-2.2.0b7/src/obconversion.cpp.gcc43 2008-06-21 15:58:02.000000000 +0200
|
||||
+++ openbabel-2.2.0b7/src/obconversion.cpp 2008-07-02 20:17:00.000000000 +0200
|
||||
@@ -37,6 +37,7 @@ GNU General Public License for more deta
|
||||
#include <string>
|
||||
#include <map>
|
||||
#include <locale>
|
||||
+#include <typeinfo>
|
||||
|
||||
#include <openbabel/obconversion.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
diff -up openbabel-2.2.0b3-20080215-r2249/src/formats/rxnformat.cpp.gcc43 openbabel-2.2.0b3-20080215-r2249/src/formats/rxnformat.cpp
|
||||
--- openbabel-2.2.0b3-20080215-r2249/src/formats/rxnformat.cpp.gcc43 2007-12-18 20:12:51.000000000 +0100
|
||||
+++ openbabel-2.2.0b3-20080215-r2249/src/formats/rxnformat.cpp 2008-02-23 20:58:22.000000000 +0100
|
||||
diff -up openbabel-2.2.0b7/src/formats/rxnformat.cpp.gcc43 openbabel-2.2.0b7/src/formats/rxnformat.cpp
|
||||
--- openbabel-2.2.0b7/src/formats/rxnformat.cpp.gcc43 2008-06-21 15:58:01.000000000 +0200
|
||||
+++ openbabel-2.2.0b7/src/formats/rxnformat.cpp 2008-07-02 20:16:21.000000000 +0200
|
||||
@@ -16,6 +16,7 @@ GNU General Public License for more deta
|
||||
#include "openbabel/babelconfig.h"
|
||||
#include <string>
|
||||
|
@ -45,9 +44,9 @@ diff -up openbabel-2.2.0b3-20080215-r2249/src/formats/rxnformat.cpp.gcc43 openba
|
|||
#include "openbabel/mol.h"
|
||||
#include "openbabel/obconversion.h"
|
||||
#include "openbabel/reaction.h"
|
||||
diff -up openbabel-2.2.0b3-20080215-r2249/src/formats/fchkformat.cpp.gcc43 openbabel-2.2.0b3-20080215-r2249/src/formats/fchkformat.cpp
|
||||
--- openbabel-2.2.0b3-20080215-r2249/src/formats/fchkformat.cpp.gcc43 2007-11-30 00:01:23.000000000 +0100
|
||||
+++ openbabel-2.2.0b3-20080215-r2249/src/formats/fchkformat.cpp 2008-02-23 20:55:49.000000000 +0100
|
||||
diff -up openbabel-2.2.0b7/src/formats/fchkformat.cpp.gcc43 openbabel-2.2.0b7/src/formats/fchkformat.cpp
|
||||
--- openbabel-2.2.0b7/src/formats/fchkformat.cpp.gcc43 2008-06-13 22:48:02.000000000 +0200
|
||||
+++ openbabel-2.2.0b7/src/formats/fchkformat.cpp 2008-07-02 20:16:21.000000000 +0200
|
||||
@@ -12,6 +12,7 @@ GNU General Public License for more deta
|
||||
***********************************************************************/
|
||||
|
||||
|
@ -56,9 +55,9 @@ diff -up openbabel-2.2.0b3-20080215-r2249/src/formats/fchkformat.cpp.gcc43 openb
|
|||
|
||||
// No diagnoalization yet. Perhaps for 2.2 -GRH
|
||||
// #include <eigen/matrix.h>
|
||||
diff -up openbabel-2.2.0b3-20080215-r2249/src/fingerprint.cpp.gcc43 openbabel-2.2.0b3-20080215-r2249/src/fingerprint.cpp
|
||||
--- openbabel-2.2.0b3-20080215-r2249/src/fingerprint.cpp.gcc43 2007-11-30 00:01:23.000000000 +0100
|
||||
+++ openbabel-2.2.0b3-20080215-r2249/src/fingerprint.cpp 2008-02-23 20:55:49.000000000 +0100
|
||||
diff -up openbabel-2.2.0b7/src/fingerprint.cpp.gcc43 openbabel-2.2.0b7/src/fingerprint.cpp
|
||||
--- openbabel-2.2.0b7/src/fingerprint.cpp.gcc43 2008-06-26 20:55:14.000000000 +0200
|
||||
+++ openbabel-2.2.0b7/src/fingerprint.cpp 2008-07-02 20:16:21.000000000 +0200
|
||||
@@ -21,7 +21,7 @@ GNU General Public License for more deta
|
||||
#include <vector>
|
||||
#include <algorithm>
|
||||
|
@ -68,9 +67,9 @@ diff -up openbabel-2.2.0b3-20080215-r2249/src/fingerprint.cpp.gcc43 openbabel-2.
|
|||
#include <fstream>
|
||||
|
||||
#include <openbabel/fingerprint.h>
|
||||
diff -up openbabel-2.2.0b3-20080215-r2249/include/openbabel/xml.h.gcc43 openbabel-2.2.0b3-20080215-r2249/include/openbabel/xml.h
|
||||
--- openbabel-2.2.0b3-20080215-r2249/include/openbabel/xml.h.gcc43 2007-12-12 20:16:13.000000000 +0100
|
||||
+++ openbabel-2.2.0b3-20080215-r2249/include/openbabel/xml.h 2008-02-23 20:55:49.000000000 +0100
|
||||
diff -up openbabel-2.2.0b7/include/openbabel/xml.h.gcc43 openbabel-2.2.0b7/include/openbabel/xml.h
|
||||
--- openbabel-2.2.0b7/include/openbabel/xml.h.gcc43 2008-06-21 15:58:05.000000000 +0200
|
||||
+++ openbabel-2.2.0b7/include/openbabel/xml.h 2008-07-02 20:16:21.000000000 +0200
|
||||
@@ -13,6 +13,8 @@ MERCHANTABILITY or FITNESS FOR A PARTICU
|
||||
GNU General Public License for more details.
|
||||
***********************************************************************/
|
||||
|
@ -80,9 +79,9 @@ diff -up openbabel-2.2.0b3-20080215-r2249/include/openbabel/xml.h.gcc43 openbabe
|
|||
#include <openbabel/mol.h>
|
||||
#include <openbabel/obconversion.h>
|
||||
#include <openbabel/obmolecformat.h>
|
||||
diff -up openbabel-2.2.0b3-20080215-r2249/include/openbabel/obconversion.h.gcc43 openbabel-2.2.0b3-20080215-r2249/include/openbabel/obconversion.h
|
||||
--- openbabel-2.2.0b3-20080215-r2249/include/openbabel/obconversion.h.gcc43 2008-01-16 19:42:43.000000000 +0100
|
||||
+++ openbabel-2.2.0b3-20080215-r2249/include/openbabel/obconversion.h 2008-02-23 20:55:49.000000000 +0100
|
||||
diff -up openbabel-2.2.0b7/include/openbabel/obconversion.h.gcc43 openbabel-2.2.0b7/include/openbabel/obconversion.h
|
||||
--- openbabel-2.2.0b7/include/openbabel/obconversion.h.gcc43 2008-06-21 15:58:05.000000000 +0200
|
||||
+++ openbabel-2.2.0b7/include/openbabel/obconversion.h 2008-07-02 20:16:21.000000000 +0200
|
||||
@@ -28,6 +28,7 @@ GNU General Public License for more deta
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
@ -91,9 +90,9 @@ diff -up openbabel-2.2.0b3-20080215-r2249/include/openbabel/obconversion.h.gcc43
|
|||
|
||||
#include <openbabel/dlhandler.h>
|
||||
#include <openbabel/oberror.h>
|
||||
diff -up openbabel-2.2.0b3-20080215-r2249/include/openbabel/data.h.gcc43 openbabel-2.2.0b3-20080215-r2249/include/openbabel/data.h
|
||||
--- openbabel-2.2.0b3-20080215-r2249/include/openbabel/data.h.gcc43 2008-01-21 22:03:43.000000000 +0100
|
||||
+++ openbabel-2.2.0b3-20080215-r2249/include/openbabel/data.h 2008-02-23 20:55:49.000000000 +0100
|
||||
diff -up openbabel-2.2.0b7/include/openbabel/data.h.gcc43 openbabel-2.2.0b7/include/openbabel/data.h
|
||||
--- openbabel-2.2.0b7/include/openbabel/data.h.gcc43 2008-06-21 15:58:05.000000000 +0200
|
||||
+++ openbabel-2.2.0b7/include/openbabel/data.h 2008-07-02 20:16:21.000000000 +0200
|
||||
@@ -23,7 +23,7 @@ GNU General Public License for more deta
|
||||
#include <openbabel/babelconfig.h>
|
||||
|
||||
|
@ -103,9 +102,9 @@ diff -up openbabel-2.2.0b3-20080215-r2249/include/openbabel/data.h.gcc43 openbab
|
|||
#include <fstream>
|
||||
#include <vector>
|
||||
#include <string>
|
||||
diff -up openbabel-2.2.0b3-20080215-r2249/include/openbabel/obmolecformat.h.gcc43 openbabel-2.2.0b3-20080215-r2249/include/openbabel/obmolecformat.h
|
||||
--- openbabel-2.2.0b3-20080215-r2249/include/openbabel/obmolecformat.h.gcc43 2007-12-12 20:16:13.000000000 +0100
|
||||
+++ openbabel-2.2.0b3-20080215-r2249/include/openbabel/obmolecformat.h 2008-02-23 20:55:49.000000000 +0100
|
||||
diff -up openbabel-2.2.0b7/include/openbabel/obmolecformat.h.gcc43 openbabel-2.2.0b7/include/openbabel/obmolecformat.h
|
||||
--- openbabel-2.2.0b7/include/openbabel/obmolecformat.h.gcc43 2008-06-21 15:58:05.000000000 +0200
|
||||
+++ openbabel-2.2.0b7/include/openbabel/obmolecformat.h 2008-07-02 20:16:21.000000000 +0200
|
||||
@@ -23,6 +23,8 @@ GNU General Public License for more deta
|
||||
#include <hash_map>
|
||||
#endif
|
||||
|
@ -113,12 +112,11 @@ diff -up openbabel-2.2.0b3-20080215-r2249/include/openbabel/obmolecformat.h.gcc4
|
|||
+#include <typeinfo>
|
||||
+
|
||||
#include <openbabel/mol.h>
|
||||
#include <openbabel/babelconfig.h>
|
||||
#include <openbabel/obconversion.h>
|
||||
#include <typeinfo>
|
||||
diff -up openbabel-2.2.0b3-20080215-r2249/include/openbabel/lineend.h.gcc43 openbabel-2.2.0b3-20080215-r2249/include/openbabel/lineend.h
|
||||
diff -up openbabel-2.2.0b3-20080215-r2249/tools/babel.cpp.gcc43 openbabel-2.2.0b3-20080215-r2249/tools/babel.cpp
|
||||
--- openbabel-2.2.0b3-20080215-r2249/tools/babel.cpp.gcc43 2007-12-12 20:16:13.000000000 +0100
|
||||
+++ openbabel-2.2.0b3-20080215-r2249/tools/babel.cpp 2008-02-23 20:55:55.000000000 +0100
|
||||
diff -up openbabel-2.2.0b7/tools/babel.cpp.gcc43 openbabel-2.2.0b7/tools/babel.cpp
|
||||
--- openbabel-2.2.0b7/tools/babel.cpp.gcc43 2008-06-21 15:58:03.000000000 +0200
|
||||
+++ openbabel-2.2.0b7/tools/babel.cpp 2008-07-02 20:16:21.000000000 +0200
|
||||
@@ -42,6 +42,7 @@ extern "C" int strncasecmp(const char *s
|
||||
#include <openbabel/obconversion.h>
|
||||
#include <openbabel/plugin.h>
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
diff -up openbabel-2.2.0b3-20080215-r2249/scripts/Makefile.am.r openbabel-2.2.0b3-20080215-r2249/scripts/Makefile.am
|
||||
--- openbabel-2.2.0b3-20080215-r2249/scripts/Makefile.am.r 2008-01-24 21:43:42.000000000 +0100
|
||||
+++ openbabel-2.2.0b3-20080215-r2249/scripts/Makefile.am 2008-02-23 15:48:26.000000000 +0100
|
||||
@@ -58,8 +58,8 @@ ruby/openbabel_ruby.cpp: openbabel-ruby.
|
||||
$(SWIG) -ruby -naturalvar -autorename -c++ -o $@ -I$(top_srcdir)/include \
|
||||
-I$(top_builddir)/include $<;
|
||||
diff -up openbabel-2.2.0/scripts/Makefile.am.r openbabel-2.2.0/scripts/Makefile.am
|
||||
--- openbabel-2.2.0/scripts/Makefile.am.r 2008-07-03 20:25:54.000000000 +0200
|
||||
+++ openbabel-2.2.0/scripts/Makefile.am 2008-07-06 15:59:23.000000000 +0200
|
||||
@@ -63,8 +63,8 @@ ruby/openbabel_ruby.cpp: openbabel-ruby.
|
||||
$(SWIG) -small -O -ruby -naturalvar -autorename -c++ -o $@ \
|
||||
-templatereduce -I$(top_srcdir)/include -I$(top_builddir)/include $<;
|
||||
(cd ruby; ruby extconf.rb \
|
||||
- --with-openbabel-include=$(includedir)/openbabel-2.0 \
|
||||
- --with-openbabel-lib=$(libdir) )
|
||||
|
@ -12,3 +12,17 @@ diff -up openbabel-2.2.0b3-20080215-r2249/scripts/Makefile.am.r openbabel-2.2.0b
|
|||
sed -e 's/rb_define_module(\"Openbabel\")/rb_define_module(\"OpenBabel\")/' -e 's/void Init_OpenBabel/void Init_openbabel/' <ruby/openbabel_ruby.cpp >ruby/openbabel_ruby.new
|
||||
mv ruby/openbabel_ruby.new ruby/openbabel_ruby.cpp
|
||||
endif # BUILD_RUBY
|
||||
diff -up openbabel-2.2.0/scripts/perl/Makefile.PL.r openbabel-2.2.0/scripts/perl/Makefile.PL
|
||||
--- openbabel-2.2.0/scripts/perl/Makefile.PL.r 2008-07-06 16:16:45.000000000 +0200
|
||||
+++ openbabel-2.2.0/scripts/perl/Makefile.PL 2008-07-06 16:48:59.000000000 +0200
|
||||
@@ -3,8 +3,8 @@ use ExtUtils::MakeMaker;
|
||||
use lib 'inc';
|
||||
use Devel::CheckLib;
|
||||
|
||||
-check_lib_or_exit( lib => 'openbabel' , libpath =>
|
||||
-@ENV{"LD_LIBRARY_PATH"});
|
||||
+#check_lib_or_exit( lib => 'openbabel' , libpath =>
|
||||
+#@ENV{"LD_LIBRARY_PATH"});
|
||||
|
||||
$CC = 'g++';
|
||||
$srcdir = '../../src';
|
||||
|
|
|
@ -4,19 +4,20 @@
|
|||
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
||||
%define ruby_sitearch %(ruby -rrbconfig -e 'puts Config::CONFIG["sitearchdir"]')
|
||||
|
||||
%define beta_ver b4
|
||||
%define beta_str b4-20080301-r2299
|
||||
%define beta_ver %{nil}
|
||||
%define beta_str %{nil}
|
||||
|
||||
Name: openbabel
|
||||
Version: 2.2.0
|
||||
Release: 0.2.%{beta_ver}%{?dist}
|
||||
Release: 1%{?dist}
|
||||
Summary: Chemistry software file format converter
|
||||
License: GPLv2
|
||||
Group: Applications/File
|
||||
URL: http://openbabel.sourceforge.net/
|
||||
URL: http://openbabel.org/
|
||||
Source: http://dl.sourceforge.net/sourceforge/openbabel/%{name}-%{version}%{beta_str}.tar.gz
|
||||
Patch: %{name}-gcc43.patch
|
||||
Patch1: %{name}-rpm.patch
|
||||
Patch2: %{name}-check.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildRequires: inchi-devel
|
||||
BuildRequires: libtool
|
||||
|
@ -62,8 +63,9 @@ you should install %{name}-devel. You'll also need to have the
|
|||
%package -n perl-%{name}
|
||||
Group: System Environment/Libraries
|
||||
Summary: Perl wrapper for the Open Babel library
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
Obsoletes: %{name}-perl < 2.2.0
|
||||
Provides: %{name}-perl
|
||||
Provides: %{name}-perl = %{version}-%{release}
|
||||
|
||||
%description -n perl-%{name}
|
||||
Perl wrapper for the Open Babel library.
|
||||
|
@ -72,7 +74,7 @@ Perl wrapper for the Open Babel library.
|
|||
Group: System Environment/Libraries
|
||||
Summary: Python wrapper for the Open Babel library
|
||||
Obsoletes: %{name}-python < 2.2.0
|
||||
Provides: %{name}-python
|
||||
Provides: %{name}-python = %{version}-%{release}
|
||||
|
||||
%description -n python-%{name}
|
||||
Python wrapper for the Open Babel library.
|
||||
|
@ -90,10 +92,15 @@ Ruby wrapper for the Open Babel library.
|
|||
%setup -q -n %{name}-%{version}%{beta_ver}
|
||||
%patch -p1 -b .gcc43
|
||||
%patch1 -p1 -b .r
|
||||
%patch2 -p1 -b .chk
|
||||
chmod 644 src/formats/{mmcif,fchk}format.cpp
|
||||
|
||||
%build
|
||||
# don't reference m4 include directory which isn't shipped in the tarball
|
||||
# there's also a typo ("autconf" instead of "autoconf")
|
||||
sed -i -e 's/ACLOCAL_AMFLAGS=/#ACLOCAL_AMFLAGS=/g' Makefile.am
|
||||
autoreconf --force --install
|
||||
%configure --enable-shared=yes --enable-static=no --enable-maintainer-mode
|
||||
%configure --enable-shared=yes --enable-static=no --disable-inchi --enable-maintainer-mode
|
||||
%{__make} %{?_smp_mflags}
|
||||
|
||||
pushd scripts/perl
|
||||
|
@ -114,7 +121,7 @@ popd
|
|||
|
||||
%{__make} install DESTDIR=$RPM_BUILD_ROOT
|
||||
|
||||
%{__rm} $RPM_BUILD_ROOT%{_libdir}{,/%{name}}/*.la
|
||||
%{__rm} $RPM_BUILD_ROOT%{_libdir}{,/%{name}/%{version}%{beta_ver}}/*.la
|
||||
|
||||
pushd scripts/perl
|
||||
%{__make} install DESTDIR=$RPM_BUILD_ROOT
|
||||
|
@ -127,6 +134,7 @@ pushd scripts/python
|
|||
%{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT
|
||||
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
|
||||
popd
|
||||
chmod 755 $RPM_BUILD_ROOT%{python_sitearch}/_openbabel.so
|
||||
|
||||
pushd scripts/ruby
|
||||
%{__make} install DESTDIR=$RPM_BUILD_ROOT
|
||||
|
@ -180,6 +188,15 @@ popd
|
|||
%{ruby_sitearch}/openbabel.so
|
||||
|
||||
%changelog
|
||||
* Sun Jul 06 2008 Dominik Mierzejewski <rpm@greysector.net> 2.2.0-1
|
||||
- updated to 2.2.0
|
||||
- new URL
|
||||
- dropped Python binding split patch (broken, reverted upstream)
|
||||
- fixed testsuite and disabled inchi tests temporarily
|
||||
- added strict perl version requirements (patch by Paul Howarth, bug #453120)
|
||||
- fixed some rpmlint warnings
|
||||
- merged a sed call into -rpm patch
|
||||
|
||||
* Sun Mar 02 2008 Dominik Mierzejewski <rpm@greysector.net> 2.2.0-0.2.b4
|
||||
- updated to 2.2.0 beta4
|
||||
- enable CML tests again (fixed upstream)
|
||||
|
|
Loading…
Reference in New Issue