From cf06f3462c25068667e654639d03abefc79be186 Mon Sep 17 00:00:00 2001 From: Rafael Guterres Jeffman Date: Mon, 9 Sep 2024 11:08:13 -0300 Subject: [PATCH] Initial c10s import. Signed-off-by: Rafael Guterres Jeffman --- .gitignore | 1 + python-ifaddr.spec | 47 ++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 49 insertions(+) create mode 100644 python-ifaddr.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..8529575 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/ifaddr-0.2.0.tar.gz diff --git a/python-ifaddr.spec b/python-ifaddr.spec new file mode 100644 index 0000000..a7e966a --- /dev/null +++ b/python-ifaddr.spec @@ -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 - 0.2.0-1 +- Inital RHEL import + Resolves: RHEL-39531 diff --git a/sources b/sources new file mode 100644 index 0000000..aa14c18 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (ifaddr-0.2.0.tar.gz) = 02597c0fda81addebbc52893d2f1f5a5f1e99820360202652c433b4869f751901c0931a9fcf8cf0b1b4f1a95c438f238e5b1cfc84511785e7a2a42d5f81bb0d6