initial import

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
epel9
Igor Gnatenko 7 years ago
parent d18f1a0c8f
commit cda7e0f323

1
.gitignore vendored

@ -0,0 +1 @@
/permutohedron-0.2.2.crate

@ -0,0 +1,63 @@
# Generated by rust2rpm
%bcond_without check
%global debug_package %{nil}
%global crate permutohedron
Name: rust-%{crate}
Version: 0.2.2
Release: 3%{?dist}
Summary: Generate permutations of sequences
# https://github.com/bluss/permutohedron/issues/5
License: MIT or ASL 2.0
URL: https://crates.io/crates/permutohedron
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging
%description
%{summary}.
%package devel
Summary: %{summary}
BuildArch: noarch
%description devel
Generate permutations of sequences. Either lexicographical order permutations,
or a minimal swaps permutation sequence implemented using Heap's algorithm.
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
%doc README.rst
%{cargo_registry}/%{crate}-%{version}/
%exclude %{cargo_registry}/%{crate}-%{version}/{Makefile,custom.css}
%changelog
* Sat Sep 23 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.2-3
- Remove unneeded files
* Wed Jun 14 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.2-2
- Port to use rust-packaging
* Sun Feb 26 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.2-1
- Initial package

@ -0,0 +1 @@
SHA512 (permutohedron-0.2.2.crate) = 2e48574480aadef799655036145fda9a8a8f6ee02c726a3653562ccefb68d8cd89d06c6de81db86e788ccaa2a546912635e4a772b62b9cfb790ddcaa90d19d5d
Loading…
Cancel
Save