Blob Blame Raw
%global srcname pydf

Summary:        Fully colorized df clone written in python
Name:           pydf
Version:        12
Release:        1%{?dist}
License:        Public Domain
Group:          Applications/System
URL:  {srcname}/%{version}
BuildArch:      noarch
BuildRequires:  python2-devel

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.

%autosetup -n %{srcname}-%{version}


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

%license COPYING
%config(noreplace) %{_sysconfdir}/pydfrc

* Wed Mar 15 2017 Artem Goncharov <> 12-1
- Update to version 12

* Mon May 2 2011 Clint Savage <> 9-3
- Removing define and properly adding other docs

* Sun May 1 2011 Clint Savage <> 9-2
- Fixing minor packaging issues

* Fri Apr 29 2011 Clint Savage <> 9-1
- Initial package build