From e812aab02fba390ccbcbc127c1011cb1715457547757bd2f4cd8045de15107ff Mon Sep 17 00:00:00 2001 From: Luca Beltrame Date: Sat, 16 Jan 2021 10:15:33 +0000 Subject: [PATCH] osc copypac from project:KDE:Unstable:Extra package:neochat revision:1 OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/neochat?expand=0&rev=1 --- .gitattributes | 23 ++++++++++++++ .gitignore | 1 + neochat.changes | 4 +++ neochat.spec | 84 +++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 112 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 neochat.changes create mode 100644 neochat.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/neochat.changes b/neochat.changes new file mode 100644 index 0000000..9073b93 --- /dev/null +++ b/neochat.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Sat Jan 16 10:14:57 UTC 2021 - Luca Beltrame + +- Initial package diff --git a/neochat.spec b/neochat.spec new file mode 100644 index 0000000..b01c570 --- /dev/null +++ b/neochat.spec @@ -0,0 +1,84 @@ +# +# spec file for package kdeconnect-kde +# +# 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/ +# + + +%bcond_without lang +%define _kf5_version 5.78 +Name: neochat +Version: 1.0.1 +Release: 0 +Summary: A chat client for Matrix, the decentralized communication protocol +License: GPL-3.0-or-later AND GPL-3.0-only AND BSD-2-Clause +Group: Productivity/Networking/Instant Messenger +URL: https://www.kde.org +Source: https://download.kde.org/stable/neochat/%{version}/%{name}-%{version}.tar.xz +%if %{with lang} +Source1: https://download.kde.org/stable/neochat/%{version}/%{name}-%{version}.tar.xz.sig +%endif +BuildRequires: cmake >= 3.1 +BuildRequires: extra-cmake-modules >= %{_kf5_version} +BuildRequires: kf5-filesystem +BuildRequires: cmake(KF5Kirigami2) >= %{_kf5_version} +BuildRequires: cmake(KF5I18n) >= %{_kf5_version} +BuildRequires: cmake(KF5Declarative) >= %{_kf5_version} +BuildRequires: cmake(KF5Notifications) >= %{_kf5_version} +BuildRequires: cmake(KF5Config) >= %{_kf5_version} +BuildRequires: cmake(KF5IconThemes) +BuildRequires: cmake(KF5KCoreAddons) +BuildRequires: cmake(Qt5Keychain) +BuildRequires: cmake(Qt5Core) >= 5.15.0 +BuildRequires: cmake(Qt5Widgets) >= 5.15.0 +BuildRequires: cmake(Qt5Quck) >= 5.15.0 +BuildRequires: cmake(Qt5Gui) >= 5.15.0 +BuildRequires: cmake(Qt5QuickControls2) >= 5.15.0 +BuildRequires: cmake(Qt5Multimedia) >= 5.15.0 +BuildRequires: cmake(Qt5Svg) >= 5.15.0 +Recommends: %{name}-lang = %{version} + +%description +Neochat is a client for Matrix, the decentralized communication protocol for instant +messaging. + +%lang_package + +%prep +%autosetup -q + +%build +%cmake_kf5 -d build +%cmake_build + +%install +%kf5_makeinstall -C build + +%if %{with lang} + %{kf5_find_lang} + %{kf5_find_htmldocs} +%endif + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%license LICENSES/* +%doc README* + +%if %{with lang} +%files lang -f %{name}.lang +%endif + +%changelog