2013-07-08 05:27:33 +00:00
|
|
|
#
|
2013-07-22 15:11:05 +00:00
|
|
|
# spec file for package kapptemplate
|
2013-07-08 05:27:33 +00:00
|
|
|
#
|
2024-02-23 20:08:01 +00:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2013-07-08 05:27:33 +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.
|
|
|
|
|
2018-11-24 23:44:17 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2013-07-08 05:27:33 +00:00
|
|
|
#
|
|
|
|
|
2017-08-11 22:54:05 +00:00
|
|
|
|
2024-02-23 20:08:01 +00:00
|
|
|
%define kf6_version 5.246.0
|
|
|
|
%define qt6_version 6.6.0
|
|
|
|
|
2022-01-06 12:44:31 +00:00
|
|
|
%bcond_without released
|
2018-11-24 23:44:17 +00:00
|
|
|
Name: kapptemplate
|
2024-03-21 13:54:23 +00:00
|
|
|
Version: 24.02.1
|
2018-11-24 23:44:17 +00:00
|
|
|
Release: 0
|
2016-12-03 15:14:25 +00:00
|
|
|
Summary: Template for KDE Application Development
|
2018-11-24 23:44:17 +00:00
|
|
|
License: GPL-2.0-only AND GFDL-1.2-only
|
2021-04-19 13:30:52 +00:00
|
|
|
URL: https://apps.kde.org/kapptemplate
|
2024-02-26 10:15:46 +00:00
|
|
|
Source: %{name}-%{version}.tar.xz
|
2022-01-06 12:44:31 +00:00
|
|
|
%if %{with released}
|
2024-02-26 10:15:46 +00:00
|
|
|
Source1: %{name}-%{version}.tar.xz.sig
|
2021-04-19 13:30:52 +00:00
|
|
|
Source2: applications.keyring
|
|
|
|
%endif
|
2024-02-23 20:08:01 +00:00
|
|
|
BuildRequires: kf6-extra-cmake-modules >= %{kf6_version}
|
|
|
|
BuildRequires: cmake(KF6Archive) >= %{kf6_version}
|
|
|
|
BuildRequires: cmake(KF6Completion) >= %{kf6_version}
|
|
|
|
BuildRequires: cmake(KF6ConfigWidgets) >= %{kf6_version}
|
|
|
|
BuildRequires: cmake(KF6CoreAddons) >= %{kf6_version}
|
|
|
|
BuildRequires: cmake(KF6DocTools) >= %{kf6_version}
|
|
|
|
BuildRequires: cmake(KF6I18n) >= %{kf6_version}
|
|
|
|
BuildRequires: cmake(KF6KIO) >= %{kf6_version}
|
|
|
|
# Disabled upstream
|
|
|
|
# BuildRequires: cmake(KF6NewStuff) >= %%{kf6_version}
|
|
|
|
BuildRequires: cmake(Qt6Test) >= %{qt6_version}
|
|
|
|
BuildRequires: cmake(Qt6Widgets) >= %{qt6_version}
|
2015-05-15 05:44:15 +00:00
|
|
|
Obsoletes: kapptemplate5 < %{version}
|
2024-02-23 20:08:01 +00:00
|
|
|
Provides: kapptemplate5 = %{version}
|
2013-07-08 05:27:33 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
This package contains templates to start the development of a new KDE
|
|
|
|
application/part/plugin.
|
|
|
|
|
2017-04-15 13:28:01 +00:00
|
|
|
%lang_package
|
|
|
|
|
2013-07-08 05:27:33 +00:00
|
|
|
%prep
|
2021-04-19 13:30:52 +00:00
|
|
|
%autosetup -p1
|
2013-07-08 05:27:33 +00:00
|
|
|
|
|
|
|
%build
|
2024-02-23 20:08:01 +00:00
|
|
|
%cmake_kf6
|
2013-07-08 05:27:33 +00:00
|
|
|
|
2024-02-23 20:08:01 +00:00
|
|
|
%kf6_build
|
2022-11-17 22:58:10 +00:00
|
|
|
|
2024-02-23 20:08:01 +00:00
|
|
|
%install
|
|
|
|
%kf6_install
|
2022-11-17 22:58:10 +00:00
|
|
|
|
2024-02-23 20:08:01 +00:00
|
|
|
%find_lang %{name} --with-html --all-name
|
2013-07-08 05:27:33 +00:00
|
|
|
|
2023-03-02 14:20:51 +00:00
|
|
|
%ldconfig_scriptlets
|
2013-07-08 05:27:33 +00:00
|
|
|
|
2016-12-03 15:14:25 +00:00
|
|
|
%files
|
2021-03-28 07:27:01 +00:00
|
|
|
%license LICENSES/*
|
2024-02-23 20:08:01 +00:00
|
|
|
%doc %lang(en) %{_kf6_htmldir}/en/*/
|
|
|
|
%{_kf6_applicationsdir}/org.kde.kapptemplate.desktop
|
|
|
|
%{_kf6_appstreamdir}/org.kde.kapptemplate.appdata.xml
|
|
|
|
%{_kf6_bindir}/kapptemplate
|
|
|
|
%{_kf6_configkcfgdir}/kapptemplate.kcfg
|
|
|
|
%{_kf6_debugdir}/kapptemplate.categories
|
|
|
|
%{_kf6_iconsdir}/hicolor/*/apps/kapptemplate.*
|
|
|
|
%{_kf6_sharedir}/kdevappwizard/
|
2013-07-08 05:27:33 +00:00
|
|
|
|
2017-04-15 13:28:01 +00:00
|
|
|
%files lang -f %{name}.lang
|
2024-02-23 20:08:01 +00:00
|
|
|
%exclude %{_kf6_htmldir}/en/*/
|
2017-04-15 13:28:01 +00:00
|
|
|
|
2013-07-08 05:27:33 +00:00
|
|
|
%changelog
|