Blob Blame History Raw
%global file_name com.github.babluboy.nutty

Name:           nutty
Version:        1.1.1
Release:        6%{?dist}
Summary:        Simple utility for network information

# The entire source code is GPLv3+ except *speedtest-cli* which is ASL 2.0
License:        GPLv3+ and ASL 2.0
Source0:        %{url}/archive/%{version}/%{name}-%{version}.tar.gz
Patch0:         %{name}-ambiguous-python-shebang.patch

BuildRequires:  desktop-file-utils
BuildRequires:  intltool
BuildRequires:  libappstream-glib
BuildRequires:  meson
BuildRequires:  vala
BuildRequires:  pkgconfig(gee-0.8)
BuildRequires:  pkgconfig(granite) >= 0.5
BuildRequires:  pkgconfig(gtk+-3.0)
BuildRequires:  pkgconfig(libnotify)
BuildRequires:  pkgconfig(libxml-2.0)
BuildRequires:  pkgconfig(sqlite3) >= 3.5.9

Requires:       hicolor-icon-theme
Requires:       polkit

Recommends:     curl%{_isa}
Recommends:     iproute%{_isa}
Recommends:     net-tools%{_isa}
Recommends:     nethogs%{_isa}
Recommends:     nmap%{_isa}
Recommends:     pciutils%{_isa}
Recommends:     traceroute%{_isa}
Recommends:     vnstat%{_isa}
Recommends:     wireless-tools%{_isa}

A simple application made for elementary OS to provide essential information on
network related aspects. The information presented in as the following tabs.

• My Info: Provides basic and detailed information for the device network card
• Usage: Provides network data usage in two views - historical usage and
  current usage
• Speed: Check Upload and Download speeds and get route times to a host
• Ports: Provides information on active ports and application using them on the
  local device
• Devices: Monitors, alerts and provides information on the other devices
  connected on the network

%autosetup -p1


# "mo" does not a valid language code according to the Wikipedia list of
# ISO-639-1 codes
rm      %{buildroot}%{_datadir}/locale/mo/LC_MESSAGES/%{file_name}.mo
%find_lang %{file_name}
# Equal to regular and doesnt have HiDPI version for now
rm -r   %{buildroot}%{_datadir}/icons/hicolor/*@2

appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/%{file_name}.appdata.xml
desktop-file-validate %{buildroot}%{_datadir}/applications/%{file_name}.desktop

%files -f %{file_name}.lang
%license COPYING

* Tue Jul 28 2020 Fedora Release Engineering <> - 1.1.1-6
- Rebuilt for

* Wed Jan 29 2020 Fedora Release Engineering <> - 1.1.1-5
- Rebuilt for

* Thu Jul 25 2019 Fedora Release Engineering <> - 1.1.1-4
- Rebuilt for

* Wed May 08 2019 Artem Polishchuk <> - 1.1.1-3
- Initial package