File md_monitor.spec of Package md_monitor

#
# spec file for package md_monitor (Version 5.0)
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugzilla.novell.com/
#

# norootforbuild

Name:           md_monitor
BuildRequires:  libudev-devel libaio-devel
Requires:       mdadm
URL:            http://github.com/hreinecke/md_monitor
License:        GPL-2.0+
Group:          Development/Tools/Other
Summary:        MD device monitor
Version:        5.0
Release:        1
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Source0:        %{name}-%{version}.tar.bz2

%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 

%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

openSUSE Build Service is sponsored by