mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 17:11:56 +00:00
73b24a590f
(cherry picked from commit b9365a1f40)
Signed-off-by: Owen-sz <owen@fyralabs.com>
Co-authored-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com>
49 lines
1.1 KiB
RPMSpec
49 lines
1.1 KiB
RPMSpec
%global pypi_name pywebview
|
|
%global _desc Build GUI for your Python program with JavaScript, HTML, and CSS.
|
|
|
|
Name: python-%{pypi_name}
|
|
Version: 6.1
|
|
Release: 1%?dist
|
|
Summary: Build GUI for your Python program with JavaScript, HTML, and CSS
|
|
License: BSD-3-Clause
|
|
URL: https://github.com/r0x0r/pywebview
|
|
Source0: %{pypi_source}
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: python3-devel
|
|
BuildRequires: python3-wheel
|
|
BuildRequires: python3-setuptools
|
|
BuildRequires: python3-setuptools_scm
|
|
BuildRequires: python3-pip
|
|
|
|
Packager: Owen Zimmerman <owen@fyralabs.com>
|
|
|
|
%description
|
|
%_desc
|
|
|
|
%package -n python3-%{pypi_name}
|
|
Summary: %{summary}
|
|
Provides: pywebview
|
|
%{?python_provide:%python_provide python3-%{pypi_name}}
|
|
|
|
%description -n python3-%{pypi_name}
|
|
%_desc
|
|
|
|
%prep
|
|
%autosetup -n pywebview-%{version}
|
|
|
|
%build
|
|
%pyproject_wheel
|
|
|
|
%install
|
|
%pyproject_install
|
|
%pyproject_save_files webview
|
|
|
|
%files -n python3-%{pypi_name} -f %{pyproject_files}
|
|
%doc README.md
|
|
%license LICENSE SECURITY.md
|
|
|
|
%changelog
|
|
* Tue Nov 04 2025 Owen Zimmerman <owen@fyralabs.com>
|
|
- Initial commit
|