You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
173 lines
5.5 KiB
173 lines
5.5 KiB
1 year ago
|
## START: Set by rpmautospec
|
||
|
## (rpmautospec version 0.3.5)
|
||
|
## RPMAUTOSPEC: autorelease, autochangelog
|
||
|
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
|
||
|
release_number = 1;
|
||
|
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
|
||
|
print(release_number + base_release_number - 1);
|
||
|
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
|
||
|
## END: Set by rpmautospec
|
||
|
|
||
|
# Generated by rust2rpm 25
|
||
|
# * tests can only be run on a real TTY
|
||
|
%bcond_with check
|
||
|
%global debug_package %{nil}
|
||
|
|
||
|
%global crate termion
|
||
|
|
||
|
Name: rust-termion
|
||
|
Version: 2.0.3
|
||
|
Release: %autorelease
|
||
|
Summary: Bindless library for manipulating terminals
|
||
|
|
||
|
License: MIT
|
||
|
URL: https://crates.io/crates/termion
|
||
|
Source: %{crates_source}
|
||
|
# Automatically generated patch to strip dependencies and normalize metadata
|
||
|
Patch: termion-fix-metadata-auto.diff
|
||
|
# Manually created patch for downstream crate metadata changes
|
||
|
# * bump numtoa from 0.1 to 0.2.3
|
||
|
Patch: termion-fix-metadata.diff
|
||
|
# * port to numtoa 0.2:
|
||
|
# https://gitlab.redox-os.org/redox-os/termion/merge_requests/153
|
||
|
Patch: 0001-Update-numtoa.patch
|
||
|
|
||
|
BuildRequires: cargo-rpm-macros >= 24
|
||
|
|
||
|
%global _description %{expand:
|
||
|
A bindless library for manipulating terminals.}
|
||
|
|
||
|
%description %{_description}
|
||
|
|
||
|
%package devel
|
||
|
Summary: %{summary}
|
||
|
BuildArch: noarch
|
||
|
|
||
|
%description devel %{_description}
|
||
|
|
||
|
This package contains library source intended for building other packages which
|
||
|
use the "%{crate}" crate.
|
||
|
|
||
|
%files devel
|
||
|
%license %{crate_instdir}/LICENSE
|
||
|
%doc %{crate_instdir}/README.md
|
||
|
%{crate_instdir}/
|
||
|
|
||
|
%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 the "default" feature of the "%{crate}" crate.
|
||
|
|
||
|
%files -n %{name}+default-devel
|
||
|
%ghost %{crate_instdir}/Cargo.toml
|
||
|
|
||
|
%package -n %{name}+serde-devel
|
||
|
Summary: %{summary}
|
||
|
BuildArch: noarch
|
||
|
|
||
|
%description -n %{name}+serde-devel %{_description}
|
||
|
|
||
|
This package contains library source intended for building other packages which
|
||
|
use the "serde" feature of the "%{crate}" crate.
|
||
|
|
||
|
%files -n %{name}+serde-devel
|
||
|
%ghost %{crate_instdir}/Cargo.toml
|
||
|
|
||
|
%prep
|
||
|
%autosetup -n %{crate}-%{version} -p1
|
||
|
%cargo_prep
|
||
|
|
||
|
%generate_buildrequires
|
||
|
%cargo_generate_buildrequires
|
||
|
|
||
|
%build
|
||
|
%cargo_build
|
||
|
|
||
|
%install
|
||
|
%cargo_install
|
||
|
|
||
|
%if %{with check}
|
||
|
%check
|
||
|
%cargo_test
|
||
|
%endif
|
||
|
|
||
|
%changelog
|
||
|
* Mon Jan 15 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 2.0.3-1
|
||
|
- Rebuilt for MSVSphere 9.3
|
||
|
|
||
|
* Thu Nov 09 2023 Fabio Valentini <decathorpe@gmail.com> - 2.0.3-1
|
||
|
- Update to version 2.0.3; Fixes RHBZ#2247936
|
||
|
|
||
|
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-2
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||
|
|
||
|
* Mon May 22 2023 Michel Alexandre Salim <salimma@fedoraproject.org> - 2.0.1-1
|
||
|
- Update to 2.0.1
|
||
|
|
||
|
* Thu May 18 2023 Fabio Valentini <decathorpe@gmail.com> - 1.5.6-7
|
||
|
- Regenerate with rust2rpm v24
|
||
|
|
||
|
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.6-5
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||
|
|
||
|
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.6-4
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||
|
|
||
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.6-3
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||
|
|
||
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.6-2
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||
|
|
||
|
* Fri Mar 26 2021 Fabio Valentini <decathorpe@gmail.com> - 1.5.6-1
|
||
|
- Update to version 1.5.6.
|
||
|
- Fixes RHBZ#1920668
|
||
|
|
||
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.5-5
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||
|
|
||
|
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.5-4
|
||
|
- Second attempt - Rebuilt for
|
||
|
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||
|
|
||
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.5-3
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||
|
|
||
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.5-2
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||
|
|
||
|
* Mon Jan 27 2020 Josh Stone <jistone@redhat.com> - 1.5.5-1
|
||
|
- Update to 1.5.5
|
||
|
|
||
|
* Mon Dec 02 08:20:34 CET 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.5.4-1
|
||
|
- Update to 1.5.4
|
||
|
|
||
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.3-2
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||
|
|
||
|
* Tue Jun 18 23:45:53 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.5.3-1
|
||
|
- Update to 1.5.3
|
||
|
|
||
|
* Mon Jun 03 2019 Josh Stone <jistone@redhat.com> - 1.5.2-1
|
||
|
- Update to 1.5.2
|
||
|
|
||
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.1-5
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||
|
|
||
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.1-4
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||
|
|
||
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.1-3
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||
|
|
||
|
* Mon Jan 08 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.5.1-2
|
||
|
- Rebuild for rust-packaging v5
|
||
|
|
||
|
* Sun Nov 19 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.5.1-1
|
||
|
- Initial package
|
||
|
|