Package rpm-macros-features: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 | Name: rpm-macros-features Version: 20240227 Release: alt1 Summary: RPM macros to check if can build with a feature License: GPLv2 Group: Development/Other Source: %name-%version.tar Obsoletes: rpm-build-features Provides: rpm-build-features %description RPM macros to check if can build with a feature (a library is possible). Usage: if_feature vulkan BuildRequires: libvulkan-devel endif if_feature icu 6.5 ... endif if_notfeature python3 3.10 ... endif %prep %setup %install dfile='' dfile=macros.%_arch %ifarch %e2k dfile=macros.e2k %endif %ifarch %ix86 dfile=macros.i586 %endif %ifarch %mips32 dfile=macros.mips32 %endif %ifarch %arm dfile=macros.arm %endif %ifarch loongarch64 dfile=macros.loongarch64 %endif install -D -m644 macros %buildroot/%_rpmmacrosdir/features [ -n "$dfile" ] && [ -s "$dfile" ] && cat $dfile >> %buildroot/%_rpmmacrosdir/features %files %_rpmmacrosdir/features %changelog * Tue Feb 27 2024 Vitaly Lipatov <lav@altlinux.ru> 20240227-alt1 - add glusterfs feature - add numactl feature * Sun Feb 18 2024 Vitaly Lipatov <lav@altlinux.ru> 20240217-alt1 - add if_notfeature - add python3, wine features * Tue Feb 06 2024 Vitaly Lipatov <lav@altlinux.ru> 20240206-alt1 - update features' versions * Sun Jan 14 2024 Anton Farygin <rider@altlinux.ru> 20240114-alt1 - removed php 8.0 - added php 8.3 * Tue Oct 24 2023 Ivan A. Melnikov <iv@altlinux.org> 20231024-alt1 - no php8.0 on loongarch64 * Mon Aug 21 2023 Ivan A. Melnikov <iv@altlinux.org> 20230821-alt1 - loongarch64 support - enable OpenCV on riscv64 - update glibc feature version * Fri Aug 04 2023 Vitaly Lipatov <lav@altlinux.ru> 20230804-alt1 - switch to date stamp release - update features' versions, add gcc, glibc, glib2, glibmm * Thu Jul 27 2023 Vitaly Lipatov <lav@altlinux.ru> 1.1-alt1 - add ctest, cmake, wayland, clickhouse, kernel - add opencv 4.7.0 * Thu Mar 16 2023 Vitaly Lipatov <lav@altlinux.ru> 1.0-alt1 - sisyphus: step dotnet version to 7.0 - add mono and gtk_sharp features - add arm, mips32 and i586 support - sisyphus: update versions for all features * Sun Jan 29 2023 Vitaly Lipatov <lav@altlinux.ru> 0.9-alt1 - add php8.2 feature * Mon Dec 19 2022 Vitaly Lipatov <lav@altlinux.ru> 0.8-alt1 - add php presence flags * Sun Feb 13 2022 Vitaly Lipatov <lav@altlinux.ru> 0.7-alt1 - add arch dependend part for feature macros * Sun Feb 13 2022 Vitaly Lipatov <lav@altlinux.ru> 0.6-alt1 - add unwind 1.5.0 * Mon Dec 13 2021 Vitaly Lipatov <lav@altlinux.ru> 0.5-alt1 - add pcad and llvm versions * Fri Oct 15 2021 Vitaly Lipatov <lav@altlinux.ru> 0.4-alt1 - set versions for qt5 and vkd3d - add provides/obsoletes for rpm-build-features * Thu Sep 30 2021 Vitaly Lipatov <lav@altlinux.ru> 0.3-alt1 - implement if_feature FEATURE [VERSION] * Fri Jul 09 2021 Vitaly Lipatov <lav@altlinux.ru> 0.1-alt1 - initial build for ALT Sisyphus |