File mozaddon-gnotifier.spec of Package mozaddon-gnotifier
#
# spec file for package mozaddon-gnotifier
#
# Copyright (c) 2014 SUSE LINUX Products 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 http://bugs.opensuse.org/
#
Name: mozaddon-gnotifier
Version: 1.8.5
Release: 0
Summary: Firefox integration with native Linux notification system
License: GPL-3.0
Group: Productivity/Networking/Web/Browsers
Url: https://github.com/mkiol/GNotifier
Source: https://addons.mozilla.org/firefox/downloads/file/265826/gnotifier-1.8.5-tb+fx-linux.xpi
BuildRequires: fdupes
BuildRequires: mozaddon-devel
BuildArch: noarch
# The code uses dlopen for this one:
Requires: libnotify4
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
GNotifier integrates Firefox's notifications with the native notification
system from Linux/OSX desktop. It supports: GNOME, KDE, Xfce, Cinnamon,
MATE, LXDE and Unity
%prep
%build
%install
%mozilla_addon_install %{S:0}
%mozilla_unlock_addons
%fdupes "%buildroot/%mozilla_moduledir"
%files
%defattr(-,root,root)
%mozilla_moduledir
%changelog