1
0
kde-cli-tools5/kde-cli-tools5.spec

82 lines
2.4 KiB
RPMSpec

#
# spec file for package kde-cli-tools5
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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/
#
Name: kde-cli-tools5
Version: 5.0.1
Release: 0
Summary: Additional CLI tools for KDE applications
License: GPL-2.0+
Group: System/GUI/KDE
Url: http://www.kde.org
Source: http://download.kde.org/stable/plasma/%{version}/kde-cli-tools-%{version}.tar.xz
BuildRequires: kcmutils-devel
BuildRequires: kconfig-devel
BuildRequires: kdelibs4support-devel
BuildRequires: kdesu-devel
BuildRequires: kf5-filesystem
BuildRequires: ki18n-devel
BuildRequires: kiconthemes-devel
BuildRequires: kwindowsystem-devel
BuildRequires: xz
BuildRequires: pkgconfig(Qt5DBus) >= 5.3.0
BuildRequires: pkgconfig(Qt5Svg) >= 5.3.0
BuildRequires: pkgconfig(Qt5Test) >= 5.3.0
BuildRequires: pkgconfig(Qt5Widgets) >= 5.3.0
BuildRequires: pkgconfig(Qt5X11Extras) >= 5.3.0
BuildRequires: pkgconfig(x11)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Additional CLI tools for KDE applications and workspaces.
%prep
%setup -q -n kde-cli-tools-%{version}
sed -i '/^add_subdirectory(doc)/d' CMakeLists.txt
%build
%cmake_kf5 -d build -- -DBUILD_po=OFF
%make_jobs
%install
%kf5_makeinstall -C build
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_kf5_bindir}/kcmshell5
%{_kf5_bindir}/kdecp5
%{_kf5_bindir}/kdemv5
%{_kf5_bindir}/kde-open5
%{_kf5_bindir}/keditfiletype5
%{_kf5_bindir}/kioclient5
%{_kf5_bindir}/kmimetypefinder5
%{_kf5_bindir}/ksvgtopng5
%{_kf5_bindir}/kstart5
%{_kf5_bindir}/ktraderclient5
%{_kf5_servicesdir}/
%{_kf5_libdir}/libkdeinit5_kcmshell5.so
%{_kf5_libdir}/libexec/
%{_kf5_plugindir}/
#doc %{_kf5_htmldir}/
#{_kf5_mandir}/man1/kdesu.*
%changelog