Name: pidgin-indicator Summary: StatusNotifierItem tray icon plugin for Pidgin Version: 1.0 Release: 3%{?dist} License: GPLv2+ URL: https://github.com/philipl/pidgin-indicator Source0: https://github.com/philipl/pidgin-indicator/releases/download/%{version}/pidgin-indicator-%{version}.tar.bz2 BuildRequires: gettext BuildRequires: intltool BuildRequires: pkgconfig(appindicator-0.1) BuildRequires: pkgconfig(pidgin) BuildRequires: perl(XML::Parser) Requires: pidgin %if 0%{?fedora} > 23 Supplements: (pidgin and plasma-workspace) %endif %description This plugin provides a StatusNotifierItem tray icon, for use in KDE Plasma 5, Unity, Elementary and other environments. It provides all the same functionality as the original tray icon but not in exactly the same way: * The smart click behavior that either shows the buddy list or unread messages is now activated by a middle-click because left click on an libappindicator always opens the menu. * As the SNI-icon is a separate process from pidgin itself, there are sometimes conflicts with Focus Stealing Prevention when you use the indicator to go to unread messages. You may need to disable FSP for Pidgin to get around this. * Due to how libappindicator work, the middle-click action must also be a menu item, so it's the new Show/Hide item at the top of the menu. * Due to libappindicator limitations, some of the special icons cannot be shown next to menu items any more. %prep %autosetup %build %configure make %{?_smp_mflags} %install make install DESTDIR=%{buildroot} %find_lang pidgin-indicator ## unpackaged files rm -fv %{buildroot}%{_libdir}/pidgin/indicator.la %post touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : %posttrans gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : %postun if [ $1 -eq 0 ] ; then touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : fi %files -f pidgin-indicator.lang %doc AUTHORS NEWS README %license COPYING %{_libdir}/pidgin/indicator.* %{_datadir}/icons/hicolor/*/status/pidgin-indicator-nothing.png %changelog * Thu Jul 27 2017 Fedora Release Engineering - 1.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Tue Jan 24 2017 Rex Dieter - 1.0-1 - 1.0 * Mon Mar 07 2016 Rex Dieter 0.9-2 - Supplements: (pidgin and plasma-workspace), f24+ * Sat Mar 05 2016 Rex Dieter 0.9-1 - 0.9 * Mon Jun 15 2015 Radek Vokal - 0.1-1 - Initial package build