File PyGreSQL.spec of Package PyGreSQL

# spec file for package PyGreSQL
# Copyright (c) 2014 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

Name:           PyGreSQL
Summary:        Python Client Library for PostgreSQL
Version:        4.1.1
Release:        1
License:        BSD-3-Clause
Group:          Productivity/Databases/Clients
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  openssl-devel
BuildRequires:  postgresql-devel
BuildRequires:  python-devel
Provides:       postgresql-python pg_pyth = %{version}
Obsoletes:      postgresql-python pg_pyth < %{version}

PyGreSQL is a Python module that interfaces to a PostgreSQL database.
It embeds the PostgreSQL query library to allow easy use of PostgreSQL
features from a Python script.

%setup -q

python build

python install  --prefix=%{_prefix} --root=%buildroot

%doc docs/* tutorial