commit 9422d2b2df5ae0e8b4af5f20174bab548c0f25e0
Author: Arkadiusz Miƛkiewicz <ar...@maven.pl>
Date:   Thu Aug 31 12:34:00 2023 +0200

    Initial

 python3-icmplib.spec | 41 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)
---
diff --git a/python3-icmplib.spec b/python3-icmplib.spec
new file mode 100644
index 0000000..c6ac8ce
--- /dev/null
+++ b/python3-icmplib.spec
@@ -0,0 +1,41 @@
+%define                module  icmplib
+Summary:       Modern implementation of the ICMP protocol in Python
+Name:          python3-%{module}
+Version:       3.0.3
+Release:       1
+License:       GPL v3+
+Group:         Libraries/Python
+Source0:       https://pypi.debian.net/icmplib/%{module}-%{version}.tar.gz
+# Source0-md5: 44389ecd00494114d519296286b51fdf
+URL:           https://pypi.org/project/icmplib/
+BuildRequires: python3-modules >= 1:3.2
+BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 1.714
+Requires:      python3-modules >= 1:3.2
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Modern implementation of the ICMP protocol in Python.
+
+%prep
+%setup -q -n %{module}-%{version}
+
+%build
+%py3_build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%py3_install
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.md
+%dir %{py3_sitescriptdir}/%{module}
+%{py3_sitescriptdir}/%{module}/*.py
+%{py3_sitescriptdir}/%{module}/__pycache__
+%{py3_sitescriptdir}/%{module}-%{version}-py*.egg-info
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-icmplib.git/commitdiff/9422d2b2df5ae0e8b4af5f20174bab548c0f25e0

_______________________________________________
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to