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