Compare commits
4 Commits
Author | SHA1 | Date |
---|---|---|
Fedora Release Engineering | 1e4fe08b44 | |
Bill Nottingham | be1cb755a6 | |
Dominik Mierzejewski | cbbcae0d6a | |
Bill Nottingham | 5bee5f4803 |
|
@ -1 +0,0 @@
|
|||
openbabel-2.1.0.tar.gz
|
|
@ -0,0 +1 @@
|
|||
openbabel-2.1.1.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)
|
|
@ -4,20 +4,20 @@
|
|||
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
||||
|
||||
%define inchi_ver 1.0.1
|
||||
%define inchi_rel 7
|
||||
%define inchi_rel 8
|
||||
|
||||
Name: openbabel
|
||||
Version: 2.1.0
|
||||
Release: 2%{?dist}
|
||||
Version: 2.1.1
|
||||
Release: 1%{?dist}
|
||||
Summary: Chemistry software file format converter
|
||||
License: GPL
|
||||
License: GPLv2
|
||||
Group: Applications/File
|
||||
URL: http://openbabel.sourceforge.net/
|
||||
Source: http://dl.sourceforge.net/sourceforge/openbabel/%{name}-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildRequires: libtool
|
||||
BuildRequires: libxml2-devel
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
BuildRequires: python
|
||||
BuildRequires: python-devel
|
||||
#TODO: enable when GUI is functional
|
||||
|
@ -55,7 +55,7 @@ you should install %{name}-devel. You'll also need to have the
|
|||
%package -n inchi
|
||||
Summary: The IUPAC International Chemical Identifier (InChI) library
|
||||
Group: System Environment/Libraries
|
||||
License: LGPL
|
||||
License: LGPLv2
|
||||
Version: %{inchi_ver}
|
||||
Release: %{inchi_rel}%{?dist}
|
||||
|
||||
|
@ -65,7 +65,7 @@ The IUPAC International Chemical Identifier (InChI) library.
|
|||
%package -n inchi-devel
|
||||
Summary: Development headers for InChI library
|
||||
Group: Development/Libraries
|
||||
License: LGPL
|
||||
License: LGPLv2
|
||||
Version: %{inchi_ver}
|
||||
Release: %{inchi_rel}%{?dist}
|
||||
Requires: inchi = %{inchi_ver}-%{inchi_rel}%{?dist}
|
||||
|
@ -133,7 +133,8 @@ pushd scripts/python
|
|||
popd
|
||||
|
||||
# work around testsuite crash
|
||||
%{__rm} src/formats/.libs/inchiformat.soT
|
||||
%{__rm} src/formats/.libs/*.soT
|
||||
%{__rm} src/formats/xml/.libs/*.soT
|
||||
|
||||
%clean
|
||||
%{__rm} -rf $RPM_BUILD_ROOT
|
||||
|
@ -189,6 +190,11 @@ popd
|
|||
%{python_sitearch}/pybel.py*
|
||||
|
||||
%changelog
|
||||
* Fri Aug 17 2007 Dominik Mierzejewski <rpm@greysector.net> 2.1.1-1
|
||||
- updated to 2.1.1
|
||||
- better work around for testsuite crash
|
||||
- updated the License tag according to the new guidelines
|
||||
|
||||
* Tue Apr 17 2007 Dominik Mierzejewski <rpm@greysector.net> 2.1.0-2
|
||||
- work around testsuite crash
|
||||
|
||||
|
|
Loading…
Reference in New Issue