Accepting request 298289 from Base:System

1

OBS-URL: https://build.opensuse.org/request/show/298289
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fs-check?expand=0&rev=17
This commit is contained in:
Dominique Leuenberger 2015-04-21 23:19:38 +00:00 committed by Git OBS Bridge
parent 189d5ea137
commit 6b771c32ff
4 changed files with 29 additions and 61 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b98773a30e2014716a54c3c1c88073c8e512e4ccf95d3c6838d7a41da03104a5
size 104269

3
fs-check-0.9.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0b57f365bd87812f409e8fee59dd8f9247f2e5e786eaa0888bfe296bab401ec3
size 128860

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Apr 20 16:30:42 UTC 2015 - mpluskal@suse.com
- Use url for source
- Cleanup spec file with spec-cleaner
- Use %configure macro
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jul 9 14:37:48 CEST 2008 - hvogel@suse.de Wed Jul 9 14:37:48 CEST 2008 - hvogel@suse.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package fs-check (Version 0.9) # spec file for package fs-check
# #
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -15,24 +15,21 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
# norootforbuild
Name: fs-check Name: fs-check
BuildRequires: mailx Version: 0.9
Url: http://fs-check.sourceforge.net Release: 0
Summary: Check File System Usage
License: GPL-2.0+ License: GPL-2.0+
Group: System/Monitoring Group: System/Monitoring
AutoReqProv: on Url: http://fs-check.sourceforge.net
Source: http://sourceforge.net/projects/fs-check/files/fs-check/%{version}/%{name}-%{version}.tar.gz
Source1: %{name}.cf
Patch0: %{name}-%{version}.dif
BuildRequires: mailx
Requires: mailx Requires: mailx
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
Version: 0.9
Release: 33
Summary: Check File System Usage
BuildArch: noarch BuildArch: noarch
Source: %{name}-%{version}.tar.bz2
Source1: %{name}.cf
Patch: %{name}-%{version}.dif
%description %description
fs-check checks file system sizes to see if they are getting too full. fs-check checks file system sizes to see if they are getting too full.
@ -42,64 +39,28 @@ unused), and a report program to run. It includes fs-report, which
shows things like the largest files, the newest files, and core files. shows things like the largest files, the newest files, and core files.
It can be run from cron or as a daemon. It can be run from cron or as a daemon.
%prep %prep
%setup -q %setup -q
%patch %patch0
%build %build
./configure --prefix=%{_prefix} --mandir=%{_mandir} %configure
make make %{?_smp_mflags}
%install %install
mkdir -p $RPM_BUILD_ROOT/etc mkdir -p %{buildroot}/etc
cp %SOURCE1 $RPM_BUILD_ROOT/etc cp %{SOURCE1} %{buildroot}/etc
make install DESTDIR=$RPM_BUILD_ROOT make DESTDIR=%{buildroot} install %{?_smp_mflags}
install -D -m 644 doc/fs-report.8 $RPM_BUILD_ROOT%{_mandir}/man8/fs-report.8 install -D -m 644 doc/fs-report.8 %{buildroot}%{_mandir}/man8/fs-report.8
install -D -m 644 doc/fs-check.8 $RPM_BUILD_ROOT%{_mandir}/man8/fs-check.8 install -D -m 644 doc/fs-check.8 %{buildroot}%{_mandir}/man8/fs-check.8
%clean
rm -rf $RPM_BUILD_ROOT
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING NEWS README THANKS sample/crontab.add %doc AUTHORS ChangeLog COPYING NEWS README THANKS sample/crontab.add
%config(noreplace) /etc/fs-check.cf %config(noreplace) %{_sysconfdir}/fs-check.cf
%{_mandir}/man8/fs-check.8.gz %{_mandir}/man8/fs-check.8.gz
%{_mandir}/man8/fs-report.8.gz %{_mandir}/man8/fs-report.8.gz
%{_bindir}/fs-check %{_bindir}/fs-check
%{_bindir}/fs-report %{_bindir}/fs-report
%changelog %changelog
* Wed Jul 09 2008 hvogel@suse.de
- fix installation of man pages
* Fri Jul 04 2008 hvogel@suse.de
- update to version 0.9
* fix parsing of DEFAULT OWNER
- disable checks, wrong logfiles included
* 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
- fs-check expects fs-check.cfg in /var/adm rather then etc
( #231222 )
* Wed Aug 30 2006 mskibbe@suse.de
- update to version 0.7 which
o contains bugfixes
o fix make distcheck
o update copyright
* Sat Feb 25 2006 kukuk@suse.de
- Workaround configure checks for autobuild
- Don't start in "norun" mode per default
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Sep 07 2005 kukuk@suse.de
- Update to version 0.6
* Thu Jul 21 2005 kukuk@suse.de
- Update to version 0.5
* Tue Nov 02 2004 kukuk@suse.de
- Update to version 0.4
* Mon Jun 28 2004 kukuk@suse.de
- Initial version