Group :: Other
RPM: systray-x
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%def_without kde5
Name: systray-x
Version: 0.9.5
Release: alt1
Summary: A system tray extension for Thunderbird 68+
License: MPL-2.0
Group: Other
Url: https://github.com/Ximi1970/systray-x
Packager: Andrey Cherepanov <cas at altlinux.org>
Source: %name-%version.tar
Patch0: %name-version.patch
BuildRequires(pre): rpm-build-thunderbird
BuildRequires: qt5-base-devel
BuildRequires: zip
BuildRequires: unzip
%if_with kde5
BuildRequires: kf5-knotifications-devel
%endif
Requires: thunderbird
%description
SysTray-X is a system tray extension for Thunderbird 68+. The addon uses the
WebExtension API's to control an external system dependent system tray
application.
The addon and system tray application can do:
* custom new mail icon
* display number of unread / new mails
* show / hide Thunderbird (minimize)
* minimizing hides to tray
* minimize on startup
* minimize on close
%prep
%setup
%patch0 -p1
%build
export PATH=$PATH:%_qt5_bindir
%make_build \
%if_without kde5
OPTIONS="DEFINES+=NO_KDE_INTEGRATION"
%endif
sed < app/config/linux/SysTray_X.json.template -e 's|SYSTRAY_X_PATH|%{_bindir}/SysTray-X|' > SysTray_X.json
%install
install -Dm0755 SysTray-X %buildroot/%_bindir/SysTray-X
install -Dm0644 SysTray_X.json %buildroot%_libdir/mozilla/native-messaging-hosts/SysTray_X.json
mkdir -p %buildroot%tbird_arch_extensionsdir/systray-x at Ximi1970
unzip -d %buildroot%tbird_arch_extensionsdir/systray-x at Ximi1970 systray-x at Ximi1970.xpi
%files
%doc README.md FAQ.txt README.preferences.md
%_bindir/SysTray-X
%_libdir/mozilla/native-messaging-hosts/SysTray_X.json
%tbird_arch_extensionsdir/systray-x at Ximi1970
%changelog
…
Full changelog you can see here
Name: systray-x
Version: 0.9.5
Release: alt1
Summary: A system tray extension for Thunderbird 68+
License: MPL-2.0
Group: Other
Url: https://github.com/Ximi1970/systray-x
Packager: Andrey Cherepanov <cas at altlinux.org>
Source: %name-%version.tar
Patch0: %name-version.patch
BuildRequires(pre): rpm-build-thunderbird
BuildRequires: qt5-base-devel
BuildRequires: zip
BuildRequires: unzip
%if_with kde5
BuildRequires: kf5-knotifications-devel
%endif
Requires: thunderbird
%description
SysTray-X is a system tray extension for Thunderbird 68+. The addon uses the
WebExtension API's to control an external system dependent system tray
application.
The addon and system tray application can do:
* custom new mail icon
* display number of unread / new mails
* show / hide Thunderbird (minimize)
* minimizing hides to tray
* minimize on startup
* minimize on close
%prep
%setup
%patch0 -p1
%build
export PATH=$PATH:%_qt5_bindir
%make_build \
%if_without kde5
OPTIONS="DEFINES+=NO_KDE_INTEGRATION"
%endif
sed < app/config/linux/SysTray_X.json.template -e 's|SYSTRAY_X_PATH|%{_bindir}/SysTray-X|' > SysTray_X.json
%install
install -Dm0755 SysTray-X %buildroot/%_bindir/SysTray-X
install -Dm0644 SysTray_X.json %buildroot%_libdir/mozilla/native-messaging-hosts/SysTray_X.json
mkdir -p %buildroot%tbird_arch_extensionsdir/systray-x at Ximi1970
unzip -d %buildroot%tbird_arch_extensionsdir/systray-x at Ximi1970 systray-x at Ximi1970.xpi
%files
%doc README.md FAQ.txt README.preferences.md
%_bindir/SysTray-X
%_libdir/mozilla/native-messaging-hosts/SysTray_X.json
%tbird_arch_extensionsdir/systray-x at Ximi1970
%changelog
…
Full changelog you can see here