From 05e6fc090072a785525a4acb6d47c3a52b125fb8 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Wed, 13 Sep 2023 14:19:28 +0200 Subject: [PATCH] Initial import (#2237909) --- .gitignore | 1 + README.md | 3 -- rust-color-print-proc-macro.spec | 81 ++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 83 insertions(+), 3 deletions(-) create mode 100644 .gitignore delete mode 100644 README.md create mode 100644 rust-color-print-proc-macro.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9338dbf --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/color-print-proc-macro-0.3.5.crate diff --git a/README.md b/README.md deleted file mode 100644 index 8048a9c..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-color-print-proc-macro - -The rust-color-print-proc-macro package diff --git a/rust-color-print-proc-macro.spec b/rust-color-print-proc-macro.spec new file mode 100644 index 0000000..7c9c8a3 --- /dev/null +++ b/rust-color-print-proc-macro.spec @@ -0,0 +1,81 @@ +# Generated by rust2rpm 24 +%bcond_without check +%global debug_package %{nil} + +%global crate color-print-proc-macro + +Name: rust-color-print-proc-macro +Version: 0.3.5 +Release: %autorelease +Summary: Implementation for the package color-print + +License: MIT OR Apache-2.0 +URL: https://crates.io/crates/color-print-proc-macro +Source: %{crates_source} + +BuildRequires: rust-packaging >= 21 + +%global _description %{expand: +Implementation for the package color-print.} + +%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 + +%package -n %{name}+terminfo-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+terminfo-devel %{_description} + +This package contains library source intended for building other packages which +use the "terminfo" feature of the "%{crate}" crate. + +%files -n %{name}+terminfo-devel +%ghost %{crate_instdir}/Cargo.toml + +%prep +%autosetup -n %{crate}-%{version_no_tilde} -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..5587353 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (color-print-proc-macro-0.3.5.crate) = 03ff7fa8b80ac3bc2186853787a592b1d8fac75ad32bbdf5f2ff9ba6c27a56c57b90c0d23f40cb43595a4e4f9f6d817d2525e8127f62b5b94f58dc7070a7e3f9