- up to 5.4.0
[packages/kf5-kactivities.git] / kf5-kactivities.spec
CommitLineData
266c283c
WF
1# TODO:
2# - dir /usr/include/KF5 not packaged
3# /usr/share/kf5 not packaged
4# Conflict /usr/bin/kactivitymanagerd
233848f7
AM
5%define kdeframever 5.4
6%define qtver 5.3.2
7%define kfname kactivities
266c283c
WF
8
9Summary: Core components for the KDE's Activities Activity Manager
233848f7
AM
10Name: kf5-%{kfname}
11Version: 5.4.0
266c283c
WF
12Release: 0.1
13License: LGPL v2.1+
14Group: X11/Libraries
233848f7
AM
15Source0: http://download.kde.org/stable/frameworks/%{kdeframever}/%{kfname}-%{version}.tar.xz
16# Source0-md5: b2f1c2952a94a5fe2dfd27e93dcf725c
266c283c 17URL: http://www.kde.org/
233848f7
AM
18BuildRequires: Qt5Core-devel >= %{qtver}
19BuildRequires: Qt5DBus-devel >= %{qtver}
20BuildRequires: Qt5Gui-devel >= %{qtver}
21BuildRequires: Qt5Network-devel >= %{qtver}
22BuildRequires: Qt5Qml-devel >= %{qtver}
23BuildRequires: Qt5Sql-devel >= %{qtver}
24BuildRequires: Qt5Test-devel >= %{qtver}
25BuildRequires: Qt5Widgets-devel >= %{qtver}
26BuildRequires: Qt5Xml-devel >= %{qtver}
266c283c
WF
27BuildRequires: boost-devel
28BuildRequires: cmake >= 2.8.12
29BuildRequires: gettext-devel
30BuildRequires: kf5-attica-devel >= %{version}
233848f7 31BuildRequires: kf5-extra-cmake-modules >= 1.4.0
266c283c
WF
32BuildRequires: kf5-kauth-devel >= %{version}
33BuildRequires: kf5-kbookmarks-devel >= %{version}
233848f7 34BuildRequires: kf5-kcmutils-devel >= %{version}
266c283c
WF
35BuildRequires: kf5-kcodecs-devel >= %{version}
36BuildRequires: kf5-kcompletion-devel >= %{version}
37BuildRequires: kf5-kconfig-devel >= %{version}
38BuildRequires: kf5-kconfigwidgets-devel >= %{version}
39BuildRequires: kf5-kcoreaddons-devel >= %{version}
40BuildRequires: kf5-kdbusaddons-devel >= %{version}
233848f7 41BuildRequires: kf5-kdeclarative-devel >= %{version}
266c283c
WF
42BuildRequires: kf5-kglobalaccel-devel >= %{version}
43BuildRequires: kf5-kguiaddons-devel >= %{version}
44BuildRequires: kf5-ki18n-devel >= %{version}
45BuildRequires: kf5-kiconthemes-devel >= %{version}
46BuildRequires: kf5-kio-devel >= %{version}
47BuildRequires: kf5-kitemviews-devel >= %{version}
48BuildRequires: kf5-kjobwidgets-devel >= %{version}
49BuildRequires: kf5-kservice-devel >= %{version}
50BuildRequires: kf5-ktextwidgets-devel >= %{version}
51BuildRequires: kf5-kwidgetsaddons-devel >= %{version}
52BuildRequires: kf5-kwindowsystem-devel >= %{version}
53BuildRequires: kf5-kxmlgui-devel >= %{version}
54BuildRequires: kf5-solid-devel >= %{version}
55BuildRequires: kf5-sonnet-devel >= %{version}
56BuildRequires: rpmbuild(macros) >= 1.164
260e88f0
ER
57BuildRequires: tar >= 1:1.22
58BuildRequires: xz
266c283c
WF
59BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
60
61%define qt5dir %{_libdir}/qt5
62
63%description
64System service to manage user's activities, track the usage patterns
65etc. KActivities library API for using and interacting with the
66Activity Manager as a consumer, application adding information to them
67or as an activity manager. Workspace Plugins for KDE workspace to
68easier integrate activities (KIO, etc.)
69
70%package devel
233848f7
AM
71Summary: Header files for %{kfname} development
72Summary(pl.UTF-8): Pliki nagłówkowe dla programistów używających %{kfname}
266c283c
WF
73Group: X11/Development/Libraries
74Requires: %{name} = %{version}-%{release}
75
76%description devel
233848f7 77Header files for %{kfname} development.
266c283c
WF
78
79%description devel -l pl.UTF-8
233848f7 80Pliki nagłówkowe dla programistów używających %{kfname}.
266c283c
WF
81
82%prep
233848f7 83%setup -q -n %{kfname}-%{version}
266c283c
WF
84
85%build
86install -d build
87cd build
88%cmake \
233848f7 89 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
266c283c
WF
90 ../
91%{__make}
92
93%install
94rm -rf $RPM_BUILD_ROOT
95
96%{__make} -C build/ install \
97 DESTDIR=$RPM_BUILD_ROOT
98
233848f7 99%find_lang %{kfname}5
266c283c
WF
100
101%clean
102rm -rf $RPM_BUILD_ROOT
103
104%post -p /sbin/ldconfig
105%postun -p /sbin/ldconfig
106
233848f7 107%files -f %{kfname}5.lang
266c283c
WF
108%defattr(644,root,root,755)
109%doc README.md
110%attr(755,root,root) %{_bindir}/kactivitymanagerd
111%attr(755,root,root) %ghost %{_libdir}/libKF5Activities.so.5
233848f7
AM
112%attr(755,root,root) %{_libdir}/libKF5Activities.so.5.4.0
113%attr(755,root,root) %{qt5dir}/plugins/kactivitymanagerd_fileitem_linking_plugin.so
114%dir %attr(755,root,root) %{qt5dir}/plugins/kactivitymanagerd
266c283c 115%attr(755,root,root) %{qt5dir}/plugins/kactivitymanagerd/kactivitymanagerd_plugin_activitytemplates.so
233848f7 116%attr(755,root,root) %{qt5dir}/plugins/kactivitymanagerd/kactivitymanagerd_plugin_globalshortcuts.so
266c283c
WF
117%attr(755,root,root) %{qt5dir}/plugins/kactivitymanagerd/kactivitymanagerd_plugin_slc.so
118%attr(755,root,root) %{qt5dir}/plugins/kactivitymanagerd/kactivitymanagerd_plugin_sqlite.so
233848f7
AM
119%attr(755,root,root) %{qt5dir}/plugins/kactivitymanagerd/kactivitymanagerd_plugin_virtualdesktopswitch.so
120%attr(755,root,root) %{qt5dir}/plugins/kcm_activities.so
121%attr(755,root,root) %{qt5dir}/plugins/kio_activities.so
122%dir %{qt5dir}/qml/org/kde/activities
266c283c 123%{qt5dir}/qml/org/kde/activities/qmldir
233848f7
AM
124%attr(755,root,root) %{qt5dir}/qml/org/kde/activities/libkactivitiesextensionplugin.so
125%dir %{_datadir}/kf5/kactivitymanagerd
126%dir %{_datadir}/kf5/kactivitymanagerd/workspace
127%dir %{_datadir}/kf5/kactivitymanagerd/workspace/settings
128%{_datadir}/kf5/kactivitymanagerd/workspace/settings/BlacklistApplicationView.qml
129%{_datadir}/kservices5/activities.protocol
266c283c 130%{_datadir}/kservices5/kactivitymanagerd.desktop
233848f7
AM
131%{_datadir}/kservices5/kactivitymanagerd_fileitem_linking_plugin.desktop
132%{_datadir}/kservices5/kactivitymanagerd-plugin-activitytemplates.desktop
133%{_datadir}/kservices5/kactivitymanagerd-plugin-globalshortcuts.desktop
134%{_datadir}/kservices5/kactivitymanagerd-plugin-slc.desktop
135%{_datadir}/kservices5/kactivitymanagerd-plugin-sqlite.desktop
136%{_datadir}/kservices5/kactivitymanagerd-plugin-virtualdesktopswitch.desktop
137%{_datadir}/kservices5/kcm_activities.desktop
266c283c
WF
138%{_datadir}/kservicetypes5/kactivitymanagerd-plugin.desktop
139
140%files devel
141%defattr(644,root,root,755)
142%{_includedir}/KF5/KActivities
143%{_includedir}/KF5/kactivities_version.h
144%{_libdir}/cmake/KF5Activities
145%attr(755,root,root) %{_libdir}/libKF5Activities.so
146%{_pkgconfigdir}/libKActivities.pc
147%{qt5dir}/mkspecs/modules/qt_KActivities.pri
This page took 0.176641 seconds and 4 git commands to generate.