SHA256
1
0
forked from pool/kded
Wolfgang Bauer
2018-08-20 12:58:37 +00:00
committed by Git OBS Bridge
parent 8e2ec903f9
commit b970311f12
4 changed files with 24 additions and 16 deletions

View File

@@ -16,15 +16,20 @@
#
%bcond_without lang
%define _tar_path 5.48
%define _tar_path 5.49
# Full KF5 version (e.g. 5.33.0)
%{!?_kf5_version: %global _kf5_version %{version}}
# Last major and minor KF5 version (e.g. 5.33)
%{!?_kf5_bugfix_version: %define _kf5_bugfix_version %(echo %{_kf5_version} | awk -F. '{print $1"."$2}')}
%bcond_without lang
Name: kded
Version: 5.48.0
Version: 5.49.0
Release: 0
Summary: Central daemon of KDE workspaces
License: LGPL-2.1-or-later
Group: System/GUI/KDE
URL: http://www.kde.org
Source: http://download.kde.org/stable/frameworks/%{_tar_path}/%{name}-%{version}.tar.xz
BuildRequires: cmake >= 3.0
BuildRequires: extra-cmake-modules >= %{_kf5_bugfix_version}
BuildRequires: fdupes
@@ -46,12 +51,6 @@ BuildRequires: cmake(Qt5Xml) >= 5.6.0
%if %{with lang}
Recommends: %{name}-lang
%endif
Summary: Central daemon of KDE workspaces
License: LGPL-2.1-or-later
Group: System/GUI/KDE
Url: http://www.kde.org
Source: http://download.kde.org/stable/frameworks/%{_tar_path}/%{name}-%{version}.tar.xz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
KDED runs in the background and performs a number of small tasks.
@@ -69,6 +68,7 @@ Some of these tasks are built in, others are started on demand.
Development files.
%lang_package
%prep
%setup -q
@@ -85,7 +85,6 @@ Development files.
%endif
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%if %{with lang}
@@ -93,8 +92,8 @@ Development files.
%endif
%files
%defattr(-,root,root)
%doc COPYING* README*
%license COPYING*
%doc README*
%{_kf5_libdir}/libkdeinit5_kded5.so
%{_kf5_bindir}/kded5
%{_kf5_sharedir}/dbus-1/services/org.kde.kded5.service
@@ -103,7 +102,6 @@ Development files.
%doc %lang(en) %{_kf5_mandir}/*/kded5.*
%files devel
%defattr(-,root,root)
%{_kf5_libdir}/cmake/KDED/
%{_kf5_dbusinterfacesdir}/org.kde.kded5.xml