package created using the webbuild interface [release 0.9.2-1mamba;Tue May 30 2023]

This commit is contained in:
Silvan Calarco 2024-01-05 18:20:11 +01:00
parent bd2a888fff
commit 5b9607a466
2 changed files with 57 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# systray-x # 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.

55
systray-x.spec Normal file
View File

@ -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 <silvan.calarco@mambasoft.it>
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 <silvan.calarco@mambasoft.it> 0.9.2-1mamba
- package created using the webbuild interface