mdbook/mdbook.spec
Soc Virnyl Estela d1e8777a6a - Update to version 0.4.27:
* Update to 0.4.27
  * Also make sure releases use --locked
  * Make sure CI runs with --locked
  * Revert "bump 'toml' dependency"
  * Remove spammy `debug!` log from `path_to_root`
  * Update to 0.4.26
  * Update some direct dependencies
  * Add some comments about overflow-x
  * bump 'toml' dependency
  * Fix incorrect version command
  * Remove dependency to time 0.1.44
  * fix overflow-x on mobile
  * Remove the WebKit-specific scrollbar styling altogether
  * Add issue templates and update contributor docs
  * Make fonts part of the theme.
  * Fix MDBOOK_BOOK environment variable example
  * Thin scrollbars in Chrome and Safari to make them less assertive (#1483)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/mdbook?expand=0&rev=13
2023-02-15 09:54:25 +00:00

54 lines
1.7 KiB
RPMSpec

#
# spec file for package mdbook
#
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: mdbook
Version: 0.4.27
Release: 0
Summary: Create books from markdown
License: (Apache-2.0 OR MIT) AND Unicode-DFS-2016 AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR ISC OR MIT) AND (Apache-2.0 OR MIT) AND (Apache-2.0 OR Apache-2.0 WITH LLVM-exception OR MIT) AND (Apache-2.0 OR MIT OR Zlib) AND (MIT OR Unlicense) AND (Apache-2.0 OR Zlib OR MIT) AND Apache-2.0 AND BSD-3-Clause AND CC0-1.0 AND ISC AND MIT AND MPL-2.0
URL: https://github.com/rust-lang/mdBook
Source0: mdBook-%{version}.tar.xz
Source1: vendor.tar.xz
Source2: cargo_config
BuildRequires: cargo-packaging
BuildRequires: rust+cargo
%description
mdbook is a utility to create books from Markdown files
%prep
%autosetup -a1 -n mdBook-%{version}
mkdir .cargo
cp %{SOURCE2} .cargo/config
%build
%{cargo_build} --all-features
%install
%{cargo_install} --all-features
%check
%{cargo_test} --all-features
%files
%license LICENSE
%doc README.md CONTRIBUTING.md CHANGELOG.md
%{_bindir}/mdbook
%changelog