tar.xz deps
[packages/kf5-kactivities.git] / kf5-kactivities.spec
CommitLineData
266c283c
WF
1# TODO:
2# - dir /usr/include/KF5 not packaged
3# /usr/share/kf5 not packaged
4# Conflict /usr/bin/kactivitymanagerd
5%define _state stable
6%define orgname kactivities
7
8Summary: Core components for the KDE's Activities Activity Manager
9Name: kf5-%{orgname}
10Version: 5.0.0
11Release: 0.1
12License: LGPL v2.1+
13Group: X11/Libraries
14Source0: ftp://ftp.kde.org/pub/kde/%{_state}/frameworks/%{version}/%{orgname}-%{version}.tar.xz
15# Source0-md5: 1e5f33114f752eba2da71665c2e10696
16URL: http://www.kde.org/
17BuildRequires: Qt5Core-devel
18BuildRequires: Qt5DBus-devel
19BuildRequires: Qt5Gui-devel
20BuildRequires: Qt5Network-devel >= 5.3.1
21BuildRequires: Qt5Qml-devel
22BuildRequires: Qt5Sql-devel
23BuildRequires: Qt5Test-devel
24BuildRequires: Qt5Widgets-devel
25BuildRequires: Qt5Xml-devel >= 5.2.0
26BuildRequires: boost-devel
27BuildRequires: cmake >= 2.8.12
28BuildRequires: gettext-devel
29BuildRequires: kf5-attica-devel >= %{version}
30BuildRequires: kf5-extra-cmake-modules >= 1.0.0
31BuildRequires: kf5-kauth-devel >= %{version}
32BuildRequires: kf5-kbookmarks-devel >= %{version}
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}
39BuildRequires: kf5-kglobalaccel-devel >= %{version}
40BuildRequires: kf5-kguiaddons-devel >= %{version}
41BuildRequires: kf5-ki18n-devel >= %{version}
42BuildRequires: kf5-kiconthemes-devel >= %{version}
43BuildRequires: kf5-kio-devel >= %{version}
44BuildRequires: kf5-kitemviews-devel >= %{version}
45BuildRequires: kf5-kjobwidgets-devel >= %{version}
46BuildRequires: kf5-kservice-devel >= %{version}
47BuildRequires: kf5-ktextwidgets-devel >= %{version}
48BuildRequires: kf5-kwidgetsaddons-devel >= %{version}
49BuildRequires: kf5-kwindowsystem-devel >= %{version}
50BuildRequires: kf5-kxmlgui-devel >= %{version}
51BuildRequires: kf5-solid-devel >= %{version}
52BuildRequires: kf5-sonnet-devel >= %{version}
53BuildRequires: rpmbuild(macros) >= 1.164
260e88f0
ER
54BuildRequires: tar >= 1:1.22
55BuildRequires: xz
266c283c
WF
56BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
57
58%define qt5dir %{_libdir}/qt5
59
60%description
61System service to manage user's activities, track the usage patterns
62etc. KActivities library API for using and interacting with the
63Activity Manager as a consumer, application adding information to them
64or as an activity manager. Workspace Plugins for KDE workspace to
65easier integrate activities (KIO, etc.)
66
67%package devel
68Summary: Header files for %{orgname} development
69Summary(pl.UTF-8): Pliki nagłówkowe dla programistów używających %{orgname}
70Group: X11/Development/Libraries
71Requires: %{name} = %{version}-%{release}
72
73%description devel
74Header files for %{orgname} development.
75
76%description devel -l pl.UTF-8
77Pliki nagłówkowe dla programistów używających %{orgname}.
78
79%prep
80%setup -q -n %{orgname}-%{version}
81
82%build
83install -d build
84cd build
85%cmake \
86 -DBIN_INSTALL_DIR=%{_bindir} \
87 -DKCFG_INSTALL_DIR=%{_datadir}/config.kcfg \
88 -DPLUGIN_INSTALL_DIR=%{qt5dir}/plugins \
89 -DQT_PLUGIN_INSTALL_DIR=%{qt5dir}/plugins \
90 -DQML_INSTALL_DIR=%{qt5dir}/qml \
91 -DIMPORTS_INSTALL_DIR=%{qt5dirs}/imports \
92 -DSYSCONF_INSTALL_DIR=%{_sysconfdir} \
93 -DLIBEXEC_INSTALL_DIR=%{_libexecdir} \
94 -DKF5_LIBEXEC_INSTALL_DIR=%{_libexecdir} \
95 -DKF5_INCLUDE_INSTALL_DIR=%{_includedir} \
96 -DECM_MKSPECS_INSTALL_DIR=%{qt5dir}/mkspecs/modules \
97 -D_IMPORT_PREFIX=%{_prefix} \
98 ../
99%{__make}
100
101%install
102rm -rf $RPM_BUILD_ROOT
103
104%{__make} -C build/ install \
105 DESTDIR=$RPM_BUILD_ROOT
106
107%find_lang %{orgname}5
108
109%clean
110rm -rf $RPM_BUILD_ROOT
111
112%post -p /sbin/ldconfig
113%postun -p /sbin/ldconfig
114
115%files -f %{orgname}5.lang
116%defattr(644,root,root,755)
117%doc README.md
118%attr(755,root,root) %{_bindir}/kactivitymanagerd
119%attr(755,root,root) %ghost %{_libdir}/libKF5Activities.so.5
120%attr(755,root,root) %{_libdir}/libKF5Activities.so.5.0.0
121%attr(755,root,root) %{qt5dir}/plugins/kactivitymanagerd/kactivitymanagerd_plugin_activitytemplates.so
122%attr(755,root,root) %{qt5dir}/plugins/kactivitymanagerd/kactivitymanagerd_plugin_slc.so
123%attr(755,root,root) %{qt5dir}/plugins/kactivitymanagerd/kactivitymanagerd_plugin_sqlite.so
124%{qt5dir}/qml/org/kde/activities/README
125%attr(755,root,root) %{qt5dir}/qml/org/kde/activities/libkactivitiesextensionplugin.so
126%{qt5dir}/qml/org/kde/activities/qmldir
127%{_datadir}/kservices5/kactivitymanagerd.desktop
128%{_datadir}/kservicetypes5/kactivitymanagerd-plugin.desktop
129
130%files devel
131%defattr(644,root,root,755)
132%{_includedir}/KF5/KActivities
133%{_includedir}/KF5/kactivities_version.h
134%{_libdir}/cmake/KF5Activities
135%attr(755,root,root) %{_libdir}/libKF5Activities.so
136%{_pkgconfigdir}/libKActivities.pc
137%{qt5dir}/mkspecs/modules/qt_KActivities.pri
This page took 0.111475 seconds and 4 git commands to generate.