## 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 # * Most of the tests require a browser # * Missing dependencies: actix-files %bcond_with check %global debug_package %{nil} %global crate webbrowser Name: rust-webbrowser Version: 1.0.2 Release: %autorelease Summary: Open URLs in web browsers available on a platform License: MIT OR Apache-2.0 URL: https://crates.io/crates/webbrowser Source: %{crates_source} # Automatically generated patch to strip dependencies and normalize metadata Patch: webbrowser-fix-metadata-auto.diff BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Open URLs in web browsers available on a platform.} %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}/CHANGELOG.md %doc %{crate_instdir}/README.md %doc %{crate_instdir}/SECURITY.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}+disable-wsl-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+disable-wsl-devel %{_description} This package contains library source intended for building other packages which use the "disable-wsl" feature of the "%{crate}" crate. %files -n %{name}+disable-wsl-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+hardened-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+hardened-devel %{_description} This package contains library source intended for building other packages which use the "hardened" feature of the "%{crate}" crate. %files -n %{name}+hardened-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 ## START: Generated by rpmautospec * Sat Oct 26 2024 Aleksei Bavshin - 1.0.2-1 - Update to 1.0.2 (rhbz#2276219) * Sat Jul 20 2024 Fedora Release Engineering - 0.8.15-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sat Apr 13 2024 Aleksei Bavshin - 0.8.15-1 - Update to 0.8.15 (#2273760) * Fri Mar 08 2024 Fabio Valentini - 0.8.13-1 - Update to version 0.8.13; Fixes RHBZ#2267962 * Sat Jan 27 2024 Fedora Release Engineering - 0.8.12-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sat Nov 04 2023 Aleksei Bavshin - 0.8.12-1 - Update to 0.8.12 (#2088343) * Mon Aug 07 2023 Fabio Valentini - 0.5.5-9 - Regenerate with rust2rpm v24 * Sat Jul 22 2023 Fedora Release Engineering - 0.5.5-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Sat Jan 21 2023 Fedora Release Engineering - 0.5.5-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sat Jul 23 2022 Fedora Release Engineering - 0.5.5-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jul 18 2022 Fabio Valentini - 0.5.5-4 - Disable WASM-specific features. - Simplify skipping specific tests. - Regenerate spec file with rust2rpm 21. * Sat Jan 22 2022 Fedora Release Engineering - 0.5.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 0.5.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Thu Apr 08 17:41:02 CEST 2021 Jens Reimann - 0.5.5-1 - Initial package ## END: Generated by rpmautospec