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