Initial c10s import.

Signed-off-by: Rafael Guterres Jeffman <rjeffman@redhat.com>
This commit is contained in:
Rafael Guterres Jeffman 2024-09-09 11:08:13 -03:00
parent 99b2d01d4b
commit cf06f3462c
3 changed files with 49 additions and 0 deletions

1
.gitignore vendored
View File

@ -0,0 +1 @@
/ifaddr-0.2.0.tar.gz

47
python-ifaddr.spec Normal file
View File

@ -0,0 +1,47 @@
%global srcname ifaddr
%global _description \
ifaddr is a small Python library that allows you to find all the IP addresses\
of the computer.
Name: python-%{srcname}
Version: 0.2.0
Release: 1%{?dist}
Summary: Python library that allows you to find all the IP addresses of the computer
License: MIT
URL: https://pypi.org/project/ifaddr
Source: %{pypi_source}
BuildArch: noarch
%description %{_description}
%package -n python3-%{srcname}
Summary: %{summary}
%{?python_provide:%python_provide python3-%{srcname}}
BuildRequires: python3-devel
BuildRequires: python3-setuptools
%description -n python3-%{srcname} %{_description}
Python 3 version.
%prep
%autosetup -n %{srcname}-%{version}
%build
%py3_build
%install
%py3_install
%files -n python3-%{srcname}
%license LICENSE.txt
%doc README.rst
%{python3_sitelib}/%{srcname}/
%{python3_sitelib}/%{srcname}-*.egg-info/
%changelog
* Mon Aug 26 2024 Rafael Jeffman <rjeffman@redhat.com> - 0.2.0-1
- Inital RHEL import
Resolves: RHEL-39531

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (ifaddr-0.2.0.tar.gz) = 02597c0fda81addebbc52893d2f1f5a5f1e99820360202652c433b4869f751901c0931a9fcf8cf0b1b4f1a95c438f238e5b1cfc84511785e7a2a42d5f81bb0d6