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