2014-02-07 22:42:23 +01:00
|
|
|
#
|
|
|
|
# spec file for package kded
|
|
|
|
#
|
2015-02-08 20:12:33 +01:00
|
|
|
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
2014-02-07 22:42:23 +01: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/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2015-04-10 18:28:48 +02:00
|
|
|
%bcond_without lang
|
2015-05-03 21:50:15 +02:00
|
|
|
%define _tar_path 5.10
|
2014-02-07 22:42:23 +01:00
|
|
|
Name: kded
|
2015-05-03 21:50:15 +02:00
|
|
|
Version: 5.10.0
|
2014-02-07 22:42:23 +01:00
|
|
|
Release: 0
|
2014-07-11 11:57:35 +02:00
|
|
|
%define kf5_version %{version}
|
2014-02-07 22:42:23 +01:00
|
|
|
BuildRequires: cmake >= 2.8.12
|
2015-04-10 18:28:48 +02:00
|
|
|
BuildRequires: extra-cmake-modules >= %{_tar_path}
|
2014-02-07 22:42:23 +01:00
|
|
|
BuildRequires: fdupes
|
2015-04-10 18:28:48 +02:00
|
|
|
BuildRequires: kcoreaddons-devel >= %{_tar_path}
|
|
|
|
BuildRequires: kcrash-devel >= %{_tar_path}
|
|
|
|
BuildRequires: kdbusaddons-devel >= %{_tar_path}
|
|
|
|
BuildRequires: kdoctools-devel >= %{_tar_path}
|
2014-10-04 22:25:50 +02:00
|
|
|
BuildRequires: kf5-filesystem
|
2015-04-10 18:28:48 +02:00
|
|
|
BuildRequires: ki18n-devel >= %{_tar_path}
|
|
|
|
BuildRequires: kinit-devel >= %{_tar_path}
|
|
|
|
BuildRequires: kservice-devel >= %{_tar_path}
|
|
|
|
BuildRequires: kwindowsystem-devel >= %{_tar_path}
|
2014-02-07 22:42:23 +01:00
|
|
|
BuildRequires: pkgconfig(Qt5Core) >= 5.2.0
|
|
|
|
BuildRequires: pkgconfig(Qt5DBus) >= 5.2.0
|
|
|
|
BuildRequires: pkgconfig(Qt5Network) >= 5.2.0
|
|
|
|
BuildRequires: pkgconfig(Qt5Test) >= 5.2.0
|
|
|
|
BuildRequires: pkgconfig(Qt5Widgets) >= 5.2.0
|
|
|
|
BuildRequires: pkgconfig(Qt5Xml) >= 5.2.0
|
2015-04-10 18:28:48 +02:00
|
|
|
%if %{with lang}
|
2014-11-03 02:03:13 +01:00
|
|
|
Recommends: %{name}-lang
|
2015-04-10 18:28:48 +02:00
|
|
|
%endif
|
2014-02-11 00:18:54 +01:00
|
|
|
Summary: Central daemon of KDE workspaces
|
2014-02-07 22:42:23 +01:00
|
|
|
License: LGPL-2.1+
|
|
|
|
Group: System/GUI/KDE
|
|
|
|
Url: http://www.kde.org
|
2015-02-11 20:52:34 +01:00
|
|
|
Source: http://download.kde.org/stable/frameworks/%{_tar_path}/%{name}-%{version}.tar.xz
|
2014-02-07 22:42:23 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
2014-02-11 00:18:54 +01:00
|
|
|
KDED runs in the background and performs a number of small tasks.
|
|
|
|
Some of these tasks are built in, others are started on demand.
|
2014-02-07 22:42:23 +01:00
|
|
|
|
|
|
|
%package devel
|
2014-02-11 00:18:54 +01:00
|
|
|
Summary: Central daemon of KDE workspaces: Build Environment
|
2014-02-07 22:42:23 +01:00
|
|
|
Group: Development/Libraries/KDE
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
Requires: extra-cmake-modules
|
|
|
|
|
|
|
|
%description devel
|
2014-02-11 00:18:54 +01:00
|
|
|
KDED runs in the background and performs a number of small tasks.
|
|
|
|
Some of these tasks are built in, others are started on demand.
|
|
|
|
Development files.
|
2014-02-07 22:42:23 +01:00
|
|
|
|
2014-11-03 02:03:13 +01:00
|
|
|
%lang_package
|
2014-02-07 22:42:23 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%cmake_kf5 -d build
|
|
|
|
%make_jobs
|
|
|
|
|
|
|
|
%install
|
|
|
|
%kf5_makeinstall -C build
|
2015-04-10 18:48:52 +02:00
|
|
|
%fdupes %{buildroot}
|
2014-02-07 22:42:23 +01:00
|
|
|
|
2015-04-10 18:28:48 +02:00
|
|
|
%if %{with lang}
|
2015-04-10 12:38:48 +02:00
|
|
|
echo "%doc %lang(it) %{_kf5_mandir}/it" >>%{name}.lang
|
|
|
|
echo "%doc %lang(nl) %{_kf5_mandir}/nl" >>%{name}.lang
|
|
|
|
echo "%doc %lang(pt_BR) %{_kf5_mandir}/pt_BR" >>%{name}.lang
|
|
|
|
echo "%doc %lang(ru) %{_kf5_mandir}/ru" >>%{name}.lang
|
|
|
|
echo "%doc %lang(sv) %{_kf5_mandir}/sv" >>%{name}.lang
|
|
|
|
echo "%doc %lang(uk) %{_kf5_mandir}/uk" >>%{name}.lang
|
2015-04-10 18:28:48 +02:00
|
|
|
%endif
|
2015-04-10 12:38:48 +02:00
|
|
|
|
2014-02-07 22:42:23 +01:00
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
2015-04-10 18:28:48 +02:00
|
|
|
%if %{with lang}
|
2015-04-10 12:38:48 +02:00
|
|
|
%files lang -f %{name}.lang
|
2014-11-03 02:03:13 +01:00
|
|
|
%defattr(-,root,root)
|
2015-04-10 18:28:48 +02:00
|
|
|
%endif
|
2014-11-03 02:03:13 +01:00
|
|
|
|
2014-02-07 22:42:23 +01:00
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc COPYING* README*
|
|
|
|
%{_kf5_libdir}/libkdeinit5_kded5.so
|
|
|
|
%{_kf5_bindir}/kded5
|
2014-05-04 03:35:17 +02:00
|
|
|
%{_kf5_sharedir}/dbus-1/services/org.kde.kded5.service
|
2014-02-07 22:42:23 +01:00
|
|
|
%dir %{_kf5_servicetypesdir}
|
|
|
|
%{_kf5_servicetypesdir}/kdedmodule.desktop
|
2014-11-03 10:21:01 +01:00
|
|
|
%doc %lang(en) %{_kf5_mandir}/*/kded5.*
|
2014-02-07 22:42:23 +01:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_kf5_libdir}/cmake/KDED/
|
|
|
|
%{_kf5_dbusinterfacesdir}/org.kde.kded5.xml
|
|
|
|
|
|
|
|
%changelog
|