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