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.
rust-clap_mangen/SPECS/rust-clap_mangen.spec

141 lines
4.1 KiB

## START: Set by rpmautospec
## (rpmautospec version 0.7.3)
## 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 26
# * test sources are not included in published crates
%bcond_with check
%global debug_package %{nil}
%global crate clap_mangen
Name: rust-clap_mangen
Version: 0.2.24
Release: %autorelease
Summary: Manpage generator for clap
License: MIT OR Apache-2.0
URL: https://crates.io/crates/clap_mangen
Source: %{crates_source}
BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand:
A manpage generator for clap.}
%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-APACHE
%license %{crate_instdir}/LICENSE-MIT
%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}+debug-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+debug-devel %{_description}
This package contains library source intended for building other packages which
use the "debug" feature of the "%{crate}" crate.
%files -n %{name}+debug-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
* Fri Dec 20 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 0.2.24-1
- Rebuilt for MSVSphere 10
## START: Generated by rpmautospec
* Wed Oct 23 2024 Fabio Valentini <decathorpe@gmail.com> - 0.2.24-1
- Update to version 0.2.24; Fixes RHBZ#2317245
* Sun Jul 28 2024 Fabio Valentini <decathorpe@gmail.com> - 0.2.23-1
- Update to version 0.2.23; Fixes RHBZ#2299863
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.22-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Sun Jul 07 2024 Fabio Valentini <decathorpe@gmail.com> - 0.2.22-1
- Update to version 0.2.22; Fixes RHBZ#2295445
* Mon Jun 10 2024 Fabio Valentini <decathorpe@gmail.com> - 0.2.21-1
- Update to version 0.2.21; Fixes RHBZ#2290785
* Wed Apr 24 2024 Benjamin A. Beasley <code@musicinmybrain.net> - 0.2.20-1
- Update to version 0.2.20 (Fixes RHBZ#2262432)
* Tue Jan 30 2024 Fabio Valentini <decathorpe@gmail.com> - 0.2.18-1
- Update to version 0.2.18; Fixes RHBZ#2261555
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.17-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Thu Jan 11 2024 Fabio Valentini <decathorpe@gmail.com> - 0.2.17-1
- Update to version 0.2.16; Fixes RHBZ#2256124
* Fri Nov 10 2023 Fabio Valentini <decathorpe@gmail.com> - 0.2.15-1
- Update to version 0.2.15; Fixes RHBZ#2245963
* Wed Sep 20 2023 Fabio Valentini <decathorpe@gmail.com> - 0.2.14-1
- Update to version 0.2.14; Fixes RHBZ#2234509
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.12-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Sun Jun 04 2023 Fabio Valentini <decathorpe@gmail.com> - 0.2.12-1
- Update to version 0.2.12; Fixes RHBZ#2211909
* Tue May 23 2023 Fabio Valentini <decathorpe@gmail.com> - 0.2.11-1
- Update to version 0.2.11; Fixes RHBZ#2208634
* Sat Apr 08 2023 Fabio Valentini <decathorpe@gmail.com> - 0.2.10-1
- Initial import (#2183742)
## END: Generated by rpmautospec