no longer needed

epel10
Fabio Valentini 3 years ago
parent ca7152b7d8
commit 1bcf6eff1e
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

2
.gitignore vendored

@ -1,2 +0,0 @@
/alsa-0.5.0.crate
/alsa-0.6.0.crate

@ -1,3 +0,0 @@
# rust-alsa
The rust-alsa package

@ -1,2 +0,0 @@
* Fri Jun 25 2021 Rémi Lauzier <remilauzier@protonmail.com> - 0.5.0-1
- Initial package

@ -0,0 +1 @@
no longer needed

@ -1,73 +0,0 @@
# Generated by rust2rpm 20
# Deactivate tests because they need a sound card
# https://github.com/diwic/alsa-rs/issues/71
%bcond_with check
%global debug_package %{nil}
%global crate alsa
Name: rust-%{crate}
Version: 0.6.0
Release: %autorelease
Summary: Thin but safe wrappers for ALSA (Linux sound API)
# Upstream license specification: Apache-2.0/MIT
License: ASL 2.0 or MIT
URL: https://crates.io/crates/alsa
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging
%global _description %{expand:
Thin but safe wrappers for ALSA (Linux sound API).}
%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
%{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
%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

@ -1 +0,0 @@
SHA512 (alsa-0.6.0.crate) = a63354da0e643a68e28e32293d48f866c071332b1d17cf8349a79f28e45d6b9566d22f30c3001a862ea26c2b757aa9440b3f52c826a40b29c7881d12416f599b
Loading…
Cancel
Save