From d87672e337145d2c712c37666cff7a9cacaf8033f0cb186f68e66fe2910c8c81 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Wed, 8 Jan 2020 14:09:58 +0000 Subject: [PATCH] Accepting request 760389 from home:mnhauke Initial package for python-kismetdb OBS-URL: https://build.opensuse.org/request/show/760389 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kismetdb?expand=0&rev=1 --- .gitattributes | 23 ++++++++++++++++ .gitignore | 1 + 2019.05.05.tar.gz | 3 ++ python-kismetdb.changes | 4 +++ python-kismetdb.spec | 61 +++++++++++++++++++++++++++++++++++++++++ 5 files changed, 92 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 2019.05.05.tar.gz create mode 100644 python-kismetdb.changes create mode 100644 python-kismetdb.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/2019.05.05.tar.gz b/2019.05.05.tar.gz new file mode 100644 index 0000000..c5c9ad6 --- /dev/null +++ b/2019.05.05.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e184ef1087a1ef684b894b3d4c11377ea016760312a9b0461277bba0e6fa4f88 +size 31425 diff --git a/python-kismetdb.changes b/python-kismetdb.changes new file mode 100644 index 0000000..5fe25e6 --- /dev/null +++ b/python-kismetdb.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Fri Dec 27 10:25:11 UTC 2019 - Martin Hauke + +- Initial package, version 2019.05.05 diff --git a/python-kismetdb.spec b/python-kismetdb.spec new file mode 100644 index 0000000..828d4bc --- /dev/null +++ b/python-kismetdb.spec @@ -0,0 +1,61 @@ +# +# spec file for package python-kismetdb +# +# Copyright (c) 2019, Martin Hauke +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ + + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +Name: python-kismetdb +Version: 2019.05.05 +Release: 0 +Summary: A python wrapper for the Kismet database +License: GPL-2.0-only +URL: https://github.com/kismetwireless/python-kismet-db +Source: https://github.com/kismetwireless/python-kismet-db/archive/%{version}.tar.gz +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +Requires: python-python-dateutil +Requires: python-simplekml +BuildArch: noarch +%python_subpackages + +%description +Kismet database wrapper. + +%prep +%setup -q -n python-kismet-db-%{version} + +%build +%python_build + +%install +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +# tests are disabled for now since those need a docker environment for testing +#%%pytest + +%files %{python_files} +%license LICENSE +%doc CHANGELOG.rst README.rst +%python3_only %{_bindir}/kismet_log_to_kml +%python3_only %{_bindir}/kismet_log_devices_to_json +%python3_only %{_bindir}/kismet_log_to_csv +%python3_only %{_bindir}/kismet_log_to_pcap +%python3_only %{_bindir}/kismet_log_devices_to_filebeat_json +%{python_sitelib}/* + +%changelog