diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..7c84c86 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/anstyle-svg-0.1.4.crate diff --git a/README.md b/README.md deleted file mode 100644 index e132cf5..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-anstyle-svg - -The rust-anstyle-svg package diff --git a/rust-anstyle-svg.spec b/rust-anstyle-svg.spec new file mode 100644 index 0000000..3958794 --- /dev/null +++ b/rust-anstyle-svg.spec @@ -0,0 +1,70 @@ +# Generated by rust2rpm 26 +# * outdated dev-dependencies: snapbox ^0.5 +%bcond_with check +%global debug_package %{nil} + +%global crate anstyle-svg + +Name: rust-anstyle-svg +Version: 0.1.4 +Release: %autorelease +Summary: Convert ANSI escape codes to SVG + +License: MIT OR Apache-2.0 +URL: https://crates.io/crates/anstyle-svg +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +Convert ANSI escape codes to SVG.} + +%description %{_description} + +%package devel +Summary: %{summary} +BuildArch: noarch + +%description devel %{_description} + +This package contains library source intended for building other packages which +use the "%{crate}" crate. + +%files devel +%license %{crate_instdir}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-MIT +%doc %{crate_instdir}/README.md +%{crate_instdir}/ + +%package -n %{name}+default-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+default-devel %{_description} + +This package contains library source intended for building other packages which +use the "default" feature of the "%{crate}" crate. + +%files -n %{name}+default-devel +%ghost %{crate_instdir}/Cargo.toml + +%prep +%autosetup -n %{crate}-%{version} -p1 +%cargo_prep + +%generate_buildrequires +%cargo_generate_buildrequires + +%build +%cargo_build + +%install +%cargo_install + +%if %{with check} +%check +%cargo_test +%endif + +%changelog +%autochangelog diff --git a/sources b/sources new file mode 100644 index 0000000..4385714 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (anstyle-svg-0.1.4.crate) = 854dfea3d493439b22cbc6e44e5e16fd578691e4743508ab84b9c256108b5b017e96a31150b6bad613bd12e2b5627aa70bf3239bb9bb9f0cfa1507c4bfed4844