From d1a8db0c8003a8ccf434552c1148ecbef901de1c Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Jan 22 2020 08:09:03 +0000 Subject: * Tue Jan 21 2020 Fabian Affolter - 0.2.2-2 - Add LICENSE file (rhbz#1790082) * Wed Jan 08 2020 Fabian Affolter - 0.2.2-1 - Initial package for Fedora --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8ec5f08 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/aiosnmp-0.2.2.tar.gz diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..ab60297 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2018 + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/python-aiosnmp.spec b/python-aiosnmp.spec new file mode 100644 index 0000000..df59936 --- /dev/null +++ b/python-aiosnmp.spec @@ -0,0 +1,51 @@ +%global pypi_name aiosnmp + +Name: python-%{pypi_name} +Version: 0.2.2 +Release: 2%{?dist} +Summary: Asyncio Python SNMP client + +License: MIT +URL: https://github.com/hh-h/aiosnmp +Source0: %{pypi_source} +Source1: https://raw.githubusercontent.com/hh-h/aiosnmp/master/LICENSE +BuildArch: noarch + +%description +aiosnmp is an asynchronous SNMP client for use with asyncio. + +%package -n python3-%{pypi_name} +Summary: %{summary} + +BuildRequires: python3-devel +BuildRequires: python3-pytest +BuildRequires: python3-pytest-runner +BuildRequires: python3-setuptools +%{?python_provide:%python_provide python3-%{pypi_name}} + +%description -n python3-%{pypi_name} +aiosnmp is an asynchronous SNMP client for use with asyncio. + +%prep +%autosetup -n %{pypi_name}-%{version} +rm -rf %{pypi_name}.egg-info +cp -a %{SOURCE1} LICENSE + +%build +%py3_build + +%install +%py3_install + +%files -n python3-%{pypi_name} +%doc README.md +%license LICENSE +%{python3_sitelib}/%{pypi_name}/ +%{python3_sitelib}/%{pypi_name}-%{version}-py*.egg-info + +%changelog +* Tue Jan 21 2020 Fabian Affolter - 0.2.2-2 +- Add LICENSE file (rhbz#1790082) + +* Wed Jan 08 2020 Fabian Affolter - 0.2.2-1 +- Initial package for Fedora diff --git a/sources b/sources new file mode 100644 index 0000000..f9d72ef --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (aiosnmp-0.2.2.tar.gz) = fe824071e72981dc35b436c51b342789b7a864209bbc3646baf5ec8be055970e5bc938e8da3270c511f03e68d7cb711d0873c7c2c0a1671f3f2995939f3e0648