## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## 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 24 %bcond_without check %global debug_package %{nil} %global crate lopdf Name: rust-lopdf Version: 0.31.0 Release: %autorelease Summary: Rust library for PDF document manipulation License: MIT URL: https://crates.io/crates/lopdf Source: %{crates_source} BuildRequires: rust-packaging >= 21 %global _description %{expand: A Rust library for PDF document manipulation.} %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 %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}+chrono-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+chrono-devel %{_description} This package contains library source intended for building other packages which use the "chrono" feature of the "%{crate}" crate. %files -n %{name}+chrono-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+chrono_time-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+chrono_time-devel %{_description} This package contains library source intended for building other packages which use the "chrono_time" feature of the "%{crate}" crate. %files -n %{name}+chrono_time-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+embed_image-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+embed_image-devel %{_description} This package contains library source intended for building other packages which use the "embed_image" feature of the "%{crate}" crate. %files -n %{name}+embed_image-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 %package -n %{name}+nom-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+nom-devel %{_description} This package contains library source intended for building other packages which use the "nom" feature of the "%{crate}" crate. %files -n %{name}+nom-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+nom_parser-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+nom_parser-devel %{_description} This package contains library source intended for building other packages which use the "nom_parser" feature of the "%{crate}" crate. %files -n %{name}+nom_parser-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+pom-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+pom-devel %{_description} This package contains library source intended for building other packages which use the "pom" feature of the "%{crate}" crate. %files -n %{name}+pom-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+pom_parser-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+pom_parser-devel %{_description} This package contains library source intended for building other packages which use the "pom_parser" feature of the "%{crate}" crate. %files -n %{name}+pom_parser-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+rayon-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+rayon-devel %{_description} This package contains library source intended for building other packages which use the "rayon" feature of the "%{crate}" crate. %files -n %{name}+rayon-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+serde-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+serde-devel %{_description} This package contains library source intended for building other packages which use the "serde" feature of the "%{crate}" crate. %files -n %{name}+serde-devel %ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -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 Jan 26 2024 Fedora Release Engineering - 0.31.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Tue Aug 15 2023 Kalev Lember - 0.31.0-1 - Update to 0.31.0 * Fri Jul 21 2023 Fedora Release Engineering - 0.30.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Mon Jul 03 2023 Kalev Lember - 0.30.0-1 - Update to 0.30.0 * Sun Apr 09 2023 Kalev Lember - 0.29.0-3 - Re-generate packaging with rust2rpm 24 * Fri Jan 20 2023 Fedora Release Engineering - 0.29.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Nov 25 2022 Kalev Lember - 0.29.0-1 - Update to 0.29.0 * Fri Nov 18 2022 Kalev Lember - 0.27.0-3 - Add a downstream patch to drop nom and nom_parser features (#2141067) * Fri Nov 18 2022 Kalev Lember - 0.27.0-2 - Re-generate packaging with rust2rpm 23 * Fri Nov 18 2022 Kalev Lember - 0.27.0-1 - Initial Fedora packaging ## END: Generated by rpmautospec