## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 18; 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 24 %bcond_without check %global crate choosier Name: rust-choosier Version: 0.1.0 Release: %autorelease Summary: Choose your browser based on the URL given License: MPL-2.0 URL: https://crates.io/crates/choosier Source: %{crates_source} BuildRequires: rust-packaging >= 23 %global _description %{expand: Choose your browser based on the URL given.} %description %{_description} %package -n %{crate} Summary: %{summary} # MIT OR Apache-2.0 # MPL-2.0 License: MPL-2.0 AND (MIT OR Apache-2.0) # LICENSE.dependencies contains a full license breakdown %description -n %{crate} %{_description} %files -n %{crate} %license LICENSE.txt %license LICENSE.dependencies %doc README.md %{_bindir}/choosier %{_datadir}/applications/choosier.desktop %dir %{_sysconfdir}/choosier/ %ghost %config(noreplace) %{_sysconfdir}/choosier/choosier.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires %if %{with check} echo 'desktop-file-utils' %endif %build %cargo_build %cargo_license_summary %{cargo_license} > LICENSE.dependencies %install %cargo_install install -Dpm0644 -t %{buildroot}/%{_datadir}/applications assets/choosier.desktop mkdir -p %{buildroot}/%{_sysconfdir}/choosier %if %{with check} %check %cargo_test desktop-file-validate %{buildroot}/%{_datadir}/applications/choosier.desktop %endif %changelog ## START: Generated by rpmautospec * Fri Jul 19 2024 Fedora Release Engineering - 0.1.0-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Thu May 23 2024 Fabio Valentini - 0.1.0-17 - Rebuild with Rust 1.78 to fix incomplete debuginfo and backtraces * Fri Jan 26 2024 Fedora Release Engineering - 0.1.0-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 0.1.0-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Wed May 17 2023 Fabio Valentini - 0.1.0-14 - Regenerate with rust2rpm v24 and update license tag * Sat Feb 04 2023 Fabio Valentini - 0.1.0-12 - Rebuild for fixed frame pointer compiler flags in Rust RPM macros. * Fri Jan 20 2023 Fedora Release Engineering - 0.1.0-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sat Jul 23 2022 Fedora Release Engineering - 0.1.0-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue Feb 15 2022 Zbigniew Jędrzejewski-Szmek - 0.1.0-9 - Rebuild with package notes * Fri Jan 21 2022 Fedora Release Engineering - 0.1.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 0.1.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed Jan 27 2021 Fedora Release Engineering - 0.1.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sun Aug 16 15:01:11 GMT 2020 Igor Raits - 0.1.0-5 - Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 0.1.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Sun Jun 14 2020 Michel Alexandre Salim - 0.1.0-3 - Restore examples * Sun Jun 14 2020 Igor Raits - 0.1.0-2 - Tidy up installation * Sun Jun 07 18:20:05 PDT 2020 Michel Alexandre Salim - 0.1.0-1 - Initial package ## END: Generated by rpmautospec