## START: Set by rpmautospec ## (rpmautospec version 0.8.4) ## 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 28 # * test fixtures are not included in published crates %bcond check 0 %global debug_package %{nil} %global crate jpegxl-sys %global crate_version 0.12.1+libjxl-0.11.2 Name: rust-jpegxl-sys Version: 0.12.1 Release: %autorelease Summary: Rust wrapper for JPEG XL reference implementation License: GPL-3.0-or-later URL: https://crates.io/crates/jpegxl-sys Source: %{crates_source %{crate} %{crate_version}} # Automatically generated patch to strip dependencies and normalize metadata Patch: jpegxl-sys-fix-metadata-auto.diff # Manually created patch for downstream crate metadata changes # * drop feature for statically linking libjxl Patch: jpegxl-sys-fix-metadata.diff Patch2: 0001-unconditionally-use-pkg-config-to-find-libjxl.patch BuildRequires: cargo-rpm-macros >= 24 BuildRequires: pkgconfig(libjxl) BuildRequires: pkgconfig(libjxl_threads) %global _description %{expand: Rust wrapper for JPEG XL reference implementation.} %description %{_description} %package devel Summary: %{summary} BuildArch: noarch Requires: pkgconfig(libjxl) Requires: pkgconfig(libjxl_threads) %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}+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 %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 * Tue Aug 11 2026 Fabio Valentini - 0.12.1-1 - Update to version 0.12.1+libjxl-0.11.2 * Fri Jul 17 2026 Fedora Release Engineering - 0.12.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild * Fri Mar 13 2026 Fabio Valentini - 0.12.0-1 - Update to version 0.12.0+libjxl-0.11.1 * Sat Jan 17 2026 Fedora Release Engineering - 0.11.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild * Mon Aug 25 2025 Fabio Valentini - 0.11.2-3 - Fix broken pkg-config handling in downstream patch * 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#2279050 * Sun Jan 19 2025 Fedora Release Engineering - 0.10.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * 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.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Tue Apr 02 2024 Fabio Valentini - 0.8.2-1 - Initial import (#2272616) ## END: Generated by rpmautospec