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
Name: rpm-macros-features Version: 0.7 Release: alt0.M90P.1 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 %prep %setup %install dfile='' dfile=macros.%_arch %ifarch %e2k dfile=macros.e2k %endif %ifarch %ix86 dfile=macros.i586 %endif install -D -m644 macros %buildroot/%_rpmmacrosdir/features [ -n "$dfile" ] && [ -s "$dfile" ] && cat $dfile >> %buildroot/%_rpmmacrosdir/features %files %_rpmmacrosdir/features %changelog * Sun Feb 13 2022 Vitaly Lipatov <lav@altlinux.ru> 0.7-alt0.M90P.1 - add arch dependend part for feature macros * Sun Feb 13 2022 Vitaly Lipatov <lav@altlinux.ru> 0.6-alt0.M90P.1 - add unwind 1.1 * Tue Feb 08 2022 Vitaly Lipatov <lav@altlinux.ru> 0.5-alt0.M90P.1 - add pcad and llvm versions - set versions for qt5 and vkd3d - add provides/obsoletes for rpm-build-features * Thu Sep 30 2021 Vitaly Lipatov <lav@altlinux.ru> 0.3-alt0.M90P.1 - build with p9 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