From 76f350493071745c7a368366d352b7d9313203a5 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mar 27 2020 15:23:14 +0000 Subject: * Thu Mar 19 2020 Fabian Affolter - 0.2.0-1 - Initial package for Fedora --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..144754e --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/nessus-file-reader-0.2.0.tar.gz diff --git a/python-nessus-file-reader.spec b/python-nessus-file-reader.spec new file mode 100644 index 0000000..7d757d9 --- /dev/null +++ b/python-nessus-file-reader.spec @@ -0,0 +1,49 @@ +%global pypi_name nessus-file-reader + +Name: python-%{pypi_name} +Version: 0.2.0 +Release: 1%{?dist} +Summary: Python file reader for nessus files + +License: GPLv3+ +URL: https://github.com/LimberDuck/nessus-file-reader +Source0: %{url}/archive/v%{version}/%{pypi_name}-%{version}.tar.gz +BuildArch: noarch + +%description +nessus file reader is a python module created to quickly parse nessus files +containing the results of scans performed by using Nessus by (C) Tenable, Inc. +This module will let you get data through functions grouped into categories +like file, scan, host and plugin to get specific information. + +%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} +nessus file reader is a python module created to quickly parse nessus files +containing the results of scans performed by using Nessus by (C) Tenable, Inc. +This module will let you get data through functions grouped into categories +like file, scan, host and plugin to get specific information. + +%prep +%autosetup -n %{pypi_name}-%{version} +rm -rf %{pypi_name}.egg-info + +%build +%py3_build + +%install +%py3_install + +%files -n python3-%{pypi_name} +%doc README.rst +%{python3_sitelib}/nessus_file_reader/ +%{python3_sitelib}/nessus_file_reader-%{version}-py*.egg-info/ + +%changelog +* Thu Mar 19 2020 Fabian Affolter - 0.2.0-1 +- Initial package for Fedora diff --git a/sources b/sources new file mode 100644 index 0000000..fd17865 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (nessus-file-reader-0.2.0.tar.gz) = 748d6042d34f82a1867478003b6ed3fdfce8becb771221c536a788cebf65001b3888f1fb68e228dc2550d2d3255a93dee43e492f218f305efb74a24a951e910c