File python3-xlib.spec of Package python3-xlib
#
# spec file for package python-xlib
#
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 Hillwood Yang <hillwood@opensuse.org>
#
# 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: python3-xlib
Version: 0.15
Release: 0
Summary: Python3 X11 interface
License: GPL-2.0+
Group: Development/Libraries/Python
Url: https://github.com/LiuLang/python3-xlib
Source: https://pypi.python.org/packages/source/p/python3-xlib/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python3-devel
BuildArch: noarch
%description
The Python3 X Library is intended to be a fully functional X client
library for Python programs.
%prep
%setup
%build
python3 setup.py build
%install
python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
%files
%defattr(-,root,root)
# %doc README NEWS TODO COPYING
%{python3_sitelib}/Xlib
%{python3_sitelib}/python3_xlib-%{version}-*
%changelog