You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
88 lines
2.4 KiB
88 lines
2.4 KiB
9 years ago
|
Name: kactivitymanagerd
|
||
|
Summary: Plasma service to manage user's activities
|
||
|
Version: 5.5.0
|
||
|
Release: 1%{?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}/kactivities/%{name}-%{version}.tar.xz
|
||
|
#Source0: http://download.kde.org/%{stable}/plasma/%{version}/%{name}-%{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}
|
||
|
|
||
|
%description
|
||
|
%{summary}.
|
||
|
|
||
|
|
||
|
%prep
|
||
|
%setup -q -n %{name}-%{version}
|
||
|
|
||
|
|
||
|
%build
|
||
|
mkdir %{_target_platform}
|
||
|
pushd %{_target_platform}
|
||
|
%{cmake_kf5} ..
|
||
|
popd
|
||
|
|
||
|
make %{?_smp_mflags} -C %{_target_platform}
|
||
|
|
||
|
|
||
|
%install
|
||
|
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
||
|
%find_lang kactivities5 --with-qt
|
||
|
|
||
|
|
||
|
%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
|
||
|
|
||
|
|
||
|
%changelog
|
||
|
* 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
|