Initial Fedora package

Signed-off-by: Michel Alexandre Salim <salimma@fedoraproject.org>
epel9
Michel Alexandre Salim 2 years ago
parent 059ba90a24
commit c5c0200613
No known key found for this signature in database
GPG Key ID: 8B229D2F7CCC04F2

1
.gitignore vendored

@ -0,0 +1 @@
/progpool-0.2.1.crate

@ -0,0 +1,68 @@
# Generated by rust2rpm 23
%bcond_without check
%global debug_package %{nil}
%global crate progpool
Name: rust-progpool
Version: 0.2.1
Release: %autorelease
Summary: Job pool with terminal progress bar
License: Apache-2.0
URL: https://crates.io/crates/progpool
Source: %{crates_source}
BuildRequires: rust-packaging >= 21
%global _description %{expand:
Job pool with terminal progress bar.}
%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}/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_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 (progpool-0.2.1.crate) = d6acb81b10bc89a1b953192e9fe52288531e7285b4e93ed05a46339e757f8eb2c624a3dd5f85b5a592a79b6f3f0c9db07f958f4e0a82f55a471c237e23609a30
Loading…
Cancel
Save