From 104dfdbff1c25692dd33692617527d9fd04c8bf6e7224cd7e85e37604502a7fd Mon Sep 17 00:00:00 2001 From: Luca Beltrame Date: Sun, 25 Nov 2018 18:56:27 +0000 Subject: [PATCH] Accepting request 651643 from home:wolfi323:branches:KDE:Applications - Initial package Exactly the same as https://build.opensuse.org/request/show/651521 (except that it contains the 18.11.80 source tarball instead of the _service of course... ;-) ) OBS-URL: https://build.opensuse.org/request/show/651643 OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/kirigami-gallery?expand=0&rev=1 --- .gitattributes | 23 ++++++++++ kirigami-gallery-18.11.80.tar.xz | 3 ++ kirigami-gallery.changes | 5 +++ kirigami-gallery.spec | 73 ++++++++++++++++++++++++++++++++ 4 files changed, 104 insertions(+) create mode 100644 .gitattributes create mode 100644 kirigami-gallery-18.11.80.tar.xz create mode 100644 kirigami-gallery.changes create mode 100644 kirigami-gallery.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/kirigami-gallery-18.11.80.tar.xz b/kirigami-gallery-18.11.80.tar.xz new file mode 100644 index 0000000..2a09ed1 --- /dev/null +++ b/kirigami-gallery-18.11.80.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7376a29e9ab93ea18ca3b10757632dc4a21962a907cecededab212289f40a4f4 +size 258528 diff --git a/kirigami-gallery.changes b/kirigami-gallery.changes new file mode 100644 index 0000000..de11a31 --- /dev/null +++ b/kirigami-gallery.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Fri Nov 23 20:15:06 UTC 2018 - wbauer@tmo.at + +- Initial package + diff --git a/kirigami-gallery.spec b/kirigami-gallery.spec new file mode 100644 index 0000000..5ca021d --- /dev/null +++ b/kirigami-gallery.spec @@ -0,0 +1,73 @@ +# +# spec file for package kirigami-gallery +# +# Copyright (c) 2018 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 +Name: kirigami-gallery +Version: 18.11.80 +Release: 0 +Summary: Gallery application built using Kirigami +License: LGPL-2.0-or-later +Group: Development/Tools/Other +URL: http://www.kde.org +Source: https://download.kde.org/unstable/applications/%{version}/src/%{name}-%{version}.tar.xz +BuildRequires: extra-cmake-modules +BuildRequires: update-desktop-files +BuildRequires: cmake(Qt5Core) +BuildRequires: cmake(Qt5Gui) +BuildRequires: cmake(Qt5LinguistTools) +BuildRequires: cmake(Qt5Quick) +BuildRequires: cmake(Qt5QuickControls2) +BuildRequires: cmake(Qt5Svg) +Requires: kirigami2 +Requires: libqt5-qtgraphicaleffects +Requires: libqt5-qtquickcontrols2 +Recommends: %{name}-lang + +%description +Example application which uses all features from kirigami, +including links to the sourcecode, tips on how to use the +components and links to the corresponding HIG pages and +code examples on cgit + +%lang_package + +%prep +%setup -q + +%build +%cmake_kf5 -d build +%make_jobs + +%install +%kf5_makeinstall -C build +%suse_update_desktop_file -G "Kirigami Gallery" org.kde.kirigami2.gallery GUIDesigner + +%if %{with lang} +%find_lang kirigamigallery %{name}.lang --with-qt +%endif + +%files +%license LICENSE.LGPL-2 +%{_kf5_bindir}/kirigami2gallery +%{_kf5_applicationsdir}/org.kde.kirigami2.gallery.desktop + +%if %{with lang} +%files lang -f %{name}.lang +%endif + +%changelog