From 672008071810be0bbc01352521d1eec88666466248b73c5babbb2caca5794607 Mon Sep 17 00:00:00 2001 From: Christophe Giboudeaux Date: Wed, 15 May 2019 11:04:27 +0000 Subject: [PATCH] Accepting request 703127 from home:EGDFree - Initial package for openSUSE OBS-URL: https://build.opensuse.org/request/show/703127 OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/kaidan?expand=0&rev=1 --- .gitattributes | 23 +++++++++++++ .gitignore | 1 + kaidan-v0.4.0-rc1.tar.bz2 | 3 ++ kaidan.changes | 4 +++ kaidan.spec | 68 +++++++++++++++++++++++++++++++++++++++ 5 files changed, 99 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 kaidan-v0.4.0-rc1.tar.bz2 create mode 100644 kaidan.changes create mode 100644 kaidan.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/kaidan-v0.4.0-rc1.tar.bz2 b/kaidan-v0.4.0-rc1.tar.bz2 new file mode 100644 index 0000000..1075c55 --- /dev/null +++ b/kaidan-v0.4.0-rc1.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4ac9a604f73d99bf0b560c71563ef562a31e2d172358ee0c0ec9e0b16fc4b91f +size 229430 diff --git a/kaidan.changes b/kaidan.changes new file mode 100644 index 0000000..fe9b042 --- /dev/null +++ b/kaidan.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Sun May 12 19:49:31 UTC 2019 - Andrey Karepin + +- Initial package for openSUSE diff --git a/kaidan.spec b/kaidan.spec new file mode 100644 index 0000000..563d31d --- /dev/null +++ b/kaidan.spec @@ -0,0 +1,68 @@ +# +# spec file for package kaidan +# +# Copyright (c) 2019 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/ +# + + +%define source_version_string v0.4.0-rc1 +Name: kaidan +Version: 0.3.99.1 +Release: 0 +Summary: A XMPP client based on KDE Framework +License: GPL-3.0-or-later AND SUSE-GPL-3.0+-with-openssl-exception AND MIT AND CC-BY-SA-3.0 AND CC-BY-SA-4.0 +Group: Productivity/Networking/Instant Messenger +URL: https://invent.kde.org/kde/kaidan +Source: https://invent.kde.org/kde/kaidan/-/archive/%{source_version_string}/%{name}-%{source_version_string}.tar.bz2 +BuildRequires: cmake >= 2.8.12 +BuildRequires: extra-cmake-modules >= 5.40.0 +BuildRequires: libqxmpp-devel >= 0.9 +BuildRequires: cmake(KF5Declarative) +BuildRequires: cmake(KF5Kirigami2) >= 5.42.0 +BuildRequires: cmake(Qt5Core) >= 5.8.0 +BuildRequires: cmake(Qt5Gui) +BuildRequires: cmake(Qt5LinguistTools) +BuildRequires: cmake(Qt5Quick) +BuildRequires: cmake(Qt5QuickControls2) +BuildRequires: cmake(Qt5Sql) +BuildRequires: cmake(Qt5Svg) +Requires: kirigami2 >= 5.42.0 +Requires: libqt5-qtquickcontrols2 + +%description +Kaidan is a simple Jabber/XMPP client providing a user-interface using +Kirigami and QtQuick. The back-end of Kaidan is entirely written in C++ +using the qxmpp XMPP client library and Qt 5. + +%prep +%setup -q -n %{name}-%{source_version_string} + +%build +%cmake_kf5 -d build '-DI18N:BOOL=ON' +%cmake_build + +%install +%kf5_makeinstall -C build + +%files +%license LICENSE +%doc README.md +%{_kf5_bindir}/%{name} +%{_kf5_iconsdir}/hicolor/*/apps/%{name}.* +%{_kf5_applicationsdir}/%{name}.desktop +%{_kf5_appstreamdir}/im.kaidan.kaidan.appdata.xml +%dir %{_kf5_sharedir}/%{name} +%{_kf5_sharedir}/%{name}/images + +%changelog