18587f53c6502b104452911ebb21b0dc550dd8b0
[packages/kp5-kinfocenter.git] / kp5-kinfocenter.spec
1 %define         kdeplasmaver    5.14.5
2 %define         qtver           5.9.0
3 %define         kpname          kinfocenter
4 Summary:        kinfocenter
5 Name:           kp5-%{kpname}
6 Version:        5.14.5
7 Release:        1
8 License:        GPL v2+/LGPL v2.1+
9 Group:          X11/Libraries
10 Source0:        http://download.kde.org/stable/plasma/%{kdeplasmaver}/%{kpname}-%{version}.tar.xz
11 # Source0-md5:  3dc83172e56dc2419c5d5472a323c66c
12 URL:            http://www.kde.org/
13 BuildRequires:  Qt5Core-devel >= %{qtver}
14 BuildRequires:  Qt5Gui-devel >= %{qtver}
15 BuildRequires:  Qt5Widgets-devel >= %{qtver}
16 BuildRequires:  Qt5X11Extras-devel >= %{qtver}
17 BuildRequires:  cmake >= 2.8.12
18 BuildRequires:  gettext-devel
19 BuildRequires:  kf5-extra-cmake-modules >= 1.4.0
20 BuildRequires:  kf5-kdelibs4support-devel
21 BuildRequires:  kf5-kdoctools-devel
22 BuildRequires:  kf5-khtml-devel
23 BuildRequires:  qt5-build >= %{qtver}
24 BuildRequires:  rpmbuild(macros) >= 1.164
25 BuildRequires:  tar >= 1:1.22
26 BuildRequires:  xorg-lib-libX11-devel
27 BuildRequires:  xz
28 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30 %description
31 A utility that provides information about a computer system.
32
33 %prep
34 %setup -q -n %{kpname}-%{version}
35
36 %build
37 install -d build
38 cd build
39 %cmake \
40         -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
41         ..
42 %{__make}
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46 %{__make} -C build install \
47         DESTDIR=$RPM_BUILD_ROOT
48
49 %find_lang %{kpname} --all-name --with-kde
50
51 %clean
52 rm -rf $RPM_BUILD_ROOT
53
54 %files -f %{kpname}.lang
55 %defattr(644,root,root,755)
56 %attr(755,root,root) %{_bindir}/kinfocenter
57 /etc/xdg/menus/kinfocenter.menu
58 %attr(755,root,root) %{_libdir}/qt5/plugins/kcm_about_distro.so
59 %attr(755,root,root) %{_libdir}/qt5/plugins/kcm_devinfo.so
60 %attr(755,root,root) %{_libdir}/qt5/plugins/kcm_info.so
61 %attr(755,root,root) %{_libdir}/qt5/plugins/kcm_memory.so
62 %attr(755,root,root) %{_libdir}/qt5/plugins/kcm_nic.so
63 %attr(755,root,root) %{_libdir}/qt5/plugins/kcm_opengl.so
64 %attr(755,root,root) %{_libdir}/qt5/plugins/kcm_pci.so
65 %attr(755,root,root) %{_libdir}/qt5/plugins/kcm_samba.so
66 %attr(755,root,root) %{_libdir}/qt5/plugins/kcm_usb.so
67 %attr(755,root,root) %{_libdir}/qt5/plugins/kcm_view1394.so
68 %attr(755,root,root) %{_libdir}/qt5/plugins/kcms/kcm_energyinfo.so
69 %attr(755,root,root) %{_libdir}/qt5/plugins/kcms/kcm_fileindexermonitor.so
70 %{_desktopdir}/org.kde.kinfocenter.desktop
71 %{_datadir}/desktop-directories/kinfocenter.directory
72 %dir %{_datadir}/kcmusb
73 %{_datadir}/kcmusb/usb.ids
74 %dir %{_datadir}/kcmview1394
75 %{_datadir}/kcmview1394/oui.db
76 %dir %{_datadir}/kpackage/kcms/kcm_energyinfo
77 %dir %{_datadir}/kpackage/kcms/kcm_energyinfo/contents
78 %dir %{_datadir}/kpackage/kcms/kcm_energyinfo/contents/ui
79 %{_datadir}/kpackage/kcms/kcm_energyinfo/contents/ui/Graph.qml
80 %{_datadir}/kpackage/kcms/kcm_energyinfo/contents/ui/main.qml
81 %{_datadir}/kpackage/kcms/kcm_energyinfo/metadata.desktop
82 %dir %{_datadir}/kpackage/kcms/kcm_fileindexermonitor
83 %dir %{_datadir}/kpackage/kcms/kcm_fileindexermonitor/contents
84 %dir %{_datadir}/kpackage/kcms/kcm_fileindexermonitor/contents/ui
85 %{_datadir}/kpackage/kcms/kcm_fileindexermonitor/contents/ui/constants.js
86 %{_datadir}/kpackage/kcms/kcm_fileindexermonitor/contents/ui/main.qml
87 %{_datadir}/kpackage/kcms/kcm_fileindexermonitor/metadata.desktop
88 %{_datadir}/kservices5/about-distro.desktop
89 %{_datadir}/kservices5/deviceinfocategory.desktop
90 %{_datadir}/kservices5/devinfo.desktop
91 %{_datadir}/kservices5/dma.desktop
92 %{_datadir}/kservices5/graphicalinfocategory.desktop
93 %{_datadir}/kservices5/interrupts.desktop
94 %{_datadir}/kservices5/ioports.desktop
95 %{_datadir}/kservices5/kcm_energyinfo.desktop
96 %{_datadir}/kservices5/kcm_fileindexermonitor.desktop
97 %{_datadir}/kservices5/kcm_memory.desktop
98 %{_datadir}/kservices5/kcm_pci.desktop
99 %{_datadir}/kservices5/kcmusb.desktop
100 %{_datadir}/kservices5/kcmview1394.desktop
101 %{_datadir}/kservices5/lostfoundcategory.desktop
102 %{_datadir}/kservices5/networkinfocategory.desktop
103 %{_datadir}/kservices5/nic.desktop
104 %{_datadir}/kservices5/opengl.desktop
105 #%{_datadir}/kservices5/scsi.desktop
106 %{_datadir}/kservices5/smbstatus.desktop
107 %{_datadir}/kservices5/wayland.desktop
108 %{_datadir}/kservices5/xserver.desktop
109 %{_datadir}/kservicetypes5/kinfocentercategory.desktop
110 %dir %{_datadir}/kxmlgui5/kinfocenter
111 %{_datadir}/kxmlgui5/kinfocenter/kinfocenterui.rc
112 %{_datadir}/kpackage/kcms/kcm_energyinfo/metadata.json
113 %{_datadir}/kpackage/kcms/kcm_fileindexermonitor/metadata.json
This page took 0.09377 seconds and 2 git commands to generate.