- updated to 5.94.0
[packages/kf5-kactivities.git] / kf5-kactivities.spec
CommitLineData
ba3ac27d
WF
1#
2# Conditional build:
3%bcond_with tests # build with tests
266c283c 4# TODO:
266c283c 5# Conflict /usr/bin/kactivitymanagerd
8d799c28 6%define kdeframever 5.94
61aba0d7 7%define qtver 5.9.0
233848f7 8%define kfname kactivities
266c283c
WF
9
10Summary: Core components for the KDE's Activities Activity Manager
233848f7 11Name: kf5-%{kfname}
8d799c28 12Version: 5.94.0
6f588fdd 13Release: 1
266c283c
WF
14License: LGPL v2.1+
15Group: X11/Libraries
e9cea713 16Source0: https://download.kde.org/stable/frameworks/%{kdeframever}/%{kfname}-%{version}.tar.xz
8d799c28 17# Source0-md5: 21e2b0a1a22a23b10396c8eed8c31b00
266c283c 18URL: http://www.kde.org/
233848f7
AM
19BuildRequires: Qt5Core-devel >= %{qtver}
20BuildRequires: Qt5DBus-devel >= %{qtver}
21BuildRequires: Qt5Gui-devel >= %{qtver}
22BuildRequires: Qt5Network-devel >= %{qtver}
23BuildRequires: Qt5Qml-devel >= %{qtver}
24BuildRequires: Qt5Sql-devel >= %{qtver}
25BuildRequires: Qt5Test-devel >= %{qtver}
26BuildRequires: Qt5Widgets-devel >= %{qtver}
27BuildRequires: Qt5Xml-devel >= %{qtver}
266c283c
WF
28BuildRequires: boost-devel
29BuildRequires: cmake >= 2.8.12
30BuildRequires: gettext-devel
31BuildRequires: kf5-attica-devel >= %{version}
d506af21 32BuildRequires: kf5-extra-cmake-modules >= %{version}
266c283c
WF
33BuildRequires: kf5-kauth-devel >= %{version}
34BuildRequires: kf5-kbookmarks-devel >= %{version}
233848f7 35BuildRequires: kf5-kcmutils-devel >= %{version}
266c283c
WF
36BuildRequires: kf5-kcodecs-devel >= %{version}
37BuildRequires: kf5-kcompletion-devel >= %{version}
38BuildRequires: kf5-kconfig-devel >= %{version}
39BuildRequires: kf5-kconfigwidgets-devel >= %{version}
40BuildRequires: kf5-kcoreaddons-devel >= %{version}
41BuildRequires: kf5-kdbusaddons-devel >= %{version}
233848f7 42BuildRequires: kf5-kdeclarative-devel >= %{version}
266c283c
WF
43BuildRequires: kf5-kglobalaccel-devel >= %{version}
44BuildRequires: kf5-kguiaddons-devel >= %{version}
45BuildRequires: kf5-ki18n-devel >= %{version}
46BuildRequires: kf5-kiconthemes-devel >= %{version}
47BuildRequires: kf5-kio-devel >= %{version}
48BuildRequires: kf5-kitemviews-devel >= %{version}
49BuildRequires: kf5-kjobwidgets-devel >= %{version}
50BuildRequires: kf5-kservice-devel >= %{version}
51BuildRequires: kf5-ktextwidgets-devel >= %{version}
52BuildRequires: kf5-kwidgetsaddons-devel >= %{version}
53BuildRequires: kf5-kwindowsystem-devel >= %{version}
54BuildRequires: kf5-kxmlgui-devel >= %{version}
55BuildRequires: kf5-solid-devel >= %{version}
56BuildRequires: kf5-sonnet-devel >= %{version}
ff39fabf 57BuildRequires: ninja
266c283c 58BuildRequires: rpmbuild(macros) >= 1.164
260e88f0
ER
59BuildRequires: tar >= 1:1.22
60BuildRequires: xz
d76fe027 61Requires: kf5-dirs
266c283c
WF
62BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
63
64%define qt5dir %{_libdir}/qt5
65
66%description
67System service to manage user's activities, track the usage patterns
68etc. KActivities library API for using and interacting with the
69Activity Manager as a consumer, application adding information to them
70or as an activity manager. Workspace Plugins for KDE workspace to
71easier integrate activities (KIO, etc.)
72
73%package devel
233848f7
AM
74Summary: Header files for %{kfname} development
75Summary(pl.UTF-8): Pliki nagłówkowe dla programistów używających %{kfname}
266c283c
WF
76Group: X11/Development/Libraries
77Requires: %{name} = %{version}-%{release}
78
79%description devel
233848f7 80Header files for %{kfname} development.
266c283c
WF
81
82%description devel -l pl.UTF-8
233848f7 83Pliki nagłówkowe dla programistów używających %{kfname}.
266c283c
WF
84
85%prep
233848f7 86%setup -q -n %{kfname}-%{version}
266c283c
WF
87
88%build
89install -d build
90cd build
ff39fabf 91%cmake -G Ninja \
ba3ac27d 92 %{!?with_tests:-DBUILD_TESTING=OFF} \
233848f7 93 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
266c283c 94 ../
ff39fabf 95%ninja_build
266c283c 96
ba3ac27d
WF
97%if %{with tests}
98ctest
99%endif
100
101
266c283c
WF
102%install
103rm -rf $RPM_BUILD_ROOT
ff39fabf 104%ninja_install -C build
266c283c 105
266c283c
WF
106%clean
107rm -rf $RPM_BUILD_ROOT
108
109%post -p /sbin/ldconfig
110%postun -p /sbin/ldconfig
111
d76fe027 112%files
266c283c
WF
113%defattr(644,root,root,755)
114%doc README.md
c08377b2 115%{_datadir}/qlogging-categories5/kactivities.categories
bd4123ac 116%attr(755,root,root) %{_bindir}/kactivities-cli
fe0b3e36 117%ghost %{_libdir}/libKF5Activities.so.5
6f588fdd 118%attr(755,root,root) %{_libdir}/libKF5Activities.so.*.*
233848f7 119%dir %{qt5dir}/qml/org/kde/activities
266c283c 120%{qt5dir}/qml/org/kde/activities/qmldir
233848f7 121%attr(755,root,root) %{qt5dir}/qml/org/kde/activities/libkactivitiesextensionplugin.so
4f102e57 122%{_datadir}/qlogging-categories5/kactivities.renamecategories
266c283c
WF
123
124%files devel
125%defattr(644,root,root,755)
126%{_includedir}/KF5/KActivities
266c283c 127%{_libdir}/cmake/KF5Activities
fe0b3e36 128%{_libdir}/libKF5Activities.so
266c283c
WF
129%{_pkgconfigdir}/libKActivities.pc
130%{qt5dir}/mkspecs/modules/qt_KActivities.pri
This page took 0.130522 seconds and 5 git commands to generate.