File gsmartcontrol.spec of Package gsmartcontrol

# spec file for package gsmartcontrol
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

Name:           gsmartcontrol
Version:        1.1.3
Release:        0
Summary:        Hard Disk Health Inspection Tool
License:        GPL-2.0 or GPL-3.0
Group:          Hardware/Other
Source1:        %{name}-rpmlintrc
BuildRequires:  fdupes
BuildRequires:  gcc-c++
BuildRequires:  hicolor-icon-theme
BuildRequires:  libstdc++-devel
BuildRequires:  polkit
BuildRequires:  update-desktop-files
BuildRequires:  pkgconfig(gtkmm-3.0)
BuildRequires:  pkgconfig(libpcre)
Requires:       pcre
Requires:       polkit
Requires:       smartmontools >= 5.43
Recommends:     xdg-utils
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

GSmartControl is a graphical user interface for smartctl, which is a tool for
querying and controlling SMART (Self-Monitoring, Analysis, and Reporting
Technology) data in hard disk drives. It allows inspecting the drive's
SMART data to determine its health, as well as run various tests on it.

%setup -q

%configure --docdir=%{_defaultdocdir}/%{name} --enable-optimize-options=auto
make %{?_smp_mflags}

%suse_update_desktop_file %{name}
%fdupes -s %{buildroot}%{_prefix}



%doc %{_defaultdocdir}/%{name}
%dir %{_datadir}/metainfo

openSUSE Build Service is sponsored by