File dfeta.spec of Package dfeta

# norootforbuild

Name:				 dfeta
Version:			 1.0
Release:			 0
Summary:			 Disk Free Space ETA Estimation Tool
Source:			 http://cade.datamax.bg/away/dfeta/dfeta-%{version}.tar.gz
Patch1:			 dfeta-use_df_in_posix_mode.patch
URL:				 http://cade.datamax.bg/away/dfeta/
Group:			 System/Monitoring
License:			 GNU General Public License version 2 or later (GPL v2 or later)
BuildRoot:		 %{_tmppath}/build-%{name}-%{version}
Requires:		 perl
Requires:		 perl(Data::Dumper)
Requires:		 perl(Storable)
Requires:		 perl(Math::BigFloat)
BuildRequires:	 perl
BuildRequires:	 perl(Data::Dumper)
BuildRequires:	 perl(Storable)
BuildRequires:	 perl(Math::BigFloat)
BuildArch:		 noarch

%description
dfeta samples disk freespace information on regular periods. then it can show a
rough estimate time when disk/device will be full.

%prep
%setup -q
%patch1 -p1

%build

%install
%__install -D -m0755 dfeta "%{buildroot}%{_bindir}/dfeta"

%clean
%__rm -rf "%{buildroot}"

%files
%defattr(-,root,root)
%doc COPYING HISTORY README
%{_bindir}/dfeta

%changelog
# vim: set sw=3 ts=3 noet:
# Local Variables:
# mode: rpm-spec
# tab-width: 3
# End: