2018-11-25 19:56:27 +01:00
|
|
|
#
|
|
|
|
# spec file for package kirigami-gallery
|
|
|
|
#
|
2021-01-06 15:51:46 +01:00
|
|
|
# Copyright (c) 2021 SUSE LLC
|
2018-11-25 19:56:27 +01:00
|
|
|
#
|
|
|
|
# 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
|
2021-10-07 13:40:03 +02:00
|
|
|
Version: 21.08.2
|
2018-11-25 19:56:27 +01:00
|
|
|
Release: 0
|
|
|
|
Summary: Gallery application built using Kirigami
|
|
|
|
License: LGPL-2.0-or-later
|
|
|
|
Group: Development/Tools/Other
|
2021-04-19 15:30:59 +02:00
|
|
|
URL: https://apps.kde.org/kirigami2.gallery
|
2021-08-07 13:17:20 +02:00
|
|
|
Source: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz
|
2021-04-19 15:30:59 +02:00
|
|
|
%if %{with lang}
|
2021-08-07 13:17:20 +02:00
|
|
|
Source1: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz.sig
|
2021-04-19 15:30:59 +02:00
|
|
|
Source2: applications.keyring
|
|
|
|
%endif
|
2018-11-25 19:56:27 +01:00
|
|
|
BuildRequires: extra-cmake-modules
|
2021-03-28 09:27:17 +02:00
|
|
|
# For some reason needed for appstream xml installation
|
|
|
|
BuildRequires: kpackage
|
2018-11-25 19:56:27 +01:00
|
|
|
BuildRequires: update-desktop-files
|
2021-03-28 09:27:17 +02:00
|
|
|
BuildRequires: cmake(KF5ItemModels)
|
|
|
|
BuildRequires: cmake(KF5Kirigami2)
|
2018-11-25 19:56:27 +01:00
|
|
|
BuildRequires: cmake(Qt5Core)
|
|
|
|
BuildRequires: cmake(Qt5Gui)
|
|
|
|
BuildRequires: cmake(Qt5LinguistTools)
|
|
|
|
BuildRequires: cmake(Qt5Quick)
|
|
|
|
BuildRequires: cmake(Qt5QuickControls2)
|
|
|
|
BuildRequires: cmake(Qt5Svg)
|
|
|
|
Requires: kirigami2
|
2020-07-22 21:32:15 +02:00
|
|
|
Requires: kitemmodels-imports
|
2018-11-25 19:56:27 +01:00
|
|
|
Requires: libqt5-qtgraphicaleffects
|
|
|
|
Requires: libqt5-qtquickcontrols2
|
|
|
|
|
|
|
|
%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
|
2021-04-19 15:30:59 +02:00
|
|
|
%autosetup -p1
|
2018-11-25 19:56:27 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
%cmake_kf5 -d build
|
2020-02-07 09:43:57 +01:00
|
|
|
%cmake_build
|
2018-11-25 19:56:27 +01:00
|
|
|
|
|
|
|
%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_applicationsdir}/org.kde.kirigami2.gallery.desktop
|
2021-03-28 09:27:17 +02:00
|
|
|
%{_kf5_appstreamdir}/org.kde.kirigami2.gallery.appdata.xml
|
2021-04-19 15:30:59 +02:00
|
|
|
%{_kf5_bindir}/kirigami2gallery
|
2018-11-25 19:56:27 +01:00
|
|
|
|
|
|
|
%if %{with lang}
|
|
|
|
%files lang -f %{name}.lang
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%changelog
|