Blob Blame Raw
Summary:        Fully colorized df clone written in python
Name:           pydf
Version:        9
Release:        3%{?dist}.1
License:        Public Domain
Group:          Applications/System
Source:         http://kassiopeia.juls.savba.sk/~garabik/software/%{name}/%{name}_9.tar.gz
URL:            http://kassiopeia.juls.savba.sk/~garabik/software/%{name}/
Requires:       python >= 2.3
Patch0:         pydf-9-DumbStatus-remove-parens.patch
BuildArch:      noarch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

%description
pydf displays the amount of used and available space on your file systems,
just like df, but in colors. The output format is completely customizable.

%prep
%setup -q
%patch0 -p1 

%build

%install
rm -rf %{buildroot}
install -d %{buildroot}{%{_bindir},%{_sysconfdir},%{_mandir}/man1}

install -p pydf   %{buildroot}%{_bindir}
install -p pydfrc %{buildroot}%{_sysconfdir}
install -p pydf.1 %{buildroot}%{_mandir}/man1

%clean
rm -rf %{buildroot}

%files
%defattr(644,root,root,755)
%doc README INSTALL COPYING
%attr(755,root,root) %{_bindir}/pydf
%config(noreplace) %{_sysconfdir}/pydfrc

%{_mandir}/man1/pydf.1.gz

%changelog

* Sat May 29 2011 Clint Savage <herlo@fedoraproject.org> 9-3.1
- Fixing DumbStatus class for el5 by removing parens on class definitions

* Mon May 2 2011 Clint Savage <herlo@fedoraproject.org> 9-3
- Removing define and properly adding other docs

* Sun May 1 2011 Clint Savage <herlo@fedoraproject.org> 9-2
- Fixing minor packaging issues

* Fri Apr 29 2011 Clint Savage <herlo@fedoraproject.org> 9-1
- Initial package build