File python-GooCalendar.spec of Package python-GooCalendar
#
# spec file for package python-GooCalendar
#
# Copyright (c) 2016 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 mod_name GooCalendar
Name: python-GooCalendar
BuildRequires: python-devel
BuildRequires: python-genshi
BuildRequires: python-lxml
BuildRequires: python-setuptools
Version: 0.2
Release: 0
Source: https://files.pythonhosted.org/packages/c7/ab/c0324cf80dbbbab369300a92ffec059a2f11b7df90caf9dcb1af7db3af08/%{mod_name}-%{version}.tar.gz
Url: https://pypi.io/project/GooCalendar/
Summary: A calendar widget for GTK using PyGoocanvas
License: GPL-2.0
Group: Development/Languages/Python
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} && 0%{?suse_version} > 1110
BuildArch: noarch
%endif
%description
A calendar widget for GTK using PyGoocanvas
%prep
%setup -q -n %{mod_name}-%{version}
%build
python setup.py build
%install
python setup.py install --prefix=%_prefix --root=%buildroot
%files
%defattr(-,root,root)
%doc README COPYRIGHT LICENSE
%{python_sitelib}/*
%changelog