15
0

Compare commits

2 Commits

2 changed files with 17 additions and 6 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue May 13 10:24:28 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to pip-based build
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Dec 6 17:50:00 UTC 2021 - Dirk Müller <dmueller@suse.com> Mon Dec 6 17:50:00 UTC 2021 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-XStatic-jquery-ui # spec file for package python-XStatic-jquery-ui
# #
# Copyright (c) 2021 SUSE LLC # Copyright (c) 2025 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -16,19 +16,21 @@
# #
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-XStatic-jquery-ui Name: python-XStatic-jquery-ui
Version: 1.13.0.1 Version: 1.13.0.1
Release: 0 Release: 0
Summary: jQuery UI repackaged for the XStatic standard Summary: jQuery UI repackaged for the XStatic standard
License: MIT License: MIT
Group: Development/Languages/Python Group: Development/Languages/Python
URL: http://jqueryui.com/ URL: https://jqueryui.com/
Source: https://files.pythonhosted.org/packages/source/X/XStatic-jquery-ui/XStatic-jquery-ui-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/X/XStatic-jquery-ui/XStatic-jquery-ui-%{version}.tar.gz
Source1: https://raw.githubusercontent.com/jquery/jquery-ui/master/LICENSE.txt Source1: https://raw.githubusercontent.com/jquery/jquery-ui/master/LICENSE.txt
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-XStatic-jQuery
BuildArch: noarch BuildArch: noarch
%python_subpackages %python_subpackages
@@ -42,15 +44,19 @@ You can find more info about the xstatic packaging way in the package `XStatic`.
cp %{SOURCE1} . cp %{SOURCE1} .
%build %build
%python_build %pyproject_wheel
%install %install
%python_install %pyproject_install
%fdupes %{buildroot}/%{_prefix} %fdupes %{buildroot}/%{_prefix}
%files %{python_files} %files %{python_files}
%doc README.txt %doc README.txt
%license LICENSE.txt %license LICENSE.txt
%{python_sitelib}/* %dir %{python_sitelib}/xstatic
%dir %{python_sitelib}/xstatic/pkg
%{python_sitelib}/xstatic/pkg/jquery_ui
%{python_sitelib}/[Xx][Ss]tatic[-_]jquery[-_]ui-%{version}*-info
%{python_sitelib}/[Xx][Ss]tatic[-_]jquery[-_]ui-%{version}*nspkg.pth
%changelog %changelog