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