]>
Commit | Line | Data |
---|---|---|
a2a31572 | 1 | %define kdeplasmaver 5.11.2 |
4f292064 AM |
2 | %define qtver 5.3.2 |
3 | %define kpname libksysguard | |
4 | ||
5 | Summary: Library for monitoring your system | |
6 | Name: kp5-%{kpname} | |
a2a31572 | 7 | Version: 5.11.2 |
2ed969bf | 8 | Release: 2 |
4f292064 AM |
9 | License: LGPL v2.1+ |
10 | Group: X11/Libraries | |
11 | Source0: http://download.kde.org/stable/plasma/%{kdeplasmaver}/%{kpname}-%{version}.tar.xz | |
a2a31572 | 12 | # Source0-md5: ec445c4816421c08628a834db4cf7e12 |
4f292064 AM |
13 | URL: http://www.kde.org/ |
14 | BuildRequires: Qt5Core-devel >= %{qtver} | |
15 | BuildRequires: cmake >= 2.8.12 | |
16 | BuildRequires: kf5-kauth-devel | |
17 | BuildRequires: kf5-kcompletion-devel | |
18 | BuildRequires: kf5-kconfig-devel | |
19 | BuildRequires: kf5-kconfigwidgets-devel | |
20 | BuildRequires: kf5-kcoreaddons-devel | |
21 | BuildRequires: kf5-ki18n-devel | |
22 | BuildRequires: kf5-kiconthemes-devel | |
23 | BuildRequires: kf5-kservice-devel | |
24 | BuildRequires: kf5-kwidgetsaddons-devel | |
25 | BuildRequires: kf5-kwindowsystem-devel | |
26 | BuildRequires: kf5-plasma-framework-devel | |
27 | BuildRequires: rpmbuild(macros) >= 1.164 | |
28 | BuildRequires: xz | |
29 | BuildRequires: zlib-devel | |
30 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
31 | ||
32 | %define qt5dir %{_libdir}/qt5 | |
33 | ||
34 | %description | |
35 | Library for monitoring your system. | |
36 | ||
37 | %package devel | |
38 | Summary: Header files for %{kpname} development | |
39 | Summary(pl.UTF-8): Pliki nagłówkowe dla programistów używających %{kpname} | |
40 | Group: X11/Development/Libraries | |
41 | Requires: %{name} = %{version}-%{release} | |
42 | ||
43 | %description devel | |
44 | Header files for %{kpname} development. | |
45 | ||
46 | %description devel -l pl.UTF-8 | |
47 | Pliki nagłówkowe dla programistów używających %{kpname}. | |
48 | ||
49 | %prep | |
50 | %setup -q -n %{kpname}-%{version} | |
51 | ||
52 | %build | |
53 | install -d build | |
54 | cd build | |
55 | %cmake \ | |
56 | -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \ | |
57 | ../ | |
58 | %{__make} | |
59 | ||
60 | %install | |
61 | rm -rf $RPM_BUILD_ROOT | |
62 | ||
63 | %{__make} -C build/ install \ | |
64 | DESTDIR=$RPM_BUILD_ROOT | |
65 | ||
32a9422e | 66 | %find_lang %{kpname}5 --all-name --with-kde |
4f292064 AM |
67 | |
68 | %clean | |
69 | rm -rf $RPM_BUILD_ROOT | |
70 | ||
71 | %post -p /sbin/ldconfig | |
72 | %postun -p /sbin/ldconfig | |
73 | ||
74 | %files -f %{kpname}5.lang | |
75 | %defattr(644,root,root,755) | |
76 | /etc/dbus-1/system.d/org.kde.ksysguard.processlisthelper.conf | |
2ed969bf | 77 | %attr(755,root,root) %{_libexecdir}/kauth/ksysguardprocesslist_helper |
4f292064 AM |
78 | %attr(755,root,root) %{_libdir}/libksgrd.so.*.*.* |
79 | %attr(755,root,root) %ghost %{_libdir}/libksgrd.so.7 | |
80 | %attr(755,root,root) %{_libdir}/libksignalplotter.so.*.*.* | |
81 | %attr(755,root,root) %ghost %{_libdir}/libksignalplotter.so.7 | |
82 | %attr(755,root,root) %{_libdir}/liblsofui.so.*.*.* | |
83 | %attr(755,root,root) %ghost %{_libdir}/liblsofui.so.7 | |
84 | %attr(755,root,root) %{_libdir}/libprocesscore.so.*.*.* | |
85 | %attr(755,root,root) %ghost %{_libdir}/libprocesscore.so.7 | |
86 | %attr(755,root,root) %{_libdir}/libprocessui.so.*.*.* | |
87 | %attr(755,root,root) %ghost %{_libdir}/libprocessui.so.7 | |
88 | %{_datadir}/dbus-1/system-services/org.kde.ksysguard.processlisthelper.service | |
89 | %{_datadir}/ksysguard | |
90 | %{_datadir}/polkit-1/actions/org.kde.ksysguard.processlisthelper.policy | |
91 | ||
92 | %files devel | |
93 | %defattr(644,root,root,755) | |
94 | %{_includedir}/ksysguard | |
95 | %{_libdir}/cmake/KF5SysGuard | |
96 | %attr(755,root,root) %{_libdir}/libksgrd.so | |
97 | %attr(755,root,root) %{_libdir}/libksignalplotter.so | |
98 | %attr(755,root,root) %{_libdir}/liblsofui.so | |
99 | %attr(755,root,root) %{_libdir}/libprocesscore.so | |
100 | %attr(755,root,root) %{_libdir}/libprocessui.so |