## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 5; 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 25 %bcond_without check %global debug_package %{nil} %global crate nalgebra Name: rust-nalgebra Version: 0.32.3 Release: %autorelease Summary: General-purpose linear algebra library License: Apache-2.0 URL: https://crates.io/crates/nalgebra Source: %{crates_source} # Manually created patch for downstream crate metadata changes # * drop unused, benchmark-only criterion dev-dependency # * fix inaccurate license in crate metadata: # https://github.com/dimforge/nalgebra/pull/1308 Patch: nalgebra-fix-metadata.diff BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: General-purpose linear algebra library with transformations and statically-sized or dynamically-sized matrices.} %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}+alga-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+alga-devel %{_description} This package contains library source intended for building other packages which use the "alga" feature of the "%{crate}" crate. %files -n %{name}+alga-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+alloc-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+alloc-devel %{_description} This package contains library source intended for building other packages which use the "alloc" feature of the "%{crate}" crate. %files -n %{name}+alloc-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+arbitrary-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+arbitrary-devel %{_description} This package contains library source intended for building other packages which use the "arbitrary" feature of the "%{crate}" crate. %files -n %{name}+arbitrary-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+bytemuck-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+bytemuck-devel %{_description} This package contains library source intended for building other packages which use the "bytemuck" feature of the "%{crate}" crate. %files -n %{name}+bytemuck-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+compare-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+compare-devel %{_description} This package contains library source intended for building other packages which use the "compare" feature of the "%{crate}" crate. %files -n %{name}+compare-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+convert-bytemuck-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+convert-bytemuck-devel %{_description} This package contains library source intended for building other packages which use the "convert-bytemuck" feature of the "%{crate}" crate. %files -n %{name}+convert-bytemuck-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+convert-mint-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+convert-mint-devel %{_description} This package contains library source intended for building other packages which use the "convert-mint" feature of the "%{crate}" crate. %files -n %{name}+convert-mint-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+debug-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+debug-devel %{_description} This package contains library source intended for building other packages which use the "debug" feature of the "%{crate}" crate. %files -n %{name}+debug-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+io-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+io-devel %{_description} This package contains library source intended for building other packages which use the "io" feature of the "%{crate}" crate. %files -n %{name}+io-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+libm-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+libm-devel %{_description} This package contains library source intended for building other packages which use the "libm" feature of the "%{crate}" crate. %files -n %{name}+libm-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+libm-force-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+libm-force-devel %{_description} This package contains library source intended for building other packages which use the "libm-force" feature of the "%{crate}" crate. %files -n %{name}+libm-force-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+macros-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+macros-devel %{_description} This package contains library source intended for building other packages which use the "macros" feature of the "%{crate}" crate. %files -n %{name}+macros-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+matrixcompare-core-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+matrixcompare-core-devel %{_description} This package contains library source intended for building other packages which use the "matrixcompare-core" feature of the "%{crate}" crate. %files -n %{name}+matrixcompare-core-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+matrixmultiply-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+matrixmultiply-devel %{_description} This package contains library source intended for building other packages which use the "matrixmultiply" feature of the "%{crate}" crate. %files -n %{name}+matrixmultiply-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+mint-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+mint-devel %{_description} This package contains library source intended for building other packages which use the "mint" feature of the "%{crate}" crate. %files -n %{name}+mint-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+nalgebra-macros-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+nalgebra-macros-devel %{_description} This package contains library source intended for building other packages which use the "nalgebra-macros" feature of the "%{crate}" crate. %files -n %{name}+nalgebra-macros-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+pest-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+pest-devel %{_description} This package contains library source intended for building other packages which use the "pest" feature of the "%{crate}" crate. %files -n %{name}+pest-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+pest_derive-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+pest_derive-devel %{_description} This package contains library source intended for building other packages which use the "pest_derive" feature of the "%{crate}" crate. %files -n %{name}+pest_derive-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+proptest-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+proptest-devel %{_description} This package contains library source intended for building other packages which use the "proptest" feature of the "%{crate}" crate. %files -n %{name}+proptest-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+proptest-support-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+proptest-support-devel %{_description} This package contains library source intended for building other packages which use the "proptest-support" feature of the "%{crate}" crate. %files -n %{name}+proptest-support-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+quickcheck-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+quickcheck-devel %{_description} This package contains library source intended for building other packages which use the "quickcheck" feature of the "%{crate}" crate. %files -n %{name}+quickcheck-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+rand-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+rand-devel %{_description} This package contains library source intended for building other packages which use the "rand" feature of the "%{crate}" crate. %files -n %{name}+rand-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+rand-no-std-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+rand-no-std-devel %{_description} This package contains library source intended for building other packages which use the "rand-no-std" feature of the "%{crate}" crate. %files -n %{name}+rand-no-std-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+rand-package-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+rand-package-devel %{_description} This package contains library source intended for building other packages which use the "rand-package" feature of the "%{crate}" crate. %files -n %{name}+rand-package-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+rand_distr-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+rand_distr-devel %{_description} This package contains library source intended for building other packages which use the "rand_distr" feature of the "%{crate}" crate. %files -n %{name}+rand_distr-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 %package -n %{name}+serde-serialize-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+serde-serialize-devel %{_description} This package contains library source intended for building other packages which use the "serde-serialize" feature of the "%{crate}" crate. %files -n %{name}+serde-serialize-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+serde-serialize-no-std-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+serde-serialize-no-std-devel %{_description} This package contains library source intended for building other packages which use the "serde-serialize-no-std" feature of the "%{crate}" crate. %files -n %{name}+serde-serialize-no-std-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+slow-tests-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+slow-tests-devel %{_description} This package contains library source intended for building other packages which use the "slow-tests" feature of the "%{crate}" crate. %files -n %{name}+slow-tests-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+sparse-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+sparse-devel %{_description} This package contains library source intended for building other packages which use the "sparse" feature of the "%{crate}" crate. %files -n %{name}+sparse-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+std-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+std-devel %{_description} This package contains library source intended for building other packages which use the "std" feature of the "%{crate}" crate. %files -n %{name}+std-devel %ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version} -p1 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires -f compare,debug,macros,rand %build %cargo_build -f compare,debug,macros,rand %install %cargo_install -f compare,debug,macros,rand %if %{with check} %check %cargo_test -f compare,debug,macros,rand %endif %changelog ## START: Generated by rpmautospec * Fri Jan 26 2024 Fedora Release Engineering - 0.32.3-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Tue Oct 24 2023 Fabio Valentini - 0.32.3-4 - Fix inaccurate license tag and crate metadata * Sat Jul 29 2023 Fabio Valentini - 0.32.3-3 - Drop unused support for glam v0.20 * Fri Jul 21 2023 Fedora Release Engineering - 0.32.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Jul 13 2023 Fabio Valentini - 0.32.3-1 - Update to version 0.32.3 * Fri Mar 24 2023 Kalev Lember - 0.32.2-1 - Update to version 0.32.2; Fixes RHBZ#2080603 * Sun Mar 12 2023 Fabio Valentini - 0.30.1-7 - Regenerate with rust2rpm v24 * Sat Jan 21 2023 Fedora Release Engineering - 0.30.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Nov 04 2022 Fabio Valentini - 0.30.1-5 - Drop unused, benchmark-only criterion dev-dependency * Sat Jul 23 2022 Fedora Release Engineering - 0.30.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Fri Jan 28 2022 Rémi Lauzier - 0.30.1-3 - Remove cuda ans cust feature; Fixes RHBZ#2047225 * Thu Jan 27 2022 Rémi Lauzier - 0.30.1-2 - Remove doctest and rkyv features * Thu Jan 27 2022 Rémi Lauzier - 0.30.1-1 - Update to version 0.30.1; Fixes RHBZ#2036495 * Fri Jan 21 2022 Fedora Release Engineering - 0.29.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Aug 12 2021 Rémi Lauzier - 0.29.0-3 - Remove rkyv base features; Fixes RHBZ#1993322 * Thu Aug 12 2021 Rémi Lauzier - 0.29.0-1 - Update to version 0.29.0; Fixes RHBZ#1980025 * Sat Aug 01 2020 Fedora Release Engineering - 0.20.0-4 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 0.20.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Thu Jul 09 2020 Josh Stone - 0.20.0-2 - Update num-complex and num-rational to 0.3 * Mon Mar 02 17:15:39 CET 2020 Igor Raits - 0.20.0-1 - Update to 0.20.0 * Thu Feb 20 2020 Josh Stone - 0.19.0-1 - Update to 0.19.0 * Thu Jan 30 2020 Fedora Release Engineering - 0.18.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Sep 13 21:08:31 CEST 2019 Robert-André Mauchin - 0.18.1-1 - Update to 0.18.1 - Bump quickcheck to 0.9 * Fri Jul 26 2019 Fedora Release Engineering - 0.18.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu Apr 04 08:06:20 CEST 2019 Igor Gnatenko - 0.18.0-1 - Update to 0.18.0 * Tue Mar 19 2019 Josh Stone - 0.17.3-1 - Update to 0.17.3 * Tue Feb 19 2019 Josh Stone - 0.17.2-1 - Update to 0.17.2 * Sun Feb 17 2019 Igor Gnatenko - 0.17.1-1 - Update to 0.17.1 * Sun Feb 17 2019 Igor Gnatenko - 0.17.0-1 - Initial package ## END: Generated by rpmautospec