## START: Set by rpmautospec ## (rpmautospec version 0.8.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 2; 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 27 # * test fixtures are not inclueded in published crates %bcond check 0 %global debug_package %{nil} %global crate jpegxl-rs %global crate_version 0.11.2+libjxl-0.11.1 Name: rust-jpegxl-rs Version: 0.11.2 Release: %autorelease Summary: Safe Rust wrapper for JPEG XL reference implementation License: GPL-3.0-or-later URL: https://crates.io/crates/jpegxl-rs Source: %{crates_source %{crate} %{crate_version}} # Automatically generated patch to strip dependencies and normalize metadata Patch: jpegxl-rs-fix-metadata-auto.diff # Manually created patch for downstream crate metadata changes # * drop unused, benchmark-only criterion dev-dependency Patch: jpegxl-rs-fix-metadata.diff BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Safe Rust wrapper for JPEG XL reference implementation.} %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}/COPYING %license %{crate_instdir}/LICENSE %doc %{crate_instdir}/CHANGELOG.md %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}+bench-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+bench-devel %{_description} This package contains library source intended for building other packages which use the "bench" feature of the "%{crate}" crate. %files -n %{name}+bench-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+docs-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+docs-devel %{_description} This package contains library source intended for building other packages which use the "docs" feature of the "%{crate}" crate. %files -n %{name}+docs-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+image-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+image-devel %{_description} This package contains library source intended for building other packages which use the "image" feature of the "%{crate}" crate. %files -n %{name}+image-devel %ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{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 * Fri Jul 25 2025 Fedora Release Engineering - 0.11.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Mon Feb 03 2025 Robert-André Mauchin - 0.11.2-1 - Update to version 0.11.2+libjxl-0.11.1; Fixes RHBZ#2279049 * Sun Jan 19 2025 Fedora Release Engineering - 0.10.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Fri Sep 27 2024 Fabio Valentini - 0.10.4-2 - Backport upstream patch to fix type mismatch on non-x86 architectures * Fri Sep 27 2024 Fabio Valentini - 0.10.4-1 - Update to version 0.10.4+libjxl-0.10.3 * Fri Jul 19 2024 Fedora Release Engineering - 0.8.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Tue Apr 02 2024 Fabio Valentini - 0.8.3-1 - Initial import (#2272615) ## END: Generated by rpmautospec