- updated to 5.15.3
[packages/kp5-kinfocenter.git] / kp5-kinfocenter.spec
1 %define         kdeplasmaver    5.15.3
2 %define         qtver           5.9.0
3 %define         kpname          kinfocenter
4 Summary:        kinfocenter
5 Name:           kp5-%{kpname}
6 Version:        5.15.3
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:  8064140c272452f7610e35b714930ca4
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:  ninja
24 BuildRequires:  qt5-build >= %{qtver}
25 BuildRequires:  rpmbuild(macros) >= 1.164
26 BuildRequires:  tar >= 1:1.22
27 BuildRequires:  xorg-lib-libX11-devel
28 BuildRequires:  xz
29 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31 %description
32 A utility that provides information about a computer system.
33
34 %prep
35 %setup -q -n %{kpname}-%{version}
36
37 %build
38 install -d build
39 cd build
40 %cmake -G Ninja \
41         -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
42         ..
43 %ninja_build
44
45 %install
46 rm -rf $RPM_BUILD_ROOT
47 %ninja_install -C build
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.089372 seconds and 3 git commands to generate.