Name: mdbook Version: 0.5.3 Release: 2%{?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 %if 0%{?fedora} >= 44 BuildRequires: libngtcp2 %endif %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 * Sat May 23 2026 Dejan Lekic - 0.5.3 - Fix sidebar current-page highlighting for servers that strip .html extension - Fix global keypresses triggering when other elements are in focus - Fix nested admonitions using wrong header colors - Fix ?highlight= not removed from URL when highlights dismissed - Improve spacing in sidebar section headings - Improve error message for invalid Font Awesome icons - Fix download URL format for mdBook in CI guide - Update cargo dependencies * 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.