mirror of
https://github.com/Ximi1970/systray-x.git
synced 2025-10-26 07:46:09 +01:00
Add OBS dist files
This commit is contained in:
@@ -44,7 +44,9 @@ Clone the repository using TortoiseGit:
|
||||
...
|
||||
|
||||
|
||||
## Contributers
|
||||
|
||||
Luigi Baldoni <aloisio@gmx.com> : Initial setup of the OpenSuSE Build Service rpm package.
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -29,6 +29,8 @@ CONFIG += c++11
|
||||
# System dependency
|
||||
#
|
||||
unix:!macx: {
|
||||
QMAKE_CFLAGS += $(RPM_OPT_FLAGS)
|
||||
QMAKE_CXXFLAGS += $(RPM_OPT_FLAGS)
|
||||
# QMAKE_LFLAGS += -lX11 -static-libgcc -static-libstdc++
|
||||
}
|
||||
win32: {
|
||||
|
||||
15
dist/rpm/_service
vendored
Normal file
15
dist/rpm/_service
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
<services>
|
||||
<service name="obs_scm">
|
||||
<param name="url">https://github.com/Ximi1970/systray-x.git</param>
|
||||
<param name="scm">git</param>
|
||||
<param name="revision">develop</param>
|
||||
<param name="versionformat">0~git%cd.%h</param>
|
||||
<param name="changesgenerate">enable</param>
|
||||
</service>
|
||||
<service mode="buildtime" name="tar" />
|
||||
<service mode="buildtime" name="recompress">
|
||||
<param name="file">*.tar</param>
|
||||
<param name="compression">xz</param>
|
||||
</service>
|
||||
<service mode="buildtime" name="set_version" />
|
||||
</services>
|
||||
4
dist/rpm/systray-x.changes
vendored
Normal file
4
dist/rpm/systray-x.changes
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 11 19:05:19 UTC 2020 - Luigi Baldoni <aloisio@gmx.com>
|
||||
|
||||
- Initial package (v0~git20200127.65f5344)
|
||||
64
dist/rpm/systray-x.spec
vendored
Normal file
64
dist/rpm/systray-x.spec
vendored
Normal file
@@ -0,0 +1,64 @@
|
||||
#
|
||||
# spec file for package systray-x
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
#
|
||||
# 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 https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: systray-x
|
||||
Version: 0
|
||||
Release: 0
|
||||
Summary: A system tray extension for Thunderbird 68+
|
||||
License: MPL-2.0
|
||||
URL: https://github.com/Ximi1970/systray-x
|
||||
Source0: %{name}-%{version}.tar.xz
|
||||
BuildRequires: unzip
|
||||
BuildRequires: zip
|
||||
BuildRequires: pkgconfig(Qt5Core)
|
||||
BuildRequires: pkgconfig(Qt5Widgets)
|
||||
Requires: MozillaThunderbird >= 68
|
||||
|
||||
%description
|
||||
SysTray-X is a system tray extension for Thunderbird 68+.
|
||||
The add-on uses the WebExtension API's to control an external system
|
||||
dependent system tray application.
|
||||
|
||||
The add-on and system tray application can do:
|
||||
|
||||
* custom new mail icon
|
||||
* display number of unread mails
|
||||
* show / hide Thunderbird (minimize)
|
||||
* to be implemented: remove from task bar when minimized
|
||||
* to be implemented: start a new mail
|
||||
* to be implemented: open the last used account
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
_systx_dir=%{buildroot}%{_libdir}/mozilla/extensions/\{3550f703-e582-4d05-9a08-453d09bdfdc6\}/systray-x@Ximi1970
|
||||
install -Dm0755 SysTray-X %{buildroot}/%{_bindir}/SysTray-X
|
||||
mkdir -pv $_systx_dir
|
||||
unzip -d $_systx_dir systray-x.xpi
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
%{_bindir}/SysTray-X
|
||||
%{_libdir}/mozilla
|
||||
|
||||
%changelog
|
||||
Reference in New Issue
Block a user