initial import

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
epel9
Igor Gnatenko 6 years ago
parent b5b2ac9fa6
commit a49d7f0af3
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

1
.gitignore vendored

@ -0,0 +1 @@
/termios-0.3.0.crate

@ -0,0 +1,57 @@
# Generated by rust2rpm
%bcond_without check
%global debug_package %{nil}
%global crate termios
Name: rust-%{crate}
Version: 0.3.0
Release: 1%{?dist}
Summary: Safe bindings for the termios library
License: MIT
URL: https://crates.io/crates/termios
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging
# [dependencies]
BuildRequires: (crate(libc) >= 0.2.0 with crate(libc) < 0.3.0)
%description
%{summary}.
%package devel
Summary: %{summary}
BuildArch: noarch
%description devel
Safe bindings for the termios library.
This package contains library source intended for building other packages
which use %{crate} from crates.io.
%prep
%autosetup -n %{crate}-%{version} -p1
%cargo_prep
%build
%cargo_build
%install
%cargo_install
%if %{with check}
%check
%cargo_test
%endif
%files devel
%license LICENSE
%doc README.md
%{cargo_registry}/%{crate}-%{version}/
%changelog
* Mon Sep 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.3.0-1
- Initial package

@ -0,0 +1 @@
SHA512 (termios-0.3.0.crate) = 82b4dcedd22df9b2ec861928f5618644fee1097225b83979ab4756178707c5bf3b6e619eab6aeea944b1f2c281a238bb29827dbf8db077d387a1b7204926fc56
Loading…
Cancel
Save