2007-01-08 18:31:42 +01:00
|
|
|
#
|
2008-07-08 16:59:23 +02:00
|
|
|
# spec file for package fs-check (Version 0.9)
|
2007-01-08 18:31:42 +01:00
|
|
|
#
|
2008-04-02 20:19:28 +02:00
|
|
|
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-08 18:31:42 +01:00
|
|
|
# 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://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-04-02 20:19:28 +02:00
|
|
|
|
2007-01-08 18:31:42 +01:00
|
|
|
Name: fs-check
|
|
|
|
BuildRequires: mailx
|
2008-04-02 20:19:28 +02:00
|
|
|
Url: http://fs-check.sourceforge.net
|
|
|
|
License: GPL v2 or later
|
2007-01-08 18:31:42 +01:00
|
|
|
Group: System/Monitoring
|
2008-04-02 20:19:28 +02:00
|
|
|
AutoReqProv: on
|
2007-01-08 18:31:42 +01:00
|
|
|
Requires: mailx
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2008-07-08 16:59:23 +02:00
|
|
|
Version: 0.9
|
2008-04-02 20:19:28 +02:00
|
|
|
Release: 1
|
2007-01-08 18:31:42 +01:00
|
|
|
Summary: Check File System Usage
|
2008-04-02 20:19:28 +02:00
|
|
|
BuildArch: noarch
|
2007-01-08 18:31:42 +01:00
|
|
|
Source: %{name}-%{version}.tar.bz2
|
|
|
|
Source1: %{name}.cf
|
|
|
|
Patch: %{name}-%{version}.dif
|
|
|
|
|
|
|
|
%description
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
%patch
|
|
|
|
|
|
|
|
%build
|
|
|
|
./configure --prefix=%{_prefix} --mandir=%{_mandir}
|
|
|
|
make
|
2008-04-02 20:19:28 +02:00
|
|
|
|
2007-01-08 18:31:42 +01:00
|
|
|
%install
|
2008-04-02 20:19:28 +02:00
|
|
|
mkdir -p $RPM_BUILD_ROOT/etc
|
|
|
|
cp %SOURCE1 $RPM_BUILD_ROOT/etc
|
2007-01-08 18:31:42 +01:00
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc AUTHORS ChangeLog COPYING NEWS README THANKS sample/crontab.add
|
|
|
|
%config(noreplace) /etc/fs-check.cf
|
|
|
|
%{_mandir}/man8/fs-check.8.gz
|
|
|
|
%{_mandir}/man8/fs-report.8.gz
|
|
|
|
%{_bindir}/fs-check
|
|
|
|
%{_bindir}/fs-report
|
|
|
|
|
2008-04-02 20:19:28 +02:00
|
|
|
%changelog
|
2008-07-08 16:59:23 +02:00
|
|
|
* Fri Jul 04 2008 hvogel@suse.de
|
|
|
|
- update to version 0.9
|
|
|
|
* fix parsing of DEFAULT OWNER
|
|
|
|
- disable checks, wrong logfiles included
|
2008-04-02 20:19:28 +02:00
|
|
|
* Wed Apr 02 2008 hvogel@suse.de
|
|
|
|
- update to version 0.8
|
|
|
|
* Correct pidfile option parsing
|
|
|
|
- some rpmlint warnings fixed
|
|
|
|
* Mon Jan 08 2007 mskibbe@suse.de
|
2007-01-08 18:31:42 +01:00
|
|
|
- fs-check expects fs-check.cfg in /var/adm rather then etc
|
|
|
|
( #231222 )
|
2008-04-02 20:19:28 +02:00
|
|
|
* Wed Aug 30 2006 mskibbe@suse.de
|
2007-01-08 18:31:42 +01:00
|
|
|
- update to version 0.7 which
|
|
|
|
o contains bugfixes
|
|
|
|
o fix make distcheck
|
|
|
|
o update copyright
|
2008-04-02 20:19:28 +02:00
|
|
|
* Sat Feb 25 2006 kukuk@suse.de
|
2007-01-08 18:31:42 +01:00
|
|
|
- Workaround configure checks for autobuild
|
|
|
|
- Don't start in "norun" mode per default
|
2008-04-02 20:19:28 +02:00
|
|
|
* Wed Jan 25 2006 mls@suse.de
|
2007-01-08 18:31:42 +01:00
|
|
|
- converted neededforbuild to BuildRequires
|
2008-04-02 20:19:28 +02:00
|
|
|
* Wed Sep 07 2005 kukuk@suse.de
|
2007-01-08 18:31:42 +01:00
|
|
|
- Update to version 0.6
|
2008-04-02 20:19:28 +02:00
|
|
|
* Thu Jul 21 2005 kukuk@suse.de
|
2007-01-08 18:31:42 +01:00
|
|
|
- Update to version 0.5
|
2008-04-02 20:19:28 +02:00
|
|
|
* Tue Nov 02 2004 kukuk@suse.de
|
2007-01-08 18:31:42 +01:00
|
|
|
- Update to version 0.4
|
2008-04-02 20:19:28 +02:00
|
|
|
* Mon Jun 28 2004 kukuk@suse.de
|
2007-01-08 18:31:42 +01:00
|
|
|
- Initial version
|