From 80220dc7bca799c346c95d91e9028ef2214e3695 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Jan 22 2020 08:12:08 +0000 Subject: * Sun Jan 12 2020 Fabian Affolter - 0.0.2-1 - Initial package for Fedora --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3b51c5a --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/aiowinreg-0.0.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-aiowinreg.spec b/python-aiowinreg.spec new file mode 100644 index 0000000..142d43b --- /dev/null +++ b/python-aiowinreg.spec @@ -0,0 +1,46 @@ +%global pypi_name aiowinreg + +Name: python-%{pypi_name} +Version: 0.0.2 +Release: 1%{?dist} +Summary: Windows registry file reader + +License: MIT +URL: https://github.com/skelsec/aiowinreg +Source0: %{pypi_source} +Source1: https://raw.githubusercontent.com/skelsec/aiowinreg/master/LICENSE +BuildArch: noarch + +%description +Windows registry file reader. + +%package -n python3-%{pypi_name} +Summary: %{summary} + +BuildRequires: python3-devel +BuildRequires: python3-setuptools +%{?python_provide:%python_provide python3-%{pypi_name}} + +%description -n python3-%{pypi_name} +Windows registry file reader. + +%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 +* Sun Jan 12 2020 Fabian Affolter - 0.0.2-1 +- Initial package for Fedora diff --git a/sources b/sources new file mode 100644 index 0000000..c4ab5c5 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (aiowinreg-0.0.2.tar.gz) = 079dfb15330a6e776397a27c37a8c59515c65094ca60dcfa44a9bd07e04b727dd0b56330782bf1d164c9314dfbace83cf97795504d5c55a111118256212d968b