Blob Blame History Raw
Name:           btrfs-heatmap
Version:        7
Release:        2%{?dist}
Summary:        Visualize the layout of data on your btrfs filesystem over time

License:        GPLv2
URL:            https://github.com/knorrie/btrfs-heatmap
Source0:        https://github.com/knorrie/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz

BuildArch:      noarch
Requires:       python3-btrfs
Suggests:       %{name}-doc = %{version}-%{release}

%description
The btrfs heatmap script creates a visualization of how a btrfs filesystem is
utilizing the underlying disk space of the block devices that are added to it.

%package doc
Summary:        Documentation for %{name}

%description doc
The btrfs heatmap script creates a visualization of how a btrfs filesystem is
utilizing the underlying disk space of the block devices that are added to it.

This package contains the documentation.

%prep
%autosetup
# Remove execution bit from doc
find doc -type f -print0 | xargs -0 chmod 0644

%build

%install
install -D -p -m 0755 heatmap.py %{buildroot}%{_bindir}/btrfs-heatmap

%files
%license COPYING
%{_bindir}/btrfs-heatmap

%files doc
%doc README.md doc
%license COPYING

%changelog
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 7-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

* Tue Sep 26 2017 Juan Orti Alcaine <jorti@fedoraproject.org> - 7-1
- Version 7

* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild

* Thu Mar 30 2017 Juan Orti Alcaine <jorti@fedoraproject.org> - 6-1
- Version 6

* Mon Feb 20 2017 Juan Orti Alcaine <jorti@fedoraproject.org> - 5-2.20170222git8c9b111
- Split doc in its own subpackage
- Preserve timestamp when installing

* Mon Feb 20 2017 Juan Orti Alcaine <jorti@fedoraproject.org> - 5-1.20170222git8c9b111
- Initial package