Name: mdbook Version: 0.5.2 Release: 1%{?dist} Summary: Creates a book from markdown files License: MPL-2.0 URL: https://crates.io/crates/mdbook Source0: https://raw.githubusercontent.com/rust-lang/mdBook/refs/heads/master/LICENSE BuildRequires: cargo %description mdBook is a utility to create modern online books from Markdown files. %prep #====----------------------------------------------------------------------------------------- prep cp %SOURCE0 . %build #=====--------------------------------------------------------------------------------------- build %install #=======----------------------------------------------------------------------------------- install cargo install %{name} --root %{buildroot}%{_prefix} strip %{buildroot}%{_bindir}/mdbook rm %{buildroot}%{_prefix}/.crates* %check #=====--------------------------------------------------------------------------------------- check %{buildroot}%{_bindir}/mdbook --version | grep %{version} %files #=====--------------------------------------------------------------------------------------- files %license LICENSE %{_bindir}/mdbook %changelog #=========------------------------------------------------------------------------------- changelog * Wed Feb 18 2026 Dejan Lekic - 0.5.2 - Major update with over 130 PRs since 0.4.52 - Split into multiple crates for better maintainability - Added sidebar heading navigation, definition lists, and admonitions support - Updated markdown parser (pulldown-cmark 0.13.0) - Various bug fixes and improvements * Fri Sep 12 2025 Dejan Lekic - 0.4.52 - Initial version of the mdbook RPM spec file.