2019-12-10 20:52:37 +00:00
|
|
|
# Generated by rust2rpm 11
|
2019-04-08 14:35:34 +00:00
|
|
|
# * assert_cmd is not packaged
|
|
|
|
%bcond_with check
|
2019-07-14 16:30:23 +00:00
|
|
|
%global __cargo_skip_build 0
|
2019-04-08 14:35:34 +00:00
|
|
|
|
|
|
|
%global crate bat
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
2019-12-10 20:52:37 +00:00
|
|
|
Version: 0.12.1
|
|
|
|
Release: 1%{?dist}
|
2019-04-08 14:35:34 +00:00
|
|
|
Summary: cat(1) clone with wings
|
|
|
|
|
|
|
|
# Upstream license specification: MIT/Apache-2.0
|
|
|
|
License: MIT or ASL 2.0
|
|
|
|
URL: https://crates.io/crates/bat
|
|
|
|
Source: %{crates_source}
|
2019-06-07 18:43:41 +00:00
|
|
|
# Initial patched metadata
|
2019-12-10 20:52:37 +00:00
|
|
|
# * Bump console to 0.9, https://github.com/sharkdp/bat/pull/657
|
2019-06-07 18:43:41 +00:00
|
|
|
Patch0: bat-fix-metadata.diff
|
2019-04-08 14:35:34 +00:00
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
|
2019-07-14 16:30:23 +00:00
|
|
|
%global _description %{expand:
|
|
|
|
Cat(1) clone with wings.}
|
2019-04-08 14:35:34 +00:00
|
|
|
|
|
|
|
%description %{_description}
|
|
|
|
|
|
|
|
%package -n %{crate}
|
|
|
|
Summary: %{summary}
|
|
|
|
|
2019-06-01 00:21:49 +00:00
|
|
|
%description -n %{crate} %{_description}
|
2019-04-08 14:35:34 +00:00
|
|
|
|
|
|
|
%files -n %{crate}
|
|
|
|
%license LICENSE-MIT LICENSE-APACHE
|
|
|
|
%doc README.md
|
|
|
|
%{_bindir}/bat
|
|
|
|
%{_mandir}/man1/bat.1*
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
%cargo_prep
|
|
|
|
|
2019-07-14 16:30:23 +00:00
|
|
|
%generate_buildrequires
|
|
|
|
%cargo_generate_buildrequires
|
|
|
|
|
2019-04-08 14:35:34 +00:00
|
|
|
%build
|
|
|
|
%cargo_build
|
|
|
|
|
|
|
|
%install
|
|
|
|
%cargo_install
|
2019-07-14 16:30:23 +00:00
|
|
|
install -Dpm0644 -t %{buildroot}%{_mandir}/man1 \
|
|
|
|
doc/bat.1
|
2019-04-08 14:35:34 +00:00
|
|
|
|
|
|
|
%if %{with check}
|
|
|
|
%check
|
|
|
|
%cargo_test
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%changelog
|
2019-12-10 20:52:37 +00:00
|
|
|
* Tue Dec 10 2019 Josh Stone <jistone@redhat.com> - 0.12.1-1
|
|
|
|
- Update to 0.12.1
|
|
|
|
|
2019-07-26 20:36:12 +00:00
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.0-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-07-14 16:30:23 +00:00
|
|
|
* Sun Jul 14 18:28:38 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.11.0-3
|
|
|
|
- Update dirs to 2.0
|
|
|
|
|
2019-06-07 18:43:41 +00:00
|
|
|
* Fri Jun 07 2019 Josh Stone <jistone@redhat.com> - 0.11.0-2
|
|
|
|
- Bump git2 to 0.9
|
|
|
|
|
2019-06-01 00:21:49 +00:00
|
|
|
* Sat Jun 01 2019 Josh Stone <jistone@redhat.com> - 0.11.0-1
|
|
|
|
- Update to 0.11.0
|
|
|
|
|
2019-04-08 14:35:34 +00:00
|
|
|
* Sun Feb 10 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.10.0-1
|
|
|
|
- Update to 0.10.0
|
|
|
|
|
|
|
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
* Tue Nov 13 2018 Josh Stone <jistone@redhat.com> - 0.9.0-1
|
|
|
|
- Update to 0.9.0
|
|
|
|
|
|
|
|
* Sun Nov 04 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.8.0-1
|
|
|
|
- Update to 0.8.0
|
|
|
|
|
|
|
|
* Thu Oct 04 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.7.1-1
|
|
|
|
- Update to 0.7.1
|
|
|
|
|
|
|
|
* Thu Sep 13 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.7.0-1
|
|
|
|
- Update to 0.7.0
|
|
|
|
|
|
|
|
* Mon Sep 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.6.1-1
|
|
|
|
- Initial package
|