]> git.pld-linux.org Git - packages/kp5-ksysguard.git/blame - kp5-ksysguard.spec
- updated to 5.11.2
[packages/kp5-ksysguard.git] / kp5-ksysguard.spec
CommitLineData
a96405c2 1%define kdeplasmaver 5.11.2
f121c56b
WF
2%define qtver 5.5.1
3%define kpname ksysguard
4Summary: ksysguard
5Name: kp5-%{kpname}
a96405c2 6Version: 5.11.2
f121c56b
WF
7Release: 1
8License: GPL v2+/LGPL v2.1+
9Group: X11/Libraries
10Source0: http://download.kde.org/stable/plasma/%{kdeplasmaver}/%{kpname}-%{version}.tar.xz
a96405c2 11# Source0-md5: 9712b7faba43d2c227ea2d73b3ac2e09
f121c56b
WF
12URL: http://www.kde.org/
13BuildRequires: Qt5Core-devel >= %{qtver}
14BuildRequires: Qt5Gui-devel >= %{qtver}
15BuildRequires: Qt5Widgets-devel >= %{qtver}
16BuildRequires: cmake >= 2.8.12
17BuildRequires: gettext-devel
18BuildRequires: kf5-extra-cmake-modules >= 1.5.0
19BuildRequires: kf5-kconfig-devel
20BuildRequires: kf5-kcoreaddons-devel
21BuildRequires: kf5-kdelibs4support-devel
22BuildRequires: kf5-ki18n-devel
23BuildRequires: kf5-kiconthemes-devel
24BuildRequires: kf5-kitemviews-devel
25BuildRequires: kf5-knewstuff-devel
26BuildRequires: kp5-libksysguard-devel
27BuildRequires: qt5-build >= %{qtver}
28BuildRequires: rpmbuild(macros) >= 1.164
29BuildRequires: tar >= 1:1.22
30BuildRequires: xz
31BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32
33%description
34ksysguard
35
36%prep
37%setup -q -n %{kpname}-%{version}
38
39%build
40install -d build
41cd build
42%cmake \
43 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
44 ..
45%{__make}
46
47%install
48rm -rf $RPM_BUILD_ROOT
49%{__make} -C build install \
50 DESTDIR=$RPM_BUILD_ROOT
51
52%find_lang %{kpname} --all-name --with-kde
53
54%clean
55rm -rf $RPM_BUILD_ROOT
56
57%post -p /sbin/ldconfig
58%postun -p /sbin/ldconfig
59
60%files -f %{kpname}.lang
61%defattr(644,root,root,755)
62%attr(755,root,root) %{_bindir}/ksysguard
63%{_sysconfdir}/ksysguarddrc
64/etc/xdg/ksysguard.knsrc
65%attr(755,root,root) %{_bindir}/ksysguardd
66%attr(755,root,root) %{_libdir}/libkdeinit5_ksysguard.so
67%{_desktopdir}/org.kde.ksysguard.desktop
68%{_iconsdir}/hicolor/16x16/apps/computer.png
69%{_iconsdir}/hicolor/16x16/apps/daemon.png
70%{_iconsdir}/hicolor/16x16/apps/kdeapp.png
71%{_iconsdir}/hicolor/16x16/apps/kernel.png
72%{_iconsdir}/hicolor/16x16/apps/ksysguardd.png
73%{_iconsdir}/hicolor/16x16/apps/running.png
74%{_iconsdir}/hicolor/16x16/apps/shell.png
75%{_iconsdir}/hicolor/16x16/apps/unknownapp.png
76%{_iconsdir}/hicolor/16x16/apps/waiting.png
77%{_datadir}/knotifications5/ksysguard.notifyrc
78%{_datadir}/ksysguard/ProcessTable.sgrd
79%{_datadir}/ksysguard/SystemLoad2.sgrd
a96405c2 80%dir %{_datadir}/kxmlgui5/ksysguard
f121c56b 81%{_datadir}/kxmlgui5/ksysguard/ksysguardui.rc
This page took 0.074617 seconds and 4 git commands to generate.