mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-28 22:38:26 +00:00
02871d924a
* add: python-nmcli
for nmgui
* Update anda/langs/python/nmcli/python-nmcli.spec
* bruh
* bdep pip[]
* setuptools
---------
(cherry picked from commit e040ec765f)
Signed-off-by: madomado <madonuko@outlook.com>
Co-authored-by: madomado <madonuko@outlook.com>
Co-authored-by: hamachitan[bot] <252235638+hamachitan[bot]@users.noreply.github.com>
52 lines
986 B
RPMSpec
52 lines
986 B
RPMSpec
Name: python-nmcli
|
|
Version: 1.8.0
|
|
Release: 1%?dist
|
|
Summary: A python wrapper library for the network-manager cli client
|
|
|
|
License: MIT
|
|
URL: https://github.com/ushiboy/nmcli
|
|
Source: %{pypi_source nmcli}
|
|
Packager: madonuko <mado@fyralabs.com>
|
|
|
|
BuildArch: noarch
|
|
BuildRequires: python3-devel
|
|
BuildRequires: python3-pip
|
|
BuildRequires: python3-setuptools
|
|
|
|
|
|
%global _description %{expand:
|
|
nmcli is a python wrapper library for the network-manager cli client.}
|
|
|
|
%description %_description
|
|
|
|
%package -n python3-nmcli
|
|
Summary: %{summary}
|
|
|
|
%description -n python3-nmcli %_description
|
|
|
|
|
|
%prep
|
|
%autosetup -p1 -n nmcli-%{version}
|
|
|
|
%build
|
|
%pyproject_wheel
|
|
|
|
|
|
%install
|
|
%pyproject_install
|
|
%pyproject_save_files nmcli
|
|
|
|
|
|
%check
|
|
%pyproject_check_import
|
|
|
|
|
|
%files -n python3-nmcli -f %{pyproject_files}
|
|
%doc README.md
|
|
%license LICENSE.txt
|
|
|
|
|
|
%changelog
|
|
* Sun Jun 28 2026 madonuko <mado@fyralabs.com> - 1.8.0-1
|
|
- Initial package
|