mirror of
https://abf.rosa.ru/djam/gsmartcontrol.git
synced 2025-02-23 17:22:50 +00:00
51 lines
1.3 KiB
RPMSpec
51 lines
1.3 KiB
RPMSpec
%define _enable_debug_packages %{nil}
|
|
%define debug_package %{nil}
|
|
|
|
Summary: Hard disk health inspection Tool
|
|
Name: gsmartcontrol
|
|
Version: 1.1.3
|
|
Release: 1
|
|
License: GPLv2+
|
|
Group: System/Kernel and hardware
|
|
Url: http://gsmartcontrol.sourceforge.net
|
|
Source0: http://sourceforge.net/projects/%{name}/files/%{version}/%{name}-%{version}.tar.bz2
|
|
Patch0: gsmartcontrol-1.1.3-fix-desktop-file.patch
|
|
BuildRequires: pkgconfig(gtkmm-3.0) >= 3.4.0
|
|
BuildRequires: pkgconfig(libpcrecpp)
|
|
Requires: polkit
|
|
Requires: smartmontools
|
|
|
|
%description
|
|
GUI for smartctl, which is a tool for querying and controlling SMART
|
|
(Self-Monitoring, Analysis, and Reporting Technology) data in hard disk
|
|
drives. It allows you to inspect the drive's SMART data to determine
|
|
its health, as well as run various tests on it.
|
|
|
|
%files
|
|
%doc %{_datadir}/doc/%{name}
|
|
%{_bindir}/*
|
|
%{_sbindir}/%{name}
|
|
%{_datadir}/%{name}
|
|
%{_datadir}/applications/%{name}.desktop
|
|
%{_datadir}/metainfo/*.xml
|
|
%{_datadir}/icons/*
|
|
%{_datadir}/pixmaps/*
|
|
%{_datadir}/polkit-1/actions/*.policy
|
|
%{_mandir}/man1/%{name}-root.1*
|
|
%{_mandir}/man1/%{name}.1*
|
|
|
|
#----------------------------------------------------------------------------
|
|
|
|
%prep
|
|
%setup -q
|
|
%apply_patches
|
|
|
|
|
|
%build
|
|
export CXXFLAGS="%{optflags} -std=gnu++11"
|
|
%configure2_5x --enable-optimize-options=gnu
|
|
%make
|
|
|
|
|
|
%install
|
|
%makeinstall_std
|