File python-XStatic-smart-table.spec of Package python-XStatic-smart-table

#
# spec file for package python-XStatic-smart-table
#
# 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/
#


%global sname XStatic-smart-table
%global openstack_name xstatic-angular-smart-table
Name:           python-XStatic-smart-table
Version:        1.4.13.2
Release:        0
Summary:        smart-table %{version} (XStatic packaging standard)
License:        MIT
Group:          Development/Languages/Python
URL:            https://git.openstack.org/cgit/openstack/%{openstack_name}/
Source0:        https://files.pythonhosted.org/packages/source/X/%{sname}/%{sname}-%{version}.tar.gz
BuildRequires:  openstack-macros
BuildRequires:  python-devel
BuildRequires:  python-setuptools
Requires:       python-XStatic
BuildArch:      noarch

%description
smart-table javascript library packaged for setuptools (easy_install) / pip.

%prep
%autosetup -n %{sname}-%{version}
%py_req_cleanup

%build
%{py2_build}

%install
%{py2_install}

%files
%doc README.txt
%{python2_sitelib}/xstatic
%{python2_sitelib}/XStatic_smart_table-%{version}-py?.?.egg-info
%{python2_sitelib}/XStatic_smart_table-%{version}-py?.?-nspkg.pth

%changelog
openSUSE Build Service is sponsored by