2018-11-25 18:56:27 +00:00
|
|
|
#
|
|
|
|
# spec file for package kirigami-gallery
|
|
|
|
#
|
2025-03-29 08:58:32 +00:00
|
|
|
# Copyright (c) 2025 SUSE LLC
|
2018-11-25 18:56:27 +00: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/
|
|
|
|
#
|
|
|
|
|
2024-08-22 12:50:44 +00:00
|
|
|
|
2024-11-21 08:26:49 +00:00
|
|
|
%define kf6_version 6.6.0
|
2024-08-22 12:50:44 +00:00
|
|
|
%define qt6_version 6.6.0
|
|
|
|
|
2022-01-06 12:44:45 +00:00
|
|
|
%bcond_without released
|
2018-11-25 18:56:27 +00:00
|
|
|
Name: kirigami-gallery
|
2025-07-03 13:31:20 +00:00
|
|
|
Version: 25.04.3
|
2018-11-25 18:56:27 +00:00
|
|
|
Release: 0
|
|
|
|
Summary: Gallery application built using Kirigami
|
|
|
|
License: LGPL-2.0-or-later
|
2021-04-19 13:30:59 +00:00
|
|
|
URL: https://apps.kde.org/kirigami2.gallery
|
2025-04-17 12:38:29 +00:00
|
|
|
Source0: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz
|
2022-01-06 12:44:45 +00:00
|
|
|
%if %{with released}
|
2025-04-17 12:38:29 +00:00
|
|
|
Source1: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz.sig
|
2021-04-19 13:30:59 +00:00
|
|
|
Source2: applications.keyring
|
|
|
|
%endif
|
2024-08-22 12:50:44 +00:00
|
|
|
BuildRequires: kf6-extra-cmake-modules >= %{kf6_version}
|
|
|
|
BuildRequires: cmake(KF6ItemModels) >= %{kf6_version}
|
|
|
|
BuildRequires: cmake(KF6Kirigami) >= %{kf6_version}
|
|
|
|
BuildRequires: cmake(Qt6Core) >= %{qt6_version}
|
|
|
|
BuildRequires: cmake(Qt6Gui) >= %{qt6_version}
|
|
|
|
BuildRequires: cmake(Qt6LinguistTools) >= %{qt6_version}
|
|
|
|
BuildRequires: cmake(Qt6Quick) >= %{qt6_version}
|
|
|
|
BuildRequires: cmake(Qt6QuickControls2) >= %{qt6_version}
|
|
|
|
BuildRequires: cmake(Qt6Svg) >= %{qt6_version}
|
|
|
|
BuildRequires: cmake(Qt6Widgets) >= %{qt6_version}
|
|
|
|
Requires: kf6-kirigami-imports >= %{kf6_version}
|
|
|
|
Requires: kf6-kitemmodels-imports >= %{kf6_version}
|
|
|
|
Requires: qt6-declarative-imports >= %{qt6_version}
|
2018-11-25 18:56:27 +00:00
|
|
|
|
|
|
|
%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 13:30:59 +00:00
|
|
|
%autosetup -p1
|
2018-11-25 18:56:27 +00:00
|
|
|
|
|
|
|
%build
|
2024-08-22 12:50:44 +00:00
|
|
|
%cmake_kf6
|
|
|
|
|
|
|
|
%kf6_build
|
2018-11-25 18:56:27 +00:00
|
|
|
|
|
|
|
%install
|
2024-08-22 12:50:44 +00:00
|
|
|
%kf6_install
|
2018-11-25 18:56:27 +00:00
|
|
|
|
|
|
|
%find_lang kirigamigallery %{name}.lang --with-qt
|
|
|
|
|
|
|
|
%files
|
|
|
|
%license LICENSE.LGPL-2
|
2024-08-22 12:50:44 +00:00
|
|
|
%{_kf6_applicationsdir}/org.kde.kirigami2.gallery.desktop
|
2025-03-29 09:39:47 +00:00
|
|
|
%{_kf6_appstreamdir}/org.kde.kirigami2.gallery.appdata.xml
|
2024-08-22 12:50:44 +00:00
|
|
|
%{_kf6_bindir}/kirigami2gallery
|
2018-11-25 18:56:27 +00:00
|
|
|
|
|
|
|
%files lang -f %{name}.lang
|
|
|
|
|
|
|
|
%changelog
|