2019-01-02 12:58:34 +00:00
committed by Git OBS Bridge
parent 33ff29e7ba
commit fbdb6417c7
2 changed files with 18 additions and 12 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-XStatic-Angular-Schema-Form
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 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
@@ -12,10 +12,11 @@
# 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/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-XStatic-Angular-Schema-Form
Version: 0.8.13.0
Release: 0
@@ -23,16 +24,15 @@ Summary: Angular-Schema-Form 0.813 (XStatic packaging standard)
License: MIT
Group: Development/Languages/Python
Url: http://schemaform.io/
Source: https://pypi.io/packages/source/X/XStatic-Angular-Schema-Form/XStatic-Angular-Schema-Form-%{version}.tar.gz
BuildRequires: python-devel
BuildRequires: python-setuptools
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source: https://files.pythonhosted.org/packages/source/X/XStatic-Angular-Schema-Form/XStatic-Angular-Schema-Form-%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
%description
XStatic-Angular
---------------
%python_subpackages
%description
Angular JavaScript library packaged for setuptools (easy_install) / pip.
This package is intended to be used by **any** project that needs these files.
@@ -47,12 +47,13 @@ You can find more info about the xstatic packaging way in the package `XStatic`.
%setup -q -n XStatic-Angular-Schema-Form-%{version}
%build
python setup.py build
%python_build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%files
%files %{python_files}
%defattr(-,root,root,-)
%doc README.txt
%{python_sitelib}/*