File fs-check.spec of Package fs-check

# spec file for package fs-check (Version 0.9)
# Copyright (c) 2009 SUSE LINUX Products 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

# norootforbuild

Name:           fs-check
BuildRequires:  mailx
License:        GPL-2.0+
Group:          System/Monitoring
AutoReqProv:    on
Requires:       mailx
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Version:        0.9
Release:        33
Summary:        Check File System Usage
BuildArch:      noarch
Source:         %{name}-%{version}.tar.bz2
Source1:        %{name}.cf
Patch:          %{name}-%{version}.dif

fs-check checks file system sizes to see if they are getting too full.
It uses a configuration file that specifies the file systems to check,
e-mail contacts, trigger thresholds (percentage or amount used and
unused), and a report program to run. It includes fs-report, which
shows things like the largest files, the newest files, and core files.
It can be run from cron or as a daemon.

%setup -q

./configure --prefix=%{_prefix} --mandir=%{_mandir}

mkdir -p $RPM_BUILD_ROOT/etc
install -D -m 644 doc/fs-report.8 $RPM_BUILD_ROOT%{_mandir}/man8/fs-report.8
install -D -m 644 doc/fs-check.8 $RPM_BUILD_ROOT%{_mandir}/man8/fs-check.8


%doc AUTHORS ChangeLog COPYING NEWS README THANKS sample/crontab.add
%config(noreplace) /etc/

* Wed Jul 09 2008
- fix installation of man pages
* Fri Jul 04 2008
- update to version 0.9
  * fix parsing of DEFAULT OWNER
- disable checks, wrong logfiles included
* Wed Apr 02 2008
- update to version 0.8
  * Correct pidfile option parsing
- some rpmlint warnings fixed
* Mon Jan 08 2007
- fs-check expects fs-check.cfg in /var/adm rather then etc
  ( #231222 )
* Wed Aug 30 2006
- update to version 0.7 which
  o contains bugfixes
  o fix make distcheck
  o update copyright
* Sat Feb 25 2006
- Workaround configure checks for autobuild
- Don't start in "norun" mode per default
* Wed Jan 25 2006
- converted neededforbuild to BuildRequires
* Wed Sep 07 2005
- Update to version 0.6
* Thu Jul 21 2005
- Update to version 0.5
* Tue Nov 02 2004
- Update to version 0.4
* Mon Jun 28 2004
- Initial version