Accepting request 807820 from home:tjyrinki_suse:ruqola

Continue from request 807721. Change from 1.0.0+git to 1.1~git style versioning to keep correct upgradability. Simplify html doc inclusion as suggested.

OBS-URL: https://build.opensuse.org/request/show/807820
OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/ruqola?expand=0&rev=1
This commit is contained in:
Fabian Vogt 2020-05-20 18:31:19 +00:00 committed by Git OBS Bridge
commit e4421a7030
8 changed files with 158 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

15
_service Normal file
View File

@ -0,0 +1,15 @@
<services>
<service mode="disabled" name="obs_scm">
<param name="url">https://invent.kde.org/network/ruqola.git</param>
<param name="scm">git</param>
<param name="changesgenerate">enable</param>
<param name="filename">ruqola</param>
<param name="versionformat">1.1~git.%cd</param>
</service>
<service mode="disabled" name="set_version"/>
<service name="tar" mode="buildtime"/>
<service name="recompress" mode="buildtime">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
</services>

4
_servicedata Normal file
View File

@ -0,0 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://invent.kde.org/network/ruqola.git</param>
<param name="changesrevision">f2a4bc480ba5d9e3bacd8b46cc662a072eee0b69</param></service></servicedata>

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:aa3cdc39141059af3cab11608c922c9b2efa487924ea289c2e22a7dc6992adf4
size 6392845

11
ruqola.changes Normal file
View File

@ -0,0 +1,11 @@
-------------------------------------------------------------------
Wed May 20 11:58:51 UTC 2020 - tjyrinki@suse.com
- Update to version 1.1~git.20200520:
* Fix another crash due to a null cursor.
* GIT_SILENT: time to increase it
-------------------------------------------------------------------
Tue May 19 12:13:45 UTC 2020 - Timo Jyrinki <tjyrinki@suse.com>
- Initial packaging, upstream version 7e6b96d5 including Hack Week work.

5
ruqola.obsinfo Normal file
View File

@ -0,0 +1,5 @@
name: ruqola
version: 1.1~git.20200520
mtime: 1589969978
commit: f2a4bc480ba5d9e3bacd8b46cc662a072eee0b69

96
ruqola.spec Normal file
View File

@ -0,0 +1,96 @@
#
# spec file for package ruqola
#
# Copyright (c) 2019-2020 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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: ruqola
Version: 1.1~git.20200520
Release: 0
Summary: Rocket.chat Client
License: GPL-2.0-or-later
Group: Productivity/Networking/Instant Messenger
URL: https://invent.kde.org/network/ruqola
Source0: %{name}-%{version}.tar.xz
BuildRequires: cmake(KF5CoreAddons)
BuildRequires: cmake(KF5Crash)
BuildRequires: cmake(KF5DBusAddons)
BuildRequires: cmake(KF5DocTools)
BuildRequires: cmake(KF5I18n)
BuildRequires: cmake(KF5IconThemes)
BuildRequires: cmake(KF5KIO)
BuildRequires: cmake(KF5Kirigami2)
BuildRequires: cmake(KF5Notifications)
BuildRequires: cmake(KF5NotifyConfig)
BuildRequires: cmake(KF5Sonnet)
BuildRequires: cmake(KF5SyntaxHighlighting)
BuildRequires: cmake(KF5TextWidgets)
BuildRequires: cmake(KF5WidgetsAddons)
BuildRequires: cmake(KF5XmlGui)
BuildRequires: cmake(Qt5DBus) >= 5.12.0
BuildRequires: cmake(Qt5MultimediaWidgets) >= 5.12.0
BuildRequires: cmake(Qt5NetworkAuth) >= 5.12.0
BuildRequires: cmake(Qt5Qml) >= 5.12.0
BuildRequires: cmake(Qt5WebSockets) >= 5.12.0
BuildRequires: update-desktop-files
Requires: kirigami2
%description
Ruqola is a Rocket.Chat client for the KDE desktop.
It supports multi-account, search in room, open close rooms, direct message, thread, discussions.
RC settings can be changed directly.
It's a native alternative to the official embedded browser type of desktop app available from Rocket.Chat project.
Ruqola uses Kirigami components based on QtQuick.
%prep
%autosetup -p1
%build
%cmake_kf5 -d build
%cmake_build
%install
%kf5_makeinstall -C build
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%license COPYING*
%doc README*
%{_kf5_bindir}/ruqola
%{_kf5_bindir}/ruqolaqml
%{_kf5_libdir}/libruqolacore.so.*
%{_kf5_libdir}/libruqolawidgets.so.*
%{_kf5_libdir}/librocketchatrestapi-qt5*
%dir %{_kf5_plugindir}/ruqolaplugins
%dir %{_kf5_plugindir}/ruqolaplugins/authentication
%{_kf5_plugindir}/ruqolaplugins/authentication/ruqola_passwordauthenticationplugin.so
%dir %{_kf5_plugindir}/ruqolaplugins/textplugins
%{_kf5_plugindir}/ruqolaplugins/textplugins/ruqola_webshortcuttextplugin.so
# upstream installs with execute bit, gives a linter warning
%attr(0644,-,-) %{_kf5_applicationsdir}/org.kde.ruqola.desktop
%attr(0644,-,-) %{_kf5_applicationsdir}/org.kde.ruqolaqml.desktop
%{_kf5_iconsdir}/hicolor/*/*/*.*
%doc %{_kf5_htmldir}/en/ruqola/
%{_kf5_notifydir}/ruqola.notifyrc
%{_kf5_appstreamdir}/org.kde.ruqola.appdata.xml
%{_kf5_appstreamdir}/org.kde.ruqolaqml.appdata.xml
%{_kf5_debugdir}/ruqola.categories
%changelog