File mailnag.spec of Package mailnag

# spec file for package mailnag
# Copyright (c) 2016 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

Name:           mailnag
Version:        1.2.1
Release:        0
Summary:        Mail notification daemon
License:        GPL-2.0+
Group:          Productivity/Networking/Email/Utilities
BuildRequires:  gettext
BuildRequires:  gobject-introspection-devel
BuildRequires:  hicolor-icon-theme
BuildRequires:  python
BuildRequires:  update-desktop-files
Requires:       dbus-1-python
Requires:       gnome-keyring
Requires:       python
Requires:       python-gobject
Requires:       python-pyxdg
Recommends:     %{name}-lang
BuildArch:      noarch
%if 0%{?suse_version} > 1320 || 0%{?sle_version} >= 120200
Requires:       python-gobject-Gdk

Mailnag checks POP3 and IMAP servers for new mail and when it finds
one creates a proper GNOME 3 notification that mentions sender and


%setup -q

python2 build

python2 install \
  --root=%{buildroot}    \

%find_lang %{name}



%dir %{_datadir}/appdata/

%files lang -f %{name}.lang