initial import

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

1
.gitignore vendored

@ -0,0 +1 @@
/structopt-0.1.7.crate

@ -0,0 +1,61 @@
# Generated by rust2rpm
%bcond_without check
%global debug_package %{nil}
%global crate structopt
Name: rust-%{crate}
Version: 0.1.7
Release: 1%{?dist}
Summary: Parse command line argument by defining a struct
License: WTFPL
URL: https://crates.io/crates/structopt
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging
# [dependencies]
BuildRequires: (crate(clap) >= 2.20.0 with crate(clap) < 3.0.0)
%if %{with check}
# [dev-dependencies]
BuildRequires: (crate(structopt-derive) >= 0.1.6 with crate(structopt-derive) < 0.2.0)
%endif
%description
%{summary}.
%package devel
Summary: %{summary}
BuildArch: noarch
%description devel
Parse command line argument by defining a struct.
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 COPYING
%doc README.md
%{cargo_registry}/%{crate}-%{version}/
%changelog
* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.7-1
- Initial package

@ -0,0 +1 @@
SHA512 (structopt-0.1.7.crate) = a8d1049986567a9590debe3df2e1971b84f28ac386a3ccb8e4e7bde283712d215010a894fb66e7309adc805121ff30fb19294a350169df97668278f32023555f
Loading…
Cancel
Save