- updated to 5.15.3
[packages/kp5-kinfocenter.git] / kp5-kinfocenter.spec
CommitLineData
62ccaaa2 1%define kdeplasmaver 5.15.3
5425c5c2 2%define qtver 5.9.0
ee6a34fe
WF
3%define kpname kinfocenter
4Summary: kinfocenter
5Name: kp5-%{kpname}
62ccaaa2 6Version: 5.15.3
ee6a34fe
WF
7Release: 1
8License: GPL v2+/LGPL v2.1+
9Group: X11/Libraries
10Source0: http://download.kde.org/stable/plasma/%{kdeplasmaver}/%{kpname}-%{version}.tar.xz
62ccaaa2 11# Source0-md5: 8064140c272452f7610e35b714930ca4
ee6a34fe
WF
12URL: http://www.kde.org/
13BuildRequires: Qt5Core-devel >= %{qtver}
14BuildRequires: Qt5Gui-devel >= %{qtver}
15BuildRequires: Qt5Widgets-devel >= %{qtver}
16BuildRequires: Qt5X11Extras-devel >= %{qtver}
17BuildRequires: cmake >= 2.8.12
18BuildRequires: gettext-devel
19BuildRequires: kf5-extra-cmake-modules >= 1.4.0
20BuildRequires: kf5-kdelibs4support-devel
21BuildRequires: kf5-kdoctools-devel
22BuildRequires: kf5-khtml-devel
62ccaaa2 23BuildRequires: ninja
ee6a34fe
WF
24BuildRequires: qt5-build >= %{qtver}
25BuildRequires: rpmbuild(macros) >= 1.164
26BuildRequires: tar >= 1:1.22
27BuildRequires: xorg-lib-libX11-devel
28BuildRequires: xz
29BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31%description
5425c5c2 32A utility that provides information about a computer system.
ee6a34fe
WF
33
34%prep
35%setup -q -n %{kpname}-%{version}
36
37%build
38install -d build
39cd build
62ccaaa2 40%cmake -G Ninja \
ee6a34fe
WF
41 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
42 ..
62ccaaa2 43%ninja_build
ee6a34fe
WF
44
45%install
46rm -rf $RPM_BUILD_ROOT
62ccaaa2 47%ninja_install -C build
ee6a34fe
WF
48
49%find_lang %{kpname} --all-name --with-kde
50
51%clean
52rm -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
6c709bb6 72%dir %{_datadir}/kcmusb
ee6a34fe 73%{_datadir}/kcmusb/usb.ids
6c709bb6 74%dir %{_datadir}/kcmview1394
ee6a34fe 75%{_datadir}/kcmview1394/oui.db
6c709bb6
WF
76%dir %{_datadir}/kpackage/kcms/kcm_energyinfo
77%dir %{_datadir}/kpackage/kcms/kcm_energyinfo/contents
78%dir %{_datadir}/kpackage/kcms/kcm_energyinfo/contents/ui
ee6a34fe
WF
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
6c709bb6
WF
82%dir %{_datadir}/kpackage/kcms/kcm_fileindexermonitor
83%dir %{_datadir}/kpackage/kcms/kcm_fileindexermonitor/contents
84%dir %{_datadir}/kpackage/kcms/kcm_fileindexermonitor/contents/ui
ee6a34fe
WF
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
6c709bb6 105#%{_datadir}/kservices5/scsi.desktop
ee6a34fe
WF
106%{_datadir}/kservices5/smbstatus.desktop
107%{_datadir}/kservices5/wayland.desktop
108%{_datadir}/kservices5/xserver.desktop
109%{_datadir}/kservicetypes5/kinfocentercategory.desktop
6c709bb6 110%dir %{_datadir}/kxmlgui5/kinfocenter
ee6a34fe 111%{_datadir}/kxmlgui5/kinfocenter/kinfocenterui.rc
6c709bb6
WF
112%{_datadir}/kpackage/kcms/kcm_energyinfo/metadata.json
113%{_datadir}/kpackage/kcms/kcm_fileindexermonitor/metadata.json
This page took 0.214578 seconds and 4 git commands to generate.