|
|
|
Name: kactivitymanagerd
|
|
|
|
Summary: Plasma service to manage user's activities
|
|
|
|
Version: 5.5.0
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
|
|
|
License: GPLv2+
|
|
|
|
URL: https://projects.kde.org/projects/kde/workspace/%{name}
|
|
|
|
|
|
|
|
%global revision %(echo %{version} | cut -d. -f3)
|
|
|
|
%if %{revision} >= 50
|
|
|
|
%global stable unstable
|
|
|
|
%else
|
|
|
|
%global stable stable
|
|
|
|
%endif
|
|
|
|
#Source0: http://download.kde.org/%{stable}/plasma/%{version}/%{name}-%{version}.tar.xz
|
|
|
|
Source0: http://download.kde.org/%{stable}/kactivities/%{name}-%{version}.tar.xz
|
|
|
|
Source1: http://download.kde.org/stable/kactivities/kactivities-workspace-%{version}.tar.xz
|
|
|
|
|
|
|
|
BuildRequires: kf5-rpm-macros
|
|
|
|
BuildRequires: extra-cmake-modules
|
|
|
|
BuildRequires: cmake(Qt5Core)
|
|
|
|
BuildRequires: cmake(Qt5DBus)
|
|
|
|
|
|
|
|
BuildRequires: cmake(KF5CoreAddons)
|
|
|
|
BuildRequires: cmake(KF5Config)
|
|
|
|
BuildRequires: cmake(KF5WindowSystem)
|
|
|
|
BuildRequires: cmake(KF5GlobalAccel)
|
|
|
|
BuildRequires: cmake(KF5XmlGui)
|
|
|
|
BuildRequires: cmake(KF5KIO)
|
|
|
|
BuildRequires: cmake(KF5DBusAddons)
|
|
|
|
BuildRequires: cmake(KF5I18n)
|
|
|
|
|
|
|
|
BuildRequires: boost-devel
|
|
|
|
|
|
|
|
# The kactivitymanagerd was split from KActivities in KF5 5.21,
|
|
|
|
# but thanks to our clever packaging kf5-kactivities package
|
|
|
|
# already contained only the kactivitymanagerd files
|
|
|
|
Obsoletes: kf5-kactivities < 5.21.0
|
|
|
|
Provides: kf5-kactivities = 1:%{version}-%{release}
|
|
|
|
|
|
|
|
# older ones (previously in kf5-kactivities)
|
|
|
|
Obsoletes: kactivities < 4.90.0
|
|
|
|
Provides: kactivities%{?_isa} = %{version}-%{release}
|
|
|
|
Provides: kactivities = %{version}-%{release}
|
|
|
|
|
|
|
|
## TEMPORARY, remove when 5.6 lands
|
|
|
|
Requires: kactivities-workspace = %{version}-%{release}
|
|
|
|
|
|
|
|
%description
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
## TEMPORARY, will (should-be) Obsoletes/Provides'd by plasma-desktop-5.6.x
|
|
|
|
%package -n kactivities-workspace
|
|
|
|
Summary: Kactivities workspace components
|
|
|
|
BuildRequires: cmake(KF5Activities)
|
|
|
|
BuildRequires: cmake(KF5Declarative)
|
|
|
|
BuildRequires: cmake(KF5KCMUtils)
|
|
|
|
# upgrade path
|
|
|
|
Obsoletes: kf5-kactivities < 5.21.0
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
%description -n kactivities-workspace
|
|
|
|
%{summary}, including: kcm, kio, qml components.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{name}-%{version} -a1
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
mkdir %{_target_platform}
|
|
|
|
pushd %{_target_platform}
|
|
|
|
%{cmake_kf5} ..
|
|
|
|
popd
|
|
|
|
|
|
|
|
make %{?_smp_mflags} -C %{_target_platform}
|
|
|
|
|
|
|
|
mkdir kactivities-workspace-%{version}/%{_target_platform}
|
|
|
|
pushd kactivities-workspace-%{version}/%{_target_platform}
|
|
|
|
%{cmake_kf5} ..
|
|
|
|
popd
|
|
|
|
make %{?_smp_mflags} -C kactivities-workspace-%{version}/%{_target_platform}
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
|
|
|
make install/fast DESTDIR=%{buildroot} -C kactivities-workspace-%{version}/%{_target_platform}
|
|
|
|
|
|
|
|
%find_lang kactivities5 --with-qt
|
|
|
|
|
|
|
|
# unpackaged files
|
|
|
|
rm -fv %{buildroot}%{_kf5_qmldir}/org/kde/activities/{libkactivitiesextensionplugin.so,qmldir}
|
|
|
|
|
|
|
|
|
|
|
|
%files -f kactivities5.lang
|
|
|
|
%license COPYING*
|
|
|
|
%doc README.md
|
|
|
|
%{_kf5_bindir}/kactivitymanagerd
|
|
|
|
%{_kf5_libdir}/libkactivitymanagerd_plugin.so
|
|
|
|
%{_kf5_qtplugindir}/kactivitymanagerd/
|
|
|
|
%{_kf5_datadir}/kservices5/kactivitymanagerd.desktop
|
|
|
|
%{_kf5_datadir}/kservicetypes5/kactivitymanagerd-plugin.desktop
|
|
|
|
|
|
|
|
%files -n kactivities-workspace
|
|
|
|
%{_kf5_qtplugindir}/kactivitymanagerd_fileitem_linking_plugin.so
|
|
|
|
%{_kf5_qtplugindir}/kcm_activities.so
|
|
|
|
%{_kf5_qtplugindir}/kio_activities.so
|
|
|
|
%{_kf5_qmldir}/org/kde/activities/settings/
|
|
|
|
%{_kf5_datadir}/kf5/kactivitymanagerd/
|
|
|
|
%{_kf5_datadir}/kservices5/activities.protocol
|
|
|
|
%{_kf5_datadir}/kservices5/kactivitymanagerd_fileitem_linking_plugin.desktop
|
|
|
|
%{_kf5_datadir}/kservices5/kcm_activities.desktop
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
* Sun Apr 03 2016 Rex Dieter <rdieter@fedoraprojecr.org> 5.5.0-2
|
|
|
|
- kactivities-workspace subpkg
|
|
|
|
|
|
|
|
* Fri Mar 25 2016 Rex Dieter <rdieter@fedoraproject.org> 5.5.0-1
|
|
|
|
- import 5.5.0 (until plasma-5.6 lands)
|
|
|
|
- safer Obsoletes/Provides: kf5-kactivities
|
|
|
|
- Obsoletes/Provides: kactivities (previously in kf5-kactivities)
|
|
|
|
|
|
|
|
* Sun Mar 20 2016 Daniel Vrátil <dvratil@fedoraproject.org> - 5.6.0-1
|
|
|
|
- Plasma 5.6.0
|
|
|
|
|
|
|
|
* Sat Mar 05 2016 Daniel Vrátil <dvratil@fedoraproject.org> - 5.5.95-1
|
|
|
|
- Initial version
|