File python2-pyke.spec of Package python2-pyke

#
# spec file for package python2-pyke
#
# Copyright (c) 2018 SUSE LINUX 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 http://bugs.opensuse.org/
#


Name:           python2-pyke
Version:        1.1.1
Release:        0
Summary:        Python Knowledge Engine and Automatic Python Program Generator
License:        MIT
Group:          Development/Languages/Python
Url:            http://sourceforge.net/projects/pyke
Source:         https://downloads.sourceforge.net/project/pyke/pyke/%{version}/pyke-%{version}.zip
BuildRequires:  fdupes
BuildRequires:  python-devel
BuildRequires:  python-rpm-macros
BuildRequires:  python-setuptools
BuildRequires:  unzip
BuildArch:      noarch

%description
Both forward-chaining and backward-chaining rules (which may include
python code) are compiled into python. Can also automatically assemble
python programs out of python functions which are attached to
backward-chaining rules.

%prep
%setup -q -n pyke-%{version}

%build
%python2_build

%install
%python2_install
%fdupes %{buildroot}%{python2_sitelib}

%files
%doc LICENSE README.txt RELEASE_NOTES-1.txt RELEASE_NOTES-pre1.0.txt
%{python2_sitelib}/*

%changelog
openSUSE Build Service is sponsored by