Package bmap-tools: Specfile

Name: bmap-tools
Version: 3.9.0
Release: alt1

Summary: The better dd for embedded projects, based on block maps.

License: GPL-2.0
Group: Development/Python3
Url: https://github.com/yoctoproject/bmaptool

Source: %name-%version.tar
BuildArch: noarch

BuildRequires: rpm-build-python3
BuildRequires: python3(hatchling)

%description
bmaptool is a generic tool for creating the block map (bmap) for
a file and copying files using the block map. The idea is that
large files, like raw system image files, can be copied or flashed
a lot faster and more reliably with bmaptool than with traditional
tools, like dd or cp.

%prep
%setup -n %name-%version

%build
%pyproject_build

%install
%pyproject_install
install -d %{buildroot}/%{_mandir}/man1
install -m644 docs/man1/bmaptool.1 %{buildroot}/%{_mandir}/man1

%files
%_bindir/bmaptool
%{_mandir}/man1/bmaptool.1*
%python3_sitelibdir/bmaptool/
%python3_sitelibdir/bmaptool-%version.dist-info/

%changelog
* Thu Jun 19 2025 Vladimir Didenko <cow@altlinux.org> 3.9.0-alt1
- New version

* Tue Sep 5 2023 Vladimir Didenko <cow@altlinux.org> 3.7-alt1
- New version

* Sat Nov 26 2022 Vladimir Didenko <cow@altlinux.org> 3.6-alt2
- Pack man page

* Fri Nov 25 2022 Vladimir Didenko <cow@altlinux.org> 3.6-alt1
- Initial build for Sisyphus