5efcb5c
Name:           btrfs-heatmap
4cb55ac
Version:        9
fb87247
Release:        2%{?dist}
5efcb5c
Summary:        Visualize the layout of data on your btrfs filesystem over time
5efcb5c
Juan Orti Alcaine b7a8676
License:        MIT
5efcb5c
URL:            https://github.com/knorrie/btrfs-heatmap
Juan Orti Alcaine 33cffc0
Source0:        https://github.com/knorrie/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
5efcb5c
5efcb5c
BuildArch:      noarch
Juan Orti Alcaine b7a8676
Requires:       python3-btrfs >= 10
5efcb5c
Suggests:       %{name}-doc = %{version}-%{release}
5efcb5c
5efcb5c
%description
5efcb5c
The btrfs heatmap script creates a visualization of how a btrfs filesystem is
5efcb5c
utilizing the underlying disk space of the block devices that are added to it.
5efcb5c
5efcb5c
%package doc
5efcb5c
Summary:        Documentation for %{name}
5efcb5c
5efcb5c
%description doc
5efcb5c
The btrfs heatmap script creates a visualization of how a btrfs filesystem is
5efcb5c
utilizing the underlying disk space of the block devices that are added to it.
5efcb5c
5efcb5c
This package contains the documentation.
5efcb5c
5efcb5c
%prep
94f2713
%autosetup
5efcb5c
# Remove execution bit from doc
5efcb5c
find doc -type f -print0 | xargs -0 chmod 0644
5efcb5c
5efcb5c
%build
5efcb5c
5efcb5c
%install
4cb55ac
install -D -p -m 0755 btrfs-heatmap %{buildroot}%{_bindir}/btrfs-heatmap
4cb55ac
install -D -p -m 0644 man/btrfs-heatmap.1 %{buildroot}%{_mandir}/man1/btrfs-heatmap.1
5efcb5c
5efcb5c
%files
5efcb5c
%license COPYING
5efcb5c
%{_bindir}/btrfs-heatmap
4cb55ac
%{_mandir}/man1/btrfs-heatmap.1*
5efcb5c
5efcb5c
%files doc
Juan Orti Alcaine b7a8676
%doc README.md CHANGES doc
5efcb5c
%license COPYING
5efcb5c
5efcb5c
%changelog
fb87247
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 9-2
fb87247
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
fb87247
4cb55ac
* Thu Oct 15 2020 Juan Orti Alcaine <jortialc@redhat.com> - 9-1
4cb55ac
- Version 9 (#1888432)
4cb55ac
0af8564
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 8-5
0af8564
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
0af8564
8834587
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 8-4
8834587
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
8834587
ed49c40
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 8-3
ed49c40
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
ed49c40
2d7f6a5
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 8-2
2d7f6a5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
2d7f6a5
Juan Orti Alcaine b7a8676
* Sat Jan 26 2019 Juan Orti Alcaine <jorti@fedoraproject.org> - 8-1
Juan Orti Alcaine b7a8676
- Version 8
Juan Orti Alcaine b7a8676
- License changed to MIT
Juan Orti Alcaine b7a8676
98fb6f7
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 7-3
98fb6f7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
98fb6f7
4a1c773
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 7-2
4a1c773
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
4a1c773
Juan Orti Alcaine 33cffc0
* Tue Sep 26 2017 Juan Orti Alcaine <jorti@fedoraproject.org> - 7-1
Juan Orti Alcaine 33cffc0
- Version 7
Juan Orti Alcaine 33cffc0
47a27b5
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 6-2
47a27b5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
47a27b5
94f2713
* Thu Mar 30 2017 Juan Orti Alcaine <jorti@fedoraproject.org> - 6-1
94f2713
- Version 6
94f2713
5efcb5c
* Mon Feb 20 2017 Juan Orti Alcaine <jorti@fedoraproject.org> - 5-2.20170222git8c9b111
5efcb5c
- Split doc in its own subpackage
5efcb5c
- Preserve timestamp when installing
5efcb5c
5efcb5c
* Mon Feb 20 2017 Juan Orti Alcaine <jorti@fedoraproject.org> - 5-1.20170222git8c9b111
5efcb5c
- Initial package