File md_monitor.spec of Package md_monitor
#
# spec file for package md_monitor
#
# 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 http://bugs.opensuse.org/
#
Name: md_monitor
BuildRequires: libaio-devel
BuildRequires: libudev-devel
Requires: mdadm
Url: http://github.com/hreinecke/md_monitor
Summary: MD device monitor
License: GPL-2.0+
Group: Development/Tools/Other
Version: 6.3
Release: 0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: %{name}-v%{version}.tar.xz
%description
The md_monitor daemon monitors the component devices of each MD array
for I/O issues. It will update the monitored MD arrays on each status
change, setting devices to 'faulty' or re-integrate working devices.
Authors:
--------
Hannes Reinecke <hare@suse.de>
%prep
%setup -q -n %{name}-v%{version}
%build
make OPTFLAGS="$RPM_OPT_FLAGS"
%install
make DESTDIR=$RPM_BUILD_ROOT install
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
/sbin/md_monitor
/sbin/setdasd
%{_mandir}/man8/md_monitor.8*
%{_mandir}/man8/setdasd.8*
/usr/share/misc/md_notify_device.sh
%doc README.md
%changelog