File kismon.spec of Package kismon
#
# spec file for package kismon
#
# Copyright (c) 2020 SUSE LLC
#
# 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/
#
# See also http://en.opensuse.org/openSUSE:Specfile_guidelines
Name: kismon
Version: 1.0.3
Release: 0
Summary: GUI client for kismet
License: BSD-2-Clause
Group: Productivity/Networking/Other
URL: https://www.salecker.org/software/kismon.html
Source0: https://github.com/Kismon/kismon/archive/%{version}.tar.gz
BuildRequires: pkgconfig
BuildRequires: update-desktop-files
BuildRequires: pkgconfig(gail-3.0)
BuildRequires: pkgconfig(gdk-3.0)
BuildRequires: pkgconfig(gdk-broadway-3.0)
BuildRequires: pkgconfig(gdk-wayland-3.0)
BuildRequires: pkgconfig(gdk-x11-3.0)
BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: pkgconfig(gtk+-broadway-3.0)
BuildRequires: pkgconfig(gtk+-unix-print-3.0)
BuildRequires: pkgconfig(gtk+-wayland-3.0)
BuildRequires: pkgconfig(gtk+-x11-3.0)
BuildRequires: pkgconfig(osmgpsmap-1.0) >= 1.0.2
BuildRequires: pkgconfig(python3)
BuildRequires: python3-gobject
BuildRequires: python3-cairo
BuildRequires: python3-setuptools
BuildRequires: python3-simplejson
Requires: kismet <= 2020_12_R3
Requires: kismet >= 2019_12_R2
Requires: python3-kismet-rest
BuildArch: noarch
%description
Kismon is a PyGTK Kismet Newcore client that creates a live map of the
networks.
%prep
%setup -q
%build
python3 setup.py build
%install
python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
%if 0%{?suse_version}
%suse_update_desktop_file -r -N %{name} -G "PyGTK Kismet Client" %{name} Network Monitor
%endif
%post
%desktop_database_post
%postun
%desktop_database_postun
%files
%license COPYING
%doc NEWS README.md
%{_bindir}/%{name}
%{_datadir}/applications/%{name}.desktop
%{python3_sitelib}/*
%changelog