c56a482
Summary:        Fully colorized df clone written in python
c56a482
Name:           pydf
c56a482
Version:        9
d441ef5
Release:        3%{?dist}.1
c56a482
License:        Public Domain
c56a482
Group:          Applications/System
c56a482
Source:         http://kassiopeia.juls.savba.sk/~garabik/software/%{name}/%{name}_9.tar.gz
c56a482
URL:            http://kassiopeia.juls.savba.sk/~garabik/software/%{name}/
c56a482
Requires:       python >= 2.3
d441ef5
Patch0:         pydf-9-DumbStatus-remove-parens.patch
c56a482
BuildArch:      noarch
d441ef5
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
c56a482
c56a482
%description
c56a482
pydf displays the amount of used and available space on your file systems,
c56a482
just like df, but in colors. The output format is completely customizable.
c56a482
c56a482
%prep
c56a482
%setup -q
d441ef5
%patch0 -p1 
c56a482
c56a482
%build
c56a482
c56a482
%install
d441ef5
rm -rf %{buildroot}
d441ef5
install -d %{buildroot}{%{_bindir},%{_sysconfdir},%{_mandir}/man1}
c56a482
d441ef5
install -p pydf   %{buildroot}%{_bindir}
d441ef5
install -p pydfrc %{buildroot}%{_sysconfdir}
d441ef5
install -p pydf.1 %{buildroot}%{_mandir}/man1
c56a482
c56a482
%clean
d441ef5
rm -rf %{buildroot}
c56a482
c56a482
%files
c56a482
%defattr(644,root,root,755)
d441ef5
%doc README INSTALL COPYING
c56a482
%attr(755,root,root) %{_bindir}/pydf
c56a482
%config(noreplace) %{_sysconfdir}/pydfrc
c56a482
c56a482
%{_mandir}/man1/pydf.1.gz
c56a482
c56a482
%changelog
c56a482
d441ef5
* Sat May 29 2011 Clint Savage <herlo@fedoraproject.org> 9-3.1
d441ef5
- Fixing DumbStatus class for el5 by removing parens on class definitions
d441ef5
c56a482
* Mon May 2 2011 Clint Savage <herlo@fedoraproject.org> 9-3
c56a482
- Removing define and properly adding other docs
c56a482
c56a482
* Sun May 1 2011 Clint Savage <herlo@fedoraproject.org> 9-2
c56a482
- Fixing minor packaging issues
c56a482
c56a482
* Fri Apr 29 2011 Clint Savage <herlo@fedoraproject.org> 9-1
c56a482
- Initial package build