From 7c880ff849d63e8c2405f7041f5ba0512081e378235b09be27ecf1757ede951b Mon Sep 17 00:00:00 2001 From: William Brown Date: Sun, 6 Nov 2022 23:14:24 +0000 Subject: [PATCH] Accepting request 1033683 from home:uncomfyhalomacro I want to maintain mdbook in devel:languages:rust. It's from rust-lang so I think it belongs there. OBS-URL: https://build.opensuse.org/request/show/1033683 OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/mdbook?expand=0&rev=1 --- .gitattributes | 23 ++++++++++++++++++++++ .gitignore | 1 + _service | 8 ++++++++ cargo_config | 5 +++++ mdbook.changes | 4 ++++ mdbook.spec | 53 ++++++++++++++++++++++++++++++++++++++++++++++++++ v0.4.21.tar.gz | 3 +++ vendor.tar.gz | 3 +++ 8 files changed, 100 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 _service create mode 100644 cargo_config create mode 100644 mdbook.changes create mode 100644 mdbook.spec create mode 100644 v0.4.21.tar.gz create mode 100644 vendor.tar.gz diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_service b/_service new file mode 100644 index 0000000..cf0bb2c --- /dev/null +++ b/_service @@ -0,0 +1,8 @@ + + + v0.4.21.tar.gz + gz + true + + + diff --git a/cargo_config b/cargo_config new file mode 100644 index 0000000..6fb4ff4 --- /dev/null +++ b/cargo_config @@ -0,0 +1,5 @@ +[source.crates-io] +replace-with = "vendored-sources" + +[source.vendored-sources] +directory = "vendor" \ No newline at end of file diff --git a/mdbook.changes b/mdbook.changes new file mode 100644 index 0000000..711eba1 --- /dev/null +++ b/mdbook.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Sat Nov 5 11:42:04 UTC 2022 - Soc Virnyl Estela + +- Initial spec for mdbook 0.4.21 diff --git a/mdbook.spec b/mdbook.spec new file mode 100644 index 0000000..136191d --- /dev/null +++ b/mdbook.spec @@ -0,0 +1,53 @@ +# +# spec file for package mdbook +# +# Copyright (c) 2022 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.21 +Release: 0 +Summary: Create books from markdown +License: ( (MIT OR Apache-2.0) 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 WITH LLVM-exception OR Apache-2.0 OR MIT ) AND ( MIT OR Apache-2.0 OR Zlib ) AND ( Unlicense OR MIT ) AND ( Zlib OR Apache-2.0 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: %{url}/archive/refs/tags/v%{version}.tar.gz +Source1: vendor.tar.gz +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} + +%install +%{cargo_install} + +%check +%{cargo_test} + +%files +%license LICENSE +%doc README.md CONTRIBUTING.md CHANGELOG.md +%{_bindir}/mdbook + +%changelog diff --git a/v0.4.21.tar.gz b/v0.4.21.tar.gz new file mode 100644 index 0000000..a9e5aea --- /dev/null +++ b/v0.4.21.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:17385837070c6a312eae4717fe0bfdd259ce07b4b653b5c258b4389062df886d +size 1513223 diff --git a/vendor.tar.gz b/vendor.tar.gz new file mode 100644 index 0000000..f2f6488 --- /dev/null +++ b/vendor.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fa5edda783ef78f6faeffc432af1c1f35e52a000cd8efe213a6addefcae5f102 +size 25584481