3e09a576041d947dc95bc994f93c0b5de4e45e32
[packages/kf5-kactivities.git] / kf5-kactivities.spec
1 # TODO:
2 # Conflict /usr/bin/kactivitymanagerd
3 %define         kdeframever     5.81
4 %define         qtver           5.9.0
5 %define         kfname          kactivities
6
7 Summary:        Core components for the KDE's Activities Activity Manager
8 Name:           kf5-%{kfname}
9 Version:        5.81.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:  928799a3c6f7eeb080a5deb3fc047988
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 >= %{version}
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:  ninja
55 BuildRequires:  rpmbuild(macros) >= 1.164
56 BuildRequires:  tar >= 1:1.22
57 BuildRequires:  xz
58 Requires:       kf5-dirs
59 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
60
61 %define         qt5dir          %{_libdir}/qt5
62
63 %description
64 System service to manage user's activities, track the usage patterns
65 etc. KActivities library API for using and interacting with the
66 Activity Manager as a consumer, application adding information to them
67 or as an activity manager. Workspace Plugins for KDE workspace to
68 easier integrate activities (KIO, etc.)
69
70 %package devel
71 Summary:        Header files for %{kfname} development
72 Summary(pl.UTF-8):      Pliki nagłówkowe dla programistów używających %{kfname}
73 Group:          X11/Development/Libraries
74 Requires:       %{name} = %{version}-%{release}
75
76 %description devel
77 Header files for %{kfname} development.
78
79 %description devel -l pl.UTF-8
80 Pliki nagłówkowe dla programistów używających %{kfname}.
81
82 %prep
83 %setup -q -n %{kfname}-%{version}
84
85 %build
86 install -d build
87 cd build
88 %cmake -G Ninja \
89         -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
90         ../
91 %ninja_build
92
93 %install
94 rm -rf $RPM_BUILD_ROOT
95 %ninja_install -C build
96
97 %clean
98 rm -rf $RPM_BUILD_ROOT
99
100 %post -p /sbin/ldconfig
101 %postun -p /sbin/ldconfig
102
103 %files
104 %defattr(644,root,root,755)
105 %doc README.md
106 %{_datadir}/qlogging-categories5/kactivities.categories
107 %attr(755,root,root) %{_bindir}/kactivities-cli
108 %ghost %{_libdir}/libKF5Activities.so.5
109 %attr(755,root,root) %{_libdir}/libKF5Activities.so.*.*
110 %dir %{qt5dir}/qml/org/kde/activities
111 %{qt5dir}/qml/org/kde/activities/qmldir
112 %attr(755,root,root) %{qt5dir}/qml/org/kde/activities/libkactivitiesextensionplugin.so
113 %{_datadir}/qlogging-categories5/kactivities.renamecategories
114
115 %files devel
116 %defattr(644,root,root,755)
117 %{_includedir}/KF5/KActivities
118 %{_includedir}/KF5/kactivities_version.h
119 %{_libdir}/cmake/KF5Activities
120 %{_libdir}/libKF5Activities.so
121 %{_pkgconfigdir}/libKActivities.pc
122 %{qt5dir}/mkspecs/modules/qt_KActivities.pri
This page took 0.111964 seconds and 2 git commands to generate.