- updated to 5.53.0
[packages/kf5-kactivities.git] / kf5-kactivities.spec
CommitLineData
266c283c 1# TODO:
266c283c 2# Conflict /usr/bin/kactivitymanagerd
61aba0d7
WF
3%define kdeframever 5.53
4%define qtver 5.9.0
233848f7 5%define kfname kactivities
266c283c
WF
6
7Summary: Core components for the KDE's Activities Activity Manager
233848f7 8Name: kf5-%{kfname}
61aba0d7 9Version: 5.53.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
61aba0d7 14# Source0-md5: c05f22156c27da1ad2f7d2d07026b2e8
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
d76fe027 57Requires: kf5-dirs
266c283c
WF
58BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
59
60%define qt5dir %{_libdir}/qt5
61
62%description
63System service to manage user's activities, track the usage patterns
64etc. KActivities library API for using and interacting with the
65Activity Manager as a consumer, application adding information to them
66or as an activity manager. Workspace Plugins for KDE workspace to
67easier integrate activities (KIO, etc.)
68
69%package devel
233848f7
AM
70Summary: Header files for %{kfname} development
71Summary(pl.UTF-8): Pliki nagłówkowe dla programistów używających %{kfname}
266c283c
WF
72Group: X11/Development/Libraries
73Requires: %{name} = %{version}-%{release}
74
75%description devel
233848f7 76Header files for %{kfname} development.
266c283c
WF
77
78%description devel -l pl.UTF-8
233848f7 79Pliki nagłówkowe dla programistów używających %{kfname}.
266c283c
WF
80
81%prep
233848f7 82%setup -q -n %{kfname}-%{version}
266c283c
WF
83
84%build
85install -d build
86cd build
87%cmake \
233848f7 88 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
266c283c
WF
89 ../
90%{__make}
91
92%install
93rm -rf $RPM_BUILD_ROOT
94
95%{__make} -C build/ install \
96 DESTDIR=$RPM_BUILD_ROOT
97
266c283c
WF
98%clean
99rm -rf $RPM_BUILD_ROOT
100
101%post -p /sbin/ldconfig
102%postun -p /sbin/ldconfig
103
d76fe027 104%files
266c283c
WF
105%defattr(644,root,root,755)
106%doc README.md
61aba0d7 107/etc/xdg/kactivities.categories
bd4123ac 108%attr(755,root,root) %{_bindir}/kactivities-cli
266c283c 109%attr(755,root,root) %ghost %{_libdir}/libKF5Activities.so.5
6f588fdd 110%attr(755,root,root) %{_libdir}/libKF5Activities.so.*.*
233848f7 111%dir %{qt5dir}/qml/org/kde/activities
266c283c 112%{qt5dir}/qml/org/kde/activities/qmldir
d38f70c8 113
d76fe027
WF
114#%%attr(755,root,root) %{qt5dir}/qml/org/kde/activities/settings/libkactivitiessettingsplugin.so
115#%%{qt5dir}/qml/org/kde/activities/settings/qmldir
233848f7 116%attr(755,root,root) %{qt5dir}/qml/org/kde/activities/libkactivitiesextensionplugin.so
d38f70c8
WF
117
118#%%{_datadir}/kf5/kactivitymanagerd/workspace/settings/BlacklistApplicationView.qml
d76fe027 119#%%{_datadir}/kservices5/activities.protocol
d38f70c8
WF
120#%{_datadir}/kservices5/kactivitymanagerd-plugin-activitytemplates.desktop
121#%{_datadir}/kservices5/kactivitymanagerd-plugin-eventspy.desktop
122#%{_datadir}/kservices5/kactivitymanagerd-plugin-globalshortcuts.desktop
123#%{_datadir}/kservices5/kactivitymanagerd-plugin-slc.desktop
124#%{_datadir}/kservices5/kactivitymanagerd-plugin-sqlite.desktop
125#%{_datadir}/kservices5/kactivitymanagerd-plugin-virtualdesktopswitch.desktop
d76fe027 126#%%{_datadir}/kservices5/kcm_activities.desktop
266c283c
WF
127
128%files devel
129%defattr(644,root,root,755)
130%{_includedir}/KF5/KActivities
131%{_includedir}/KF5/kactivities_version.h
132%{_libdir}/cmake/KF5Activities
133%attr(755,root,root) %{_libdir}/libKF5Activities.so
134%{_pkgconfigdir}/libKActivities.pc
135%{qt5dir}/mkspecs/modules/qt_KActivities.pri
This page took 0.279058 seconds and 4 git commands to generate.