SHA256
1
0
forked from pool/kactivities5
Hrvoje Senjan 2016-03-06 09:54:30 +00:00 committed by Git OBS Bridge
parent fc8555dd0f
commit bf2da45a63
4 changed files with 20 additions and 46 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:43cff33c5c4a232206bf6ffdaa1ea3f50e40339e4568a7376992fc61970eb47a
size 151552

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5b0a664f77749c441d61417f9dce5cb8a11668f7e7db1a7613378f555dac3795
size 67280

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Sun Mar 6 09:54:26 UTC 2016 - hrvoje.senjan@gmail.com
- Update to 5.20.0
* For more details please see:
https://www.kde.org/announcements/kde-frameworks-5.20.0.php
-------------------------------------------------------------------
Sun Feb 7 05:32:00 UTC 2016 - wbauer@tmo.at

View File

@ -18,9 +18,9 @@
%bcond_without lang
%define lname libKF5Activities5
%define _tar_path 5.19
%define _tar_path 5.20
Name: kactivities5
Version: 5.19.0
Version: 5.20.0
Release: 0
%define kf5_version %{version}
Summary: KDE Plasma Activities support
@ -29,25 +29,16 @@ Group: System/GUI/KDE
Url: http://projects.kde.org/kactivities
Source: http://download.kde.org/stable/frameworks/%{_tar_path}/kactivities-%{version}.tar.xz
Source1: baselibs.conf
# PATCH-FIX-UPSTREAM fix-crash-in-activities-context-menu.patch boo#952139, kde#351485 -- fixes a dolphin and desktop crash when right-clicking on a file and opening the "Activities" submenu
Patch: fix-crash-in-activities-context-menu.patch
BuildRequires: boost-devel >= 1.49.0
BuildRequires: boost-devel
BuildRequires: cmake >= 2.8.12
BuildRequires: extra-cmake-modules >= %{_tar_path}
BuildRequires: fdupes
BuildRequires: kcmutils-devel >= %{_tar_path}
BuildRequires: kconfig-devel >= %{_tar_path}
BuildRequires: kcoreaddons-devel >= %{_tar_path}
BuildRequires: kdbusaddons-devel >= %{_tar_path}
BuildRequires: kdeclarative-devel >= %{_tar_path}
BuildRequires: kf5-filesystem
BuildRequires: kglobalaccel-devel >= %{_tar_path}
BuildRequires: ki18n-devel >= %{_tar_path}
BuildRequires: kio-devel >= %{_tar_path}
BuildRequires: kservice-devel >= %{_tar_path}
BuildRequires: kwindowsystem-devel >= %{_tar_path}
BuildRequires: kxmlgui-devel >= %{_tar_path}
BuildRequires: xz
BuildRequires: cmake(KF5Config) >= %{_tar_path}
BuildRequires: cmake(KF5CoreAddons) >= %{_tar_path}
BuildRequires: cmake(KF5KIO) >= %{_tar_path}
BuildRequires: cmake(KF5WindowSystem) >= %{_tar_path}
BuildRequires: cmake(Qt5Core) >= 5.3.0
BuildRequires: cmake(Qt5DBus) >= 5.3.0
BuildRequires: cmake(Qt5Gui) >= 5.3.0
@ -55,12 +46,6 @@ BuildRequires: cmake(Qt5Qml) >= 5.3.0
BuildRequires: cmake(Qt5Quick) >= 5.3.0
BuildRequires: cmake(Qt5Sql) >= 5.3.0
BuildRequires: cmake(Qt5Test) >= 5.3.0
BuildRequires: cmake(Qt5Widgets) >= 5.3.0
Recommends: %{name}-imports = %{version}
# for kactivitymanagerd_plugin_sqlite.so
Recommends: libQt5Sql5-sqlite
Provides: kactivities4 = %{version}
Obsoletes: kactivities4 < %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -98,14 +83,9 @@ Development files.
%lang_package -n %lname
%prep
%setup -q -n kactivities-%{version}
%patch -p1
%build
%if 0%{?suse_version} == 1310
%cmake_kf5 -d build -- -DKACTIVITIES_ENABLE_EXCEPTIONS=ON
%else
%cmake_kf5 -d build
%endif
%make_jobs
%install
@ -120,31 +100,18 @@ Development files.
%postun -n %lname -p /sbin/ldconfig
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%if %{with lang}
%files -n %lname-lang -f %{name}.lang
%endif
%files
%defattr(-,root,root)
%{_kf5_bindir}/kactivitymanagerd
%{_kf5_libdir}/libkactivitymanagerd_plugin.so
%{_kf5_plugindir}/
%{_kf5_servicesdir}/
%{_kf5_servicetypesdir}/
%{_kf5_datadir}/
%files -n %lname
%defattr(-,root,root,-)
%{_kf5_libdir}/libKF5Activities.so.*
%files imports
%defattr(-,root,root)
%{_kf5_qmldir}/
%files -n %lname
%defattr(-,root,root,-)
%{_kf5_libdir}/libKF5Activities.so.*
%files devel
%defattr(-,root,root)
%{_kf5_libdir}/libKF5Activities.so