From 5b9607a466875bfc7c5a306ae9633dcdf1dae602 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 18:20:11 +0100 Subject: [PATCH] package created using the webbuild interface [release 0.9.2-1mamba;Tue May 30 2023] --- README.md | 2 ++ systray-x.spec | 55 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 57 insertions(+) create mode 100644 systray-x.spec diff --git a/README.md b/README.md index d612fa9..45d44ca 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # systray-x +SysTray-X is a system tray extension for Thunderbird 68+. Needs both the addon AND the companion app installed to work. Will not work with full wayland desktops. + diff --git a/systray-x.spec b/systray-x.spec new file mode 100644 index 0000000..646103d --- /dev/null +++ b/systray-x.spec @@ -0,0 +1,55 @@ +Name: systray-x +Version: 0.9.2 +Release: 1mamba +Summary: A system tray extension for Thunderbird 68+ +Group: Graphical Desktop/Applications/Internet +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://github.com/Ximi1970/systray-x +Source: https://github.com/Ximi1970/systray-x.git/%{version}/systray-x-%{version}.tar.bz2 +License: MPL 2.0 +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libX11-devel +BuildRequires: libgcc +BuildRequires: libglvnd-devel +BuildRequires: libknotifications-devel +BuildRequires: libstdc++6-devel +BuildRequires: qt5-qtbase-devel +## AUTOBUILDREQ-END +Requires: thunderbird + +%description +SysTray-X is a system tray extension for Thunderbird 68+. Needs both the addon AND the companion app installed to work. Will not work with full wayland desktops. + +%debug_package + +%prep +%setup -q +# Input the correct path to the binary in the json file +sed -i 's/\/path\/to\/native-messaging\/app/\/usr\/bin/g' "app/SysTray_X.json" + +%build +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +install -D -m0755 app/build/SysTray-X-app/SysTray-X %{buildroot}%{_bindir}/SysTray-X +install -D -m0644 app/SysTray_X.json %{buildroot}%{_libdir}/mozilla/native-messaging-hosts/SysTray_X.json +install -Dm 644 systray-x@Ximi1970.xpi %{buildroot}%{_libdir}/thunderbird/extensions/systray-x@Ximi1970.xpi + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_bindir}/SysTray-X +%{_libdir}/mozilla/native-messaging-hosts/SysTray_X.json +%{_libdir}/thunderbird/extensions/systray-x@Ximi1970.xpi +%doc LICENSE + +%changelog +* Tue May 30 2023 Silvan Calarco 0.9.2-1mamba +- package created using the webbuild interface