Initial import (deflate 0.8 compat package)

epel9
Fabio Valentini 3 years ago
parent 469ed61390
commit 96bac675af
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

4
.gitignore vendored

@ -0,0 +1,4 @@
/results_*/
/*.src.rpm
/deflate-0.8.6.crate

@ -1,3 +0,0 @@
# rust-deflate0.8
The rust-deflate0.8 package

@ -0,0 +1,108 @@
# Generated by rust2rpm 20
# * files that are required by tests are not included in published crates
%bcond_with check
%global debug_package %{nil}
%global crate deflate
Name: rust-%{crate}0.8
Version: 0.8.6
Release: %autorelease
Summary: DEFLATE, zlib and gzip encoder written in rust
# Upstream license specification: MIT/Apache-2.0
License: MIT or ASL 2.0
URL: https://crates.io/crates/deflate
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging
%global _description %{expand:
DEFLATE, zlib and gzip encoder written in rust.}
%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 LICENSE-APACHE LICENSE-MIT
%doc README.md changelog.md
%{cargo_registry}/%{crate}-%{version_no_tilde}/
%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 %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+benchmarks-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+benchmarks-devel %{_description}
This package contains library source intended for building other packages which
use the "benchmarks" feature of the "%{crate}" crate.
%files -n %{name}+benchmarks-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+gzip-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+gzip-devel %{_description}
This package contains library source intended for building other packages which
use the "gzip" feature of the "%{crate}" crate.
%files -n %{name}+gzip-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+gzip-header-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+gzip-header-devel %{_description}
This package contains library source intended for building other packages which
use the "gzip-header" feature of the "%{crate}" crate.
%files -n %{name}+gzip-header-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/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 (deflate-0.8.6.crate) = 7e2e23205c56cc4c834ade2a6a22b056253c32e29346907558117714a18d8433882a712711413addb15da79f9f59e089a06dfd680b756ab2725b500a49dc16b2
Loading…
Cancel
Save