- updated to 5.95.0
[packages/kf5-kactivities.git] / kf5-kactivities.spec
... / ...
CommitLineData
1#
2# Conditional build:
3%bcond_with tests # build with tests
4# TODO:
5# Conflict /usr/bin/kactivitymanagerd
6%define kdeframever 5.95
7%define qtver 5.9.0
8%define kfname kactivities
9
10Summary: Core components for the KDE's Activities Activity Manager
11Name: kf5-%{kfname}
12Version: 5.95.0
13Release: 1
14License: LGPL v2.1+
15Group: X11/Libraries
16Source0: https://download.kde.org/stable/frameworks/%{kdeframever}/%{kfname}-%{version}.tar.xz
17# Source0-md5: b7da1da53e7530108398673c37116510
18URL: http://www.kde.org/
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}
28BuildRequires: boost-devel
29BuildRequires: cmake >= 2.8.12
30BuildRequires: gettext-devel
31BuildRequires: kf5-attica-devel >= %{version}
32BuildRequires: kf5-extra-cmake-modules >= %{version}
33BuildRequires: kf5-kauth-devel >= %{version}
34BuildRequires: kf5-kbookmarks-devel >= %{version}
35BuildRequires: kf5-kcmutils-devel >= %{version}
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}
42BuildRequires: kf5-kdeclarative-devel >= %{version}
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}
57BuildRequires: ninja
58BuildRequires: rpmbuild(macros) >= 1.164
59BuildRequires: tar >= 1:1.22
60BuildRequires: xz
61Requires: kf5-dirs
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
74Summary: Header files for %{kfname} development
75Summary(pl.UTF-8): Pliki nagłówkowe dla programistów używających %{kfname}
76Group: X11/Development/Libraries
77Requires: %{name} = %{version}-%{release}
78
79%description devel
80Header files for %{kfname} development.
81
82%description devel -l pl.UTF-8
83Pliki nagłówkowe dla programistów używających %{kfname}.
84
85%prep
86%setup -q -n %{kfname}-%{version}
87
88%build
89install -d build
90cd build
91%cmake -G Ninja \
92 %{!?with_tests:-DBUILD_TESTING=OFF} \
93 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
94 ../
95%ninja_build
96
97%if %{with tests}
98ctest
99%endif
100
101
102%install
103rm -rf $RPM_BUILD_ROOT
104%ninja_install -C build
105
106%clean
107rm -rf $RPM_BUILD_ROOT
108
109%post -p /sbin/ldconfig
110%postun -p /sbin/ldconfig
111
112%files
113%defattr(644,root,root,755)
114%doc README.md
115%{_datadir}/qlogging-categories5/kactivities.categories
116%attr(755,root,root) %{_bindir}/kactivities-cli
117%ghost %{_libdir}/libKF5Activities.so.5
118%attr(755,root,root) %{_libdir}/libKF5Activities.so.*.*
119%dir %{qt5dir}/qml/org/kde/activities
120%{qt5dir}/qml/org/kde/activities/qmldir
121%attr(755,root,root) %{qt5dir}/qml/org/kde/activities/libkactivitiesextensionplugin.so
122%{_datadir}/qlogging-categories5/kactivities.renamecategories
123
124%files devel
125%defattr(644,root,root,755)
126%{_includedir}/KF5/KActivities
127%{_libdir}/cmake/KF5Activities
128%{_libdir}/libKF5Activities.so
129%{_pkgconfigdir}/libKActivities.pc
130%{qt5dir}/mkspecs/modules/qt_KActivities.pri
This page took 0.067985 seconds and 5 git commands to generate.