2013-07-08 07:27:33 +02:00
|
|
|
#
|
2013-07-22 17:11:05 +02:00
|
|
|
# spec file for package kapptemplate
|
2013-07-08 07:27:33 +02:00
|
|
|
#
|
2015-05-15 07:44:15 +02:00
|
|
|
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
2013-07-08 07:27:33 +02: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 http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2013-07-22 17:11:05 +02:00
|
|
|
|
2013-07-08 07:27:33 +02:00
|
|
|
Name: kapptemplate
|
2015-05-15 07:44:15 +02:00
|
|
|
BuildRequires: extra-cmake-modules
|
|
|
|
BuildRequires: karchive-devel
|
|
|
|
BuildRequires: kcompletion-devel
|
|
|
|
BuildRequires: kconfigwidgets-devel
|
|
|
|
BuildRequires: kcoreaddons-devel
|
|
|
|
BuildRequires: kcoreaddons-devel
|
|
|
|
BuildRequires: kdoctools-devel
|
|
|
|
BuildRequires: kf5-filesystem
|
|
|
|
BuildRequires: ki18n-devel
|
|
|
|
BuildRequires: kio-devel
|
|
|
|
BuildRequires: update-desktop-files
|
|
|
|
BuildRequires: pkgconfig(Qt5Test)
|
2013-07-08 07:27:33 +02:00
|
|
|
Summary: Template for KDE Application Development
|
2013-07-22 17:11:05 +02:00
|
|
|
License: GPL-2.0 and GFDL-1.2
|
|
|
|
Group: Development/Tools/IDE
|
2013-07-08 07:27:33 +02:00
|
|
|
Url: http://www.kde.org/
|
2016-10-11 22:51:36 +02:00
|
|
|
Version: 16.08.2
|
2013-07-22 17:11:05 +02:00
|
|
|
Release: 0
|
2013-07-08 07:27:33 +02:00
|
|
|
Source0: %{name}-%{version}.tar.xz
|
2015-05-15 07:44:15 +02:00
|
|
|
Obsoletes: %{name}5 < %{version}
|
|
|
|
Provides: %{name}5 = %{version}
|
2013-07-08 07:27:33 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2015-05-15 07:44:15 +02:00
|
|
|
Obsoletes: kapptemplate5 < %{version}
|
2013-07-08 07:27:33 +02:00
|
|
|
|
|
|
|
%description
|
|
|
|
This package contains templates to start the development of a new KDE
|
|
|
|
application/part/plugin.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
2015-05-15 07:44:15 +02:00
|
|
|
%setup -q
|
2016-10-12 13:13:01 +02:00
|
|
|
sed -i 's|Categories=Qt;KDE;Development;|Categories=Qt;KDE;Development;IDE;X-KDE-KDevelopIDE;|g' src/application/org.kde.kapptemplate.desktop
|
2013-07-08 07:27:33 +02:00
|
|
|
|
|
|
|
%build
|
2015-05-15 07:44:15 +02:00
|
|
|
%cmake_kf5 -d build
|
|
|
|
%make_jobs
|
2013-07-08 07:27:33 +02:00
|
|
|
|
|
|
|
%install
|
2015-05-15 07:44:15 +02:00
|
|
|
%kf5_makeinstall -C build
|
2016-10-12 07:14:00 +02:00
|
|
|
%suse_update_desktop_file org.kde.kapptemplate
|
2013-07-08 07:27:33 +02:00
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc COPYING COPYING.DOC
|
2015-05-15 07:44:15 +02:00
|
|
|
%{_kf5_bindir}/kapptemplate
|
2016-10-12 07:14:00 +02:00
|
|
|
%{_kf5_applicationsdir}/org.kde.kapptemplate.desktop
|
2015-05-15 07:44:15 +02:00
|
|
|
%doc %{_kf5_htmldir}/en/*/
|
|
|
|
%{_kf5_sharedir}/kdevappwizard/
|
|
|
|
%{_kf5_iconsdir}/hicolor/*/apps/kapptemplate.*
|
|
|
|
%{_kf5_configkcfgdir}/
|
2016-10-12 07:14:00 +02:00
|
|
|
%dir %{_kf5_appstreamdir}
|
|
|
|
%{_kf5_appstreamdir}/org.kde.kapptemplate.appdata.xml
|
2013-07-08 07:27:33 +02:00
|
|
|
|
|
|
|
%changelog
|