Merged from SVN repos fedora and centos
This commit is contained in:
44
centos/SPECS/pydf.spec
Normal file
44
centos/SPECS/pydf.spec
Normal file
@@ -0,0 +1,44 @@
|
||||
Summary: Fully colorized df clone written in python
|
||||
Name: pydf
|
||||
Version: 12
|
||||
Release: 01.tvd%{?dist}
|
||||
License: Public Domain
|
||||
Group: Applications/System
|
||||
Source: https://pypi.python.org/packages/source/p/pydf/%{name}-%{version}.tar.gz
|
||||
URL: https://pypi.python.org/pypi/pydf
|
||||
Requires: python >= 2.3
|
||||
BuildArch: noarch
|
||||
|
||||
%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
|
||||
|
||||
%build
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
install -d $RPM_BUILD_ROOT{%{_bindir},%{_sysconfdir},%{_mandir}/man1}
|
||||
|
||||
install -p %{name} $RPM_BUILD_ROOT%{_bindir}
|
||||
install -p %{name}rc $RPM_BUILD_ROOT%{_sysconfdir}
|
||||
install -p %{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1
|
||||
|
||||
gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/%{name}.1 README
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(644,root,root,755)
|
||||
%doc README.gz INSTALL COPYING
|
||||
%attr(755,root,root) %{_bindir}/%{name}
|
||||
%config(noreplace) %{_sysconfdir}/%{name}rc
|
||||
|
||||
%{_mandir}/man1/%{name}.1.gz
|
||||
|
||||
%changelog
|
||||
* Fri Mar 25 2016 Daniel Steiner <elpito@bluewin.ch>
|
||||
- Initial package for CentOS 7.
|
||||
Reference in New Issue
Block a user