Initial import (fedora#2085418).

epel9
Jan Baudisch 3 years ago
parent a55fd2b935
commit 4f21c3ae0c
No known key found for this signature in database
GPG Key ID: F2233E7216A55A85

1
.gitignore vendored

@ -0,0 +1 @@
/rmpv-1.0.0.crate

@ -0,0 +1,107 @@
# Generated by rust2rpm 21
%bcond_without check
%global debug_package %{nil}
%global crate rmpv
Name: rust-%{crate}
Version: 1.0.0
Release: %autorelease
Summary: Value variant for RMP
# Upstream license specification: MIT
License: MIT
URL: https://crates.io/crates/rmpv
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging >= 21
%global _description %{expand:
Value variant for RMP.}
%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
%doc %{crate_instdir}/CHANGELOG.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}+serde-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+serde-devel %{_description}
This package contains library source intended for building other packages which
use the "serde" feature of the "%{crate}" crate.
%files -n %{name}+serde-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+serde_bytes-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+serde_bytes-devel %{_description}
This package contains library source intended for building other packages which
use the "serde_bytes" feature of the "%{crate}" crate.
%files -n %{name}+serde_bytes-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+with-serde-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+with-serde-devel %{_description}
This package contains library source intended for building other packages which
use the "with-serde" feature of the "%{crate}" crate.
%files -n %{name}+with-serde-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

@ -0,0 +1 @@
SHA512 (rmpv-1.0.0.crate) = 7d10560603064d50e03b439e8f0956d9ff01ae15bc3cdb8980cf9de7d5b52927903e7dbaa84357d658241ada6282be209ef4f0cefe92dd34079db4b891761665
Loading…
Cancel
Save