2020-02-16 06:51:06 +00:00
|
|
|
# Generated by rust2rpm 13
|
2019-02-24 13:24:52 +00:00
|
|
|
%bcond_without check
|
|
|
|
|
|
|
|
%global crate rpick
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
2020-03-19 13:59:19 +00:00
|
|
|
Version: 0.5.1
|
2020-02-16 06:51:06 +00:00
|
|
|
Release: 1%{?dist}
|
2019-02-24 13:24:52 +00:00
|
|
|
Summary: Helps you pick items from a list by various algorithms
|
|
|
|
|
|
|
|
# Upstream license specification: GPL-3.0
|
2020-02-16 06:51:06 +00:00
|
|
|
License: GPLv3
|
2019-02-24 13:24:52 +00:00
|
|
|
URL: https://crates.io/crates/rpick
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
2019-06-19 11:20:57 +00:00
|
|
|
%if %{__cargo_skip_build}
|
|
|
|
BuildArch: noarch
|
|
|
|
%endif
|
2019-02-24 13:24:52 +00:00
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
|
2019-06-19 11:20:57 +00:00
|
|
|
%global _description %{expand:
|
|
|
|
Helps you pick items from a list by various algorithms. Example uses: pick a
|
|
|
|
restaurant you haven't been to in a while, or an album to listen to.}
|
2019-02-24 13:24:52 +00:00
|
|
|
|
|
|
|
%description %{_description}
|
|
|
|
|
2019-06-19 11:20:57 +00:00
|
|
|
%if ! %{__cargo_skip_build}
|
2019-02-24 13:24:52 +00:00
|
|
|
%package -n %{crate}
|
|
|
|
Summary: %{summary}
|
2020-02-16 06:51:06 +00:00
|
|
|
# Install all deps (without check), grab their licenses and make it simple
|
|
|
|
# * ASL 2.0 or MIT
|
2020-03-19 13:59:19 +00:00
|
|
|
# * MIT
|
|
|
|
# * MIT or ASL 2.0
|
2020-02-16 06:51:06 +00:00
|
|
|
License: GPLv3 and MIT
|
2019-02-24 13:24:52 +00:00
|
|
|
|
2019-04-11 14:12:43 +00:00
|
|
|
%description -n %{crate} %{_description}
|
2019-02-24 13:24:52 +00:00
|
|
|
|
|
|
|
%files -n %{crate}
|
|
|
|
%license LICENSE
|
|
|
|
%doc README.md
|
|
|
|
%{_bindir}/rpick
|
2019-06-19 11:20:57 +00:00
|
|
|
%endif
|
2019-02-24 13:24:52 +00:00
|
|
|
|
2019-04-11 14:12:43 +00:00
|
|
|
%package devel
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description devel %{_description}
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
which use "%{crate}" crate.
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%license LICENSE
|
|
|
|
%doc README.md
|
2020-02-16 06:51:06 +00:00
|
|
|
%{cargo_registry}/%{crate}-%{version_no_tilde}/
|
2019-04-11 14:12:43 +00:00
|
|
|
|
|
|
|
%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 "default" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
%files -n %{name}+default-devel
|
2020-02-16 06:51:06 +00:00
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
2019-04-11 14:12:43 +00:00
|
|
|
|
2019-02-24 13:24:52 +00:00
|
|
|
%prep
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
%cargo_prep
|
|
|
|
|
2019-06-19 11:20:57 +00:00
|
|
|
%generate_buildrequires
|
|
|
|
%cargo_generate_buildrequires
|
|
|
|
|
2019-02-24 13:24:52 +00:00
|
|
|
%build
|
|
|
|
%cargo_build
|
|
|
|
|
|
|
|
%install
|
|
|
|
%cargo_install
|
|
|
|
|
|
|
|
%if %{with check}
|
|
|
|
%check
|
|
|
|
%cargo_test
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%changelog
|
2020-03-19 13:59:19 +00:00
|
|
|
* Thu Mar 19 14:58:25 CET 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 0.5.1-1
|
|
|
|
- Update to 0.5.1
|
|
|
|
|
2020-02-16 06:51:06 +00:00
|
|
|
* Sun Feb 16 07:32:09 CET 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 0.5.0-1
|
|
|
|
- Update to 0.5.0
|
|
|
|
|
2020-01-30 21:49:00 +00:00
|
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.0-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2019-11-19 00:00:35 +00:00
|
|
|
* Mon Nov 18 2019 Randy Barlow <bowlofeggs@fedoraproject.org> - 0.4.0-4
|
|
|
|
- Correct the license to reflect the licenses of all dependencies, as they are bundled.
|
|
|
|
|
2019-07-26 21:55:00 +00:00
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-06-19 11:20:57 +00:00
|
|
|
* Wed Jun 19 13:20:06 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.4.0-2
|
|
|
|
- Update dirs to 2
|
|
|
|
|
2019-05-12 16:22:31 +00:00
|
|
|
* Sun May 12 2019 Randy Barlow <bowlofeggs@fedoraproject.org> - 0.4.0-1
|
|
|
|
- Update to 0.4.0.
|
|
|
|
- https://gitlab.com/bowlofeggs/rpick/blob/0.4.0/CHANGELOG.md
|
|
|
|
|
2019-05-04 22:56:27 +00:00
|
|
|
* Sat May 04 2019 Randy Barlow <bowlofeggs@fedoraproject.org> - 0.3.1-1
|
|
|
|
- Update to 0.3.1 (#1698689).
|
|
|
|
- https://gitlab.com/bowlofeggs/rpick/blob/0.3.1/CHANGELOG.md
|
|
|
|
|
2019-04-11 14:12:43 +00:00
|
|
|
* Thu Apr 11 16:11:59 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.3.0-1
|
|
|
|
- Update to 0.3.0
|
|
|
|
|
2019-03-13 08:19:11 +00:00
|
|
|
* Wed Mar 13 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.0-1
|
|
|
|
- Update to 0.2.0
|
|
|
|
|
2019-03-05 17:07:29 +00:00
|
|
|
* Tue Mar 05 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.0-1
|
|
|
|
- Update to 0.1.0
|
|
|
|
|
2019-02-24 13:24:52 +00:00
|
|
|
* Fri Feb 22 2019 Randy Barlow <randy@electronsweatshop.com> - 0.0.0-1
|
|
|
|
- Initial package
|