2014-02-10 21:51:11 +00:00
|
|
|
#
|
2014-02-10 22:01:41 +00:00
|
|
|
# spec file for package kactivities5
|
2014-02-10 21:51:11 +00:00
|
|
|
#
|
2017-01-08 23:37:52 +00:00
|
|
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
2014-02-10 21:51:11 +00: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/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2014-03-02 12:29:39 +00:00
|
|
|
%define lname libKF5Activities5
|
2017-03-19 14:02:52 +00:00
|
|
|
%define _tar_path 5.32
|
2014-02-10 21:51:11 +00:00
|
|
|
Name: kactivities5
|
2017-03-19 14:02:52 +00:00
|
|
|
Version: 5.32.0
|
2014-02-10 21:51:11 +00:00
|
|
|
Release: 0
|
2014-07-11 09:30:27 +00:00
|
|
|
%define kf5_version %{version}
|
2014-02-10 21:51:11 +00:00
|
|
|
Summary: KDE Plasma Activities support
|
2014-05-13 18:50:29 +00:00
|
|
|
License: GPL-2.0+
|
2014-02-10 21:51:11 +00:00
|
|
|
Group: System/GUI/KDE
|
2014-02-10 22:01:41 +00:00
|
|
|
Url: http://projects.kde.org/kactivities
|
2015-02-11 19:50:45 +00:00
|
|
|
Source: http://download.kde.org/stable/frameworks/%{_tar_path}/kactivities-%{version}.tar.xz
|
2014-06-03 19:22:00 +00:00
|
|
|
Source1: baselibs.conf
|
2017-02-03 18:46:49 +00:00
|
|
|
%if 0%{?suse_version} > 1325
|
|
|
|
BuildRequires: libboost_headers-devel
|
|
|
|
%else
|
2016-03-06 09:54:30 +00:00
|
|
|
BuildRequires: boost-devel
|
2017-02-03 18:46:49 +00:00
|
|
|
%endif
|
2017-01-08 23:37:52 +00:00
|
|
|
BuildRequires: cmake >= 3.0
|
2015-04-10 16:27:31 +00:00
|
|
|
BuildRequires: extra-cmake-modules >= %{_tar_path}
|
2014-02-10 21:51:11 +00:00
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: kf5-filesystem
|
|
|
|
BuildRequires: xz
|
2016-03-06 09:54:30 +00:00
|
|
|
BuildRequires: cmake(KF5Config) >= %{_tar_path}
|
|
|
|
BuildRequires: cmake(KF5CoreAddons) >= %{_tar_path}
|
|
|
|
BuildRequires: cmake(KF5KIO) >= %{_tar_path}
|
|
|
|
BuildRequires: cmake(KF5WindowSystem) >= %{_tar_path}
|
2017-02-09 09:23:26 +00:00
|
|
|
BuildRequires: cmake(Qt5Core) >= 5.6.0
|
|
|
|
BuildRequires: cmake(Qt5DBus) >= 5.6.0
|
|
|
|
BuildRequires: cmake(Qt5Gui) >= 5.6.0
|
|
|
|
BuildRequires: cmake(Qt5Qml) >= 5.6.0
|
|
|
|
BuildRequires: cmake(Qt5Quick) >= 5.6.0
|
|
|
|
BuildRequires: cmake(Qt5Sql) >= 5.6.0
|
|
|
|
BuildRequires: cmake(Qt5Test) >= 5.6.0
|
2014-02-10 21:51:11 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
Kactivities provides an API for using and interacting with the Plasma Activities Manager.
|
|
|
|
|
2016-08-07 21:50:15 +00:00
|
|
|
%package tools
|
|
|
|
Summary: Command-line tools for Plasma Activity management
|
|
|
|
Group: System/GUI/KDE
|
|
|
|
Requires: %lname = %{version}
|
|
|
|
|
|
|
|
%description tools
|
|
|
|
This package provides command-line tools to manipulate Plasma Activities.
|
|
|
|
|
2014-02-10 21:51:11 +00:00
|
|
|
%package -n %lname
|
|
|
|
Summary: Library for KDE's Plasma Activities support
|
|
|
|
Group: System/GUI/KDE
|
|
|
|
|
|
|
|
%description -n %lname
|
|
|
|
Kactivities provides an API for using and interacting with the Plasma Activities Manager.
|
|
|
|
|
2014-07-28 17:30:01 +00:00
|
|
|
%package imports
|
|
|
|
Summary: KDE Plasma Activities support
|
|
|
|
Group: System/GUI/KDE
|
|
|
|
|
|
|
|
%description imports
|
|
|
|
Kactivities provides an API for using and interacting with the Plasma Activities Manager.
|
|
|
|
QML imports.
|
|
|
|
|
2014-02-10 21:51:11 +00:00
|
|
|
%package devel
|
2014-07-28 17:30:01 +00:00
|
|
|
Summary: KDE Plasma Activities support
|
2014-02-10 22:01:41 +00:00
|
|
|
Group: Development/Libraries/KDE
|
2014-02-10 21:51:11 +00:00
|
|
|
Requires: %lname = %{version}
|
2015-02-08 19:09:25 +00:00
|
|
|
Requires: extra-cmake-modules >= 1.7.0
|
2017-02-09 09:23:26 +00:00
|
|
|
Requires: cmake(Qt5Core) >= 5.6.0
|
2014-02-10 21:51:11 +00:00
|
|
|
|
|
|
|
%description devel
|
2014-07-28 17:30:01 +00:00
|
|
|
Kactivities provides an API for using and interacting with the Plasma Activities Manager.
|
|
|
|
Development files.
|
2014-02-10 21:51:11 +00:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n kactivities-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
%cmake_kf5 -d build
|
|
|
|
%make_jobs
|
|
|
|
|
|
|
|
%install
|
|
|
|
%kf5_makeinstall -C build
|
2015-04-10 16:47:44 +00:00
|
|
|
%fdupes %{buildroot}
|
2014-02-10 21:51:11 +00:00
|
|
|
|
|
|
|
%post -n %lname -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n %lname -p /sbin/ldconfig
|
|
|
|
|
2016-08-07 21:50:15 +00:00
|
|
|
%files tools
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_bindir}/kactivities-cli
|
|
|
|
|
2016-03-06 09:54:30 +00:00
|
|
|
%files -n %lname
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_kf5_libdir}/libKF5Activities.so.*
|
2014-02-10 21:51:11 +00:00
|
|
|
|
2014-07-28 17:30:01 +00:00
|
|
|
%files imports
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_kf5_qmldir}/
|
|
|
|
|
2014-02-10 21:51:11 +00:00
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_kf5_libdir}/libKF5Activities.so
|
|
|
|
%{_kf5_libdir}/cmake/KF5Activities/
|
|
|
|
%dir %{_kf5_includedir}/*/
|
|
|
|
%{_kf5_includedir}/*/
|
|
|
|
%{_kf5_includedir}/*.h
|
|
|
|
%{_kf5_libdir}/pkgconfig/libKActivities.pc
|
2014-05-05 02:19:07 +00:00
|
|
|
%{_kf5_mkspecsdir}/qt_KActivities.pri
|
2014-02-10 21:51:11 +00:00
|
|
|
|
|
|
|
%changelog
|