Package spirv-tools: 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 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 | %define sover 0 %define git 0b027ba %define build_type RelWithDebInfo %define _cmake %cmake -DCMAKE_BUILD_TYPE=%build_type %define optflags_lto %nil Name: spirv-tools Version: 2023.6 Release: alt0.2.g%{git} Epoch: 1 Summary: API and commands for processing SPIR-V modules Group: Development/C++ License: Apache-2.0 Url: https://www.khronos.org/registry/spir-v/ Packager: L.A. Kostis <lakostis@altlinux.org> Source: https://github.com/KhronosGroup/SPIRV-Tools/archive/v%version/SPIRV-Tools-%version.tar Patch0: %name-soname-alt.patch Patch1: %name-alt-cmake-path.patch BuildRequires(pre): cmake ninja-build BuildRequires: gcc-c++ BuildRequires: python3-devel # due sdk requires BuildRequires: spirv-headers >= 2:1.5.5-alt12 %description The package includes an assembler, binary module parser, disassembler, and validator for SPIR-V. %package -n lib%name%sover Summary: SPIR-V tool component library Group: System/Libraries %description -n lib%name%sover The SPIR-V Tool library contains all of the implementation details driving the SPIR-V assembler, binary module parser, disassembler and validator, and is used in the standalone tools whilst also enabling integration into other code bases directly. %package -n lib%name-devel Summary: Development headers for the SPIR-V tool library Group: Development/C++ Requires: lib%name%sover = %EVR %description -n lib%name-devel The SPIR-V Tool library contains all of the implementation details driving the SPIR-V assembler, binary module parser, disassembler and validator, and is used in the standalone tools whilst also enabling integration into other code bases directly. %prep %setup -n SPIRV-Tools-%version %patch0 -p2 %patch1 -p2 # will check protobuf support later # for fuzzler %build %_cmake \ -GNinja \ -DSPIRV_BUILD_COMPRESSION=OFF \ -DSPIRV_BUILD_FUZZER=OFF \ -DSPIRV_TOOLS_BUILD_STATIC=OFF \ -DSPIRV-Headers_SOURCE_DIR=%_prefix \ %ifarch %e2k -DSPIRV_WERROR=OFF \ %endif -DCMAKE_VERBOSE_MAKEFILE=ON \ -DBUILD_SHARED_LIBS=ON ninja \ -vvv \ -j %__nprocs \ -C %_cmake__builddir %install %cmake_install %files %doc CHANGES LICENSE README.md %_bindir/spirv-* %files -n lib%name%sover %_libdir/libSPIRV-Tools.so.* %_libdir/libSPIRV-Tools-*.so.* %files -n lib%name-devel %_libdir/libSPIRV-Tools.so %_libdir/libSPIRV-Tools-*.so %_pkgconfigdir/SPIRV-Tools.pc %_pkgconfigdir/SPIRV-Tools-shared.pc %_includedir/%name %_datadir/cmake/SPIRV-Tools* %changelog * Mon Mar 11 2024 L.A. Kostis <lakostis@altlinux.ru> 1:2023.6-alt0.2.g0b027ba - GIT 0b027ba (to fix FTBFS with new spirv-headers). * Thu Mar 07 2024 L.A. Kostis <lakostis@altlinux.ru> 1:2023.6-alt0.1.rc1 - Updated to 2023.6.rc1 (for >= sdk-1.3.275.0). * Fri Nov 10 2023 L.A. Kostis <lakostis@altlinux.ru> 1:2023.5-alt0.1.rc1 - Updated to 2023.5.rc1. * Thu Sep 14 2023 L.A. Kostis <lakostis@altlinux.ru> 1:2023.4-alt0.1.rc2 - Updated to 2023.4.rc2 (for sdk-1.3.261.1). * Thu May 25 2023 L.A. Kostis <lakostis@altlinux.ru> 1:2023.3-alt0.1.rc1 - Updated to v2023.3.rc1 (for sdk-1.3.250). * Thu Mar 23 2023 L.A. Kostis <lakostis@altlinux.ru> 1:2023.2-alt0.1.rc1 - Updated to v2023.2.rc1 (for sdk-1.3.243). - Set cmake release target again. * Fri Mar 03 2023 L.A. Kostis <lakostis@altlinux.ru> 1:2023.1-alt0.1 - Updated to v2023.1 (for sdk-1.3.239). * Tue Dec 13 2022 L.A. Kostis <lakostis@altlinux.ru> 1:2022.5-alt0.1.g40f5bf59c - Updated to GIT 40f5bf59c (for sdk-1.3.236). * Wed Nov 23 2022 L.A. Kostis <lakostis@altlinux.ru> 1:2022.4-alt2 - Disable LTO on (cause issues on ix86). * Sat Oct 15 2022 L.A. Kostis <lakostis@altlinux.ru> 1:2022.4-alt1 - Updated to 2022.4. * Mon Oct 03 2022 L.A. Kostis <lakostis@altlinux.ru> 1:2022.3-alt1 - Updated to 2022.3. - Applied 0001-Fix-array-copy-propagation-4890.patch from -stable. - Bump spirv-headers requires. - Remove cmake hacks. * Sun Apr 10 2022 L.A. Kostis <lakostis@altlinux.ru> 1:2022.2-alt1 - Updated to v2022.2 (tag sdk-1.3.211). - Update -soname patch. * Sat Nov 13 2021 L.A. Kostis <lakostis@altlinux.ru> 1:2021.4-alt1 - Update to v2021.4. * Wed Nov 03 2021 L.A. Kostis <lakostis@altlinux.ru> 1:2021.3-alt1 - Update to v2021.3. * Sun Jun 27 2021 L.A. Kostis <lakostis@altlinux.ru> 1:2021.2-alt0.1.g5dd2f76 - Updated to GIT 5dd2f76. * Mon Jun 14 2021 L.A. Kostis <lakostis@altlinux.ru> 1:2021.1-alt1 - Updated to v2021.1. - .spec: update cmake macros. * Mon Feb 15 2021 L.A. Kostis <lakostis@altlinux.ru> 1:2020.6-alt1 - Updated to v2020.6. - Update -alt patches. - Disable static build explicitly. - Simplify build flags. * Sun Feb 14 2021 Nazarov Denis <nenderus@altlinux.org> 1:2020.4-alt2 - Rollback to 2020.4-alt1 (ALT #39672) * Fri Feb 05 2021 Nazarov Denis <nenderus@altlinux.org> 2020.6-alt1 - Updated to v2020.6. * Tue Sep 08 2020 L.A. Kostis <lakostis@altlinux.ru> 2020.4-alt1 - Updated to v2020.4. * Thu Jun 04 2020 L.A. Kostis <lakostis@altlinux.ru> 2020.3-alt1 - Updated to v2020.3. - Added cmake files. - Change packager. * Sat Apr 11 2020 Michael Shigorin <mike@altlinux.org> 2019.4-alt2 - E2K: disable -Werror (hex_float.h:766 triggers ftbfs with -Werror=conversion) * Thu Aug 29 2019 L.A. Kostis <lakostis@altlinux.ru> 2019.4-alt1 - Updated to 2019.4. - Update all -alt patches. * Thu May 02 2019 L.A. Kostis <lakostis@altlinux.ru> 2019.3-alt2.g26c1b88 - fix debuginfo build (disable compression). - use ninja build. * Thu May 02 2019 L.A. Kostis <lakostis@altlinux.ru> 2019.3-alt1.g26c1b88 - Updated to v2019.3-dev g26c1b88. - Build with python3. - Enable compression support. - Update -soname patch. * Fri Mar 09 2018 Nazarov Denis <nenderus@altlinux.org> 2018.2-alt1%%ubt - Version 2018.2 * Tue Apr 18 2017 Nazarov Denis <nenderus@altlinux.org> 2016.6-alt0.M80P.1 - Build for branch p8 * Sat Apr 15 2017 Nazarov Denis <nenderus@altlinux.org> 2016.6-alt1 - Initial build for ALT Linux |