File howmanypeoplearearound.spec of Package howmanypeoplearearound

#
# spec file for package howmanypeoplearearound
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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 https://bugs.opensuse.org/
#


Name:           howmanypeoplearearound
Version:        0.5.0
Release:        0
Summary:        Count people around you using WiFi
License:        MIT
Group:          Productivity/Networking/Diagnostic
URL:            https://github.com/schollz/howmanypeoplearearound
Source0:        https://github.com/schollz/howmanypeoplearearound/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires:  python3-devel
BuildRequires:  python3-setuptools
Requires:       python3-click
Requires:       python3-netifaces
Requires:       python3-pick
Requires:       wireshark
BuildArch:      noarch

%description
Count the number of people around you by monitoring wifi signals.

howmanypeoplearearound calculates the number of people in the vicinity
using the approximate number of smartphones as a proxy (since ~70% of
people have smartphones nowadays). A cellphone is determined to be in
proximity to the computer based on sniffing WiFi probe requests.

%prep
%setup -q

%build
python3 setup.py build

%install
python3 setup.py install --root=%{buildroot} --prefix=%{_prefix}

%files
%license LICENSE
%doc README.md
%{_bindir}/%{name}
%{python3_sitelib}/%{name}*

%changelog
openSUSE Build Service is sponsored by