2018-11-25 19:56:27 +01:00
|
|
|
#
|
|
|
|
# spec file for package kirigami-gallery
|
|
|
|
#
|
2019-01-12 02:59:10 +01:00
|
|
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
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
|
2019-02-10 13:10:47 +01:00
|
|
|
Version: 18.12.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
|
|
|
|
URL: http://www.kde.org
|
2018-12-14 23:24:03 +01:00
|
|
|
Source: https://download.kde.org/stable/applications/%{version}/src/%{name}-%{version}.tar.xz
|
2018-11-25 19:56:27 +01:00
|
|
|
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
|