Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.1:Update
kde-cli-tools5
kde-cli-tools5.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File kde-cli-tools5.spec of Package kde-cli-tools5
# # spec file for package kde-cli-tools5 # # Copyright (c) 2016 SUSE LINUX 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/ # %bcond_without lang Name: kde-cli-tools5 Version: 5.5.5 Release: 0 Summary: Additional CLI tools for KDE applications License: GPL-2.0+ Group: System/GUI/KDE Url: http://www.kde.org Source: kde-cli-tools-%{version}.tar.xz Source99: %{name}-rpmlintrc # PATCH-FIX-OPENSUSE kdesu-add-some-i18n-love.patch -- boo#852256 Patch0: kdesu-add-some-i18n-love.patch # PATCH-FIX-UPSTREAM keditfiletype-create-directory.patch boo#985608 -- fixes saving changes in the filetype editor on a fresh user account, when ~/.local/share/mime/packages doesn't exist yet Patch1: keditfiletype-create-directory.patch # PATCH-FIX-UPSTREAM kdesu-Do-not-change-minimum-size.patch boo#958785 -- prevent the displayed command line text running into the password field Patch2: kdesu-Do-not-change-minimum-size.patch # PATCH-FIX-UPSTREAM 0001-Make-sure-people-are-not-trying-to-sneak-invisible-c.patch CVE-2016-7787 -- kdesu: Displayed command truncated by unicode string terminator Patch3: 0001-Make-sure-people-are-not-trying-to-sneak-invisible-c.patch BuildRequires: extra-cmake-modules >= 1.3.0 BuildRequires: kf5-filesystem BuildRequires: xz BuildRequires: cmake(KF5Config) >= 5.16.0 BuildRequires: cmake(KF5DocTools) >= 5.16.0 BuildRequires: cmake(KF5I18n) >= 5.16.0 BuildRequires: cmake(KF5IconThemes) >= 5.16.0 BuildRequires: cmake(KF5Init) >= 5.16.0 BuildRequires: cmake(KF5KCMUtils) >= 5.16.0 BuildRequires: cmake(KF5KDELibs4Support) >= 5.16.0 BuildRequires: cmake(KF5KIO) >= 5.16.0 BuildRequires: cmake(KF5Su) >= 5.16.0 BuildRequires: cmake(KF5WindowSystem) >= 5.16.0 BuildRequires: cmake(Qt5DBus) >= 5.4.0 BuildRequires: cmake(Qt5Svg) >= 5.4.0 BuildRequires: cmake(Qt5Test) >= 5.4.0 BuildRequires: cmake(Qt5Widgets) >= 5.4.0 BuildRequires: cmake(Qt5X11Extras) >= 5.4.0 BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xcb) # for kquitapp5 Requires: kdbusaddons-tools %if %{with lang} Recommends: %{name}-lang %endif Requires(post): update-alternatives Requires(postun): update-alternatives BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Additional CLI tools for KDE applications and workspaces. %lang_package %prep %setup -q -n kde-cli-tools-%{version} %patch0 -p1 %patch1 -p1 %patch2 -p1 %patch3 -p1 %build %cmake_kf5 -d build -- -DCMAKE_INSTALL_LOCALEDIR=share/locale/kf5 %make_jobs %install %kf5_makeinstall -C build # create a dummy target for /etc/alternatives/kdesu install -d -m 755 %{buildroot}%{_sysconfdir}/alternatives/ touch %{buildroot}%{_sysconfdir}/alternatives/kdesu chmod +x %{buildroot}%{_sysconfdir}/alternatives/kdesu ln -s -f %{_sysconfdir}/alternatives/kdesu %{buildroot}%{_kf5_bindir}/kdesu touch %{buildroot}%{_sysconfdir}/alternatives/kdesu.1%{?ext_man} mv %{buildroot}%{_kf5_mandir}/man1/kdesu.1 %{buildroot}%{_kf5_mandir}/man1/kdesu-5.1 ln -s -f %{_sysconfdir}/alternatives/kdesu.1%{?ext_man} %{buildroot}%{_kf5_mandir}/man1/kdesu.1%{?ext_man} %post /sbin/ldconfig %if 0%{?suse_version} > 1320 || 0%{?is_opensuse} %{_sbindir}/update-alternatives \ --install %{_kf5_bindir}/kdesu kdesu %{_kf5_libexecdir}/kdesu 25 \ --slave %{_kf5_mandir}/man1/kdesu.1.gz kdesu.1%{?ext_man} %{_kf5_mandir}/man1/kdesu-5.1%{?ext_man} %else %{_sbindir}/update-alternatives \ --install %{_kf5_bindir}/kdesu kdesu %{_kf5_libexecdir}/kdesu 15 \ --slave %{_kf5_mandir}/man1/kdesu.1.gz kdesu.1%{?ext_man} %{_kf5_mandir}/man1/kdesu-5.1%{?ext_man} %endif %postun /sbin/ldconfig if [ $1 -eq 0 ]; then %{_sbindir}/update-alternatives --remove kdesu \ %{_kf5_libexecdir}/kdesu fi %files %defattr(-,root,root) %doc COPYING* %{_kf5_bindir}/kdesu %{_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_libexecdir}/ %ghost %{_sysconfdir}/alternatives/kdesu %{_kf5_plugindir}/ %ghost %{_sysconfdir}/alternatives/kdesu.1%{?ext_man} %doc %{_kf5_htmldir}/ %{_kf5_mandir}/man1/kdesu*.* %if %{with lang} %files lang %defattr(-,root,root) %{_kf5_localedir}/ %endif %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor