File python-qprogedit.spec of Package python-qprogedit

#
# spec file for package python-qprogedit
#
# Copyright (c) 2015 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/
#


%define src_name QProgEdit-release
Name:           python-qprogedit
Version:        3.2.2
Release:        0
Summary:        PyQt4 widget that implements a full-featured text editor
License:        GPL-3.0
Group:          Development/Languages/Python
Url:            http://www.cogsci.nl/smathot
Source0:        https://github.com/smathot/QProgEdit/archive/release/%{version}.tar.gz#/%{src_name}-%{version}.tar.gz
BuildRequires:  python-qscintilla
BuildRequires:  python-qt4
BuildRequires:  python-setuptools
Requires:       python-qscintilla
Requires:       python-qt4
Provides:       QProgEdit = %{version}
Provides:       qprogedit = %{version}
BuildArch:      noarch

%description
QProgEdit is a PyQt4 widget that implements a full-featured text editor
component. It's primary target at the moment is OpenSesame, a graphical
experiment builder.

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

%build
# There is nothing to build.

%install
python setup.py install --root=%{buildroot}

%files
%defattr(-,root,root,-)
%doc COPYING debian/changelog
%{python_sitelib}/QProgEdit
%{python_sitelib}/python_qprogedit*.egg-info

%changelog
openSUSE Build Service is sponsored by