2 Summary: Hardinfo - benchmark tool
3 Summary(pl.UTF-8): Hardinfo - narzędzie informujące o sprzęcie i jego wydajności
8 Group: X11/Applications
9 #Source0Download: https://github.com/lpereira/hardinfo/releases
10 Source0: https://github.com/lpereira/hardinfo/archive/master/%{name}-%{version}.tar.gz
11 # Source0-md5: 9d7d9e00cb49579c4264b311a8232241
13 Patch1: format-security.patch
14 URL: http://hardinfo.berlios.de/web/HomePage
15 BuildRequires: cmake >= 2.6
16 BuildRequires: gtk+2-devel >= 2:2.10
17 BuildRequires: libsoup-devel >= 2.24
18 BuildRequires: pkgconfig
19 BuildRequires: xorg-lib-libX11-devel
20 BuildRequires: zlib-devel
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 HardInfo is a system information and benchmark tool for Linux systems.
26 This tool can gather information about your system's hardware and
27 operating system, perform benchmarks and generate printable reports
28 either in HTML or in plain text formats.
30 %description -l pl.UTF-8
31 HardInfo to narzędzie dla systemów linuksowych informujące o systemie
32 i jego wydajności. Potrafi zbierać informacje o sprzęcie i systemie
33 operacyjnym, wykonywać testy wydajnościowe i generować nadające się do
34 druku raporty w formacie HTML lub czystym tekście.
37 %setup -q -n %{name}-master
49 rm -rf $RPM_BUILD_ROOT
51 %{__make} -C build install \
52 DESTDIR=$RPM_BUILD_ROOT
57 rm -rf $RPM_BUILD_ROOT
59 %files -f %{name}.lang
60 %defattr(644,root,root,755)
61 %doc AUTHORS.md README.md TODO
62 %attr(755,root,root) %{_bindir}/hardinfo
63 %dir %{_libdir}/hardinfo
64 %dir %{_libdir}/hardinfo/modules
65 %attr(755,root,root) %{_libdir}/hardinfo/modules/benchmark.so
66 %attr(755,root,root) %{_libdir}/hardinfo/modules/computer.so
67 %attr(755,root,root) %{_libdir}/hardinfo/modules/devices.so
68 %attr(755,root,root) %{_libdir}/hardinfo/modules/network.so
70 %{_desktopdir}/hardinfo.desktop
71 %{_iconsdir}/hicolor/48x48/apps/hardinfo.png
72 %{_mandir}/man1/hardinfo.1*