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:            https://pypi.python.org/pypi/%{srcname}/%{version}
Source0:        http://kassiopeia.juls.savba.sk/~garabik/software/%{srcname}/%{name}_%{version}.tar.gz
BuildArch:      noarch
BuildRequires:  python2-devel

%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
%autosetup -n %{srcname}-%{version}

%build

%install
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}

%files
%license COPYING
%doc README COPYING
%{_bindir}/pydf
%{_mandir}/man1/pydf.1*
%config(noreplace) %{_sysconfdir}/pydfrc

%changelog
* Wed Mar 15 2017 Artem Goncharov <artem.goncharov@gmail.com> 12-1
- Update to version 12

* 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