Package dotnet-sdk-7.0: 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 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 | # TODO: build from sources %define _unpackaged_files_terminate_build 1 %def_disable netstandart %def_enable dotnet_host %define _dotnet_major 7.0 %define _dotnet_corerelease 7.0.14 %define _dotnet_sdkmanifestsrelease 7.0.100 %define _dotnet_sdkrelease 7.0.114 %define _dotnet_templatesrelease 7.0.14 %define _dotnet_coreapprefrelease 7.0.14 %define _dotnet_netstandartrelease 2.1.0 %define preview %nil %define _dotnet_coreshortrelease 7.0.14%preview %define _dotnet_sdkshortrelease 7.0.114%preview %define bootstrapdir %_libdir/dotnet-bootstrap-%_dotnet_major Name: dotnet-sdk-%_dotnet_major Version: 7.0.114%preview Release: alt1 Summary: SDK for the .NET 7 License: MIT Group: Development/Other Source: %name-%version.tar ExclusiveArch: aarch64 x86_64 BuildRequires: rpm-build-intro # TODO BuildRequires(pre): rpm-macros-dotnet BuildRequires: dotnet-bootstrap-sdk-%_dotnet_major = %_dotnet_sdkshortrelease #BuildRequires: dotnet-bootstrap-%_dotnet_major = %_dotnet_corerelease #BuildRequires: dotnet-host >= %_dotnet_coreshortrelease BuildRequires: dotnet-apphost-pack-%_dotnet_major = %_dotnet_coreshortrelease # SDK unusable without dotnet CLI Requires: dotnet-%_dotnet_major = %_dotnet_coreshortrelease Requires: dotnet-runtime-%_dotnet_major = %_dotnet_coreshortrelease Requires: dotnet-apphost-pack-%_dotnet_major = %_dotnet_coreshortrelease Requires: dotnet-aspnetcore-runtime-%_dotnet_major = %_dotnet_coreshortrelease Requires: dotnet-aspnetcore-targeting-pack-%_dotnet_major = %_dotnet_coreshortrelease Requires: dotnet-targeting-pack-%_dotnet_major = %version-%release Requires: netstandard-targeting-pack-2.1 = %_dotnet_netstandartrelease Requires: dotnet-common AutoReq: yes,nomingw32,nomingw64,nomono,nomonolib AutoProv: no %if_enabled dotnet_host Provides: dotnet-sdk = %EVR %endif %description SDK for the .NET runtime and libraries. Just copying managed code now. # Note: one for all versions %package -n netstandard-targeting-pack-2.1 Version: %_dotnet_netstandartrelease Release: alt2 Group: Development/Other Summary: NETStandard.Library.Ref 2.1 AutoReq: yes,nomingw32,nomingw64,nomono,nomonolib AutoProv: no Conflicts: %name <= %EVR %description -n netstandard-targeting-pack-2.1 NETStandard.Library.Ref 2.1 .NET is a development platform that you can use to build command-line applications, microservices and modern websites. It is open source, cross-platform and is supported by Microsoft. We hope you enjoy using it! If you do, please consider joining the active community of developers that are contributing to the project on GitHub (https://github.com/dotnet/core). %package -n dotnet-targeting-pack-%_dotnet_major Summary: .NET 6 targeting pack Group: Development/Other AutoReq: no AutoProv: no %description -n dotnet-targeting-pack-%_dotnet_major SDK for the .NET runtime and libraries. %prep %setup %install mkdir -p %buildroot%_dotnet_sdk/ cp -a %bootstrapdir/sdk/%_dotnet_sdkrelease/* %buildroot%_dotnet_sdk/ # dotnet --info get RID string from this .version, line 3 cp -a %bootstrapdir/sdk/%_dotnet_sdkrelease/.version %buildroot%_dotnet_sdk/ cp -a %bootstrapdir/sdk/%_dotnet_sdkrelease/.toolsetversion %buildroot%_dotnet_sdk/ # dotnet-targeting-pack mkdir -p %buildroot%_dotnetdir/packs/ cp -a %bootstrapdir/packs/Microsoft.NETCore.App.Ref/ %buildroot%_dotnetdir/packs/ %if_enabled netstandart cp -a %bootstrapdir/packs/NETStandard.Library.Ref/ %buildroot%_dotnetdir/packs/ %endif mkdir -p %buildroot%_dotnetdir/templates/%_dotnet_templatesrelease/ cp -a %bootstrapdir/templates/%_dotnet_templatesrelease/* %buildroot%_dotnetdir/templates/%_dotnet_templatesrelease/ mkdir -p %buildroot%_dotnetdir/sdk-manifests/%_dotnet_sdkmanifestsrelease/ cp -a %bootstrapdir/sdk-manifests/%_dotnet_sdkmanifestsrelease/* %buildroot%_dotnetdir/sdk-manifests/%_dotnet_sdkmanifestsrelease/ # apphost used as executable, f.i. dotnet tool install --global paket will install it in $HOME/.dotnet/tools as paket # rewrite one with our binary rm -f %buildroot%_dotnet_sdk/AppHostTemplate/apphost cp %_dotnet_apphostdir/runtimes/%_dotnet_rid/native/apphost %buildroot%_dotnet_sdk/AppHostTemplate/apphost %files %dir %_dotnetdir/sdk/ %_dotnet_sdk/ # TODO: standalone package %dir %_dotnetdir/templates/ %dir %_dotnetdir/templates/%_dotnet_templatesrelease/ %_dotnetdir/templates/%_dotnet_templatesrelease/*.nupkg %dir %_dotnetdir/sdk-manifests/ %_dotnet_sdkmanifests/ %files -n dotnet-targeting-pack-%_dotnet_major %_dotnetdir/packs/Microsoft.NETCore.App.Ref/ %if_enabled netstandart %files -n netstandard-targeting-pack-2.1 %dir %_dotnetdir/ %dir %_dotnetdir/packs/ %dir %_dotnetdir/packs/NETStandard.Library.Ref/ %_dotnetdir/packs/NETStandard.Library.Ref/%_dotnet_netstandartrelease/ %endif %changelog * Tue Jan 09 2024 Vitaly Lipatov <lav@altlinux.ru> 7.0.114-alt1 - .NET SDK 7.0.114 * Fri Jul 28 2023 Vitaly Lipatov <lav@altlinux.ru> 7.0.109-alt1 - .NET SDK 7.0.109 * Mon Mar 13 2023 Vitaly Lipatov <lav@altlinux.ru> 7.0.103-alt1 - .NET SDK 7.0.103 * Tue Dec 27 2022 Vitaly Lipatov <lav@altlinux.ru> 7.0.101-alt1 - .NET SDK 7.0.101 * Tue Dec 27 2022 Vitaly Lipatov <lav@altlinux.ru> 6.0.112-alt1 - .NET SDK 6.0.112 - pack missed sdk-manifests * Fri Aug 05 2022 Vitaly Lipatov <lav@altlinux.ru> 6.0.107-alt1 - .NET SDK 6.0.107 - provide dotnet package (as recommended dotnet package) * Sat Apr 02 2022 Vitaly Lipatov <lav@altlinux.ru> 6.0.103-alt1 - .NET SDK 6.0.103 * Fri Feb 11 2022 Vitaly Lipatov <lav@altlinux.ru> 6.0.102-alt1 - .NET SDK 6.0.102 * Fri Jul 16 2021 Vitaly Lipatov <lav@altlinux.ru> 6.0.100.preview.6-alt1 - .NET SDK 6.0.100 * Thu Jul 01 2021 Vitaly Lipatov <lav@altlinux.ru> 5.0.204-alt1 - .NET SDK 5.0.204 * Sat Apr 17 2021 Vitaly Lipatov <lav@altlinux.ru> 5.0.202-alt1 - .NET SDK 5.0.202 - CVE-2021-26701: .NET Core Remote Code Execution Vulnerability * Fri Feb 19 2021 Vitaly Lipatov <lav@altlinux.ru> 5.0.103-alt2 - drop sdk/NuGetFallbackFolder - build netstandard-targeting-pack-2.1 separately - add require dotnet-5.0 - don't create dotnet group anymore * Wed Feb 17 2021 Vitaly Lipatov <lav@altlinux.ru> 5.0.103-alt1 - .NET SDK 5.0.103 - CVE-2021-1721: .NET Core Denial of Service Vulnerability - CVE-2021-24112: .NET 5 and .NET Core Remote Code Execution Vulnerability * Tue Feb 16 2021 Vitaly Lipatov <lav@altlinux.ru> 5.0.102-alt1 - .NET 5 SDK * Wed Aug 05 2020 Vitaly Lipatov <lav@altlinux.ru> 3.1.106-alt1 - .NET Core SDK 3.1.106 Release * Thu Feb 20 2020 Vitaly Lipatov <lav@altlinux.ru> 3.1.100-alt5 - revert apphost copying * Fri Feb 14 2020 Vitaly Lipatov <lav@altlinux.ru> 3.1.100-alt4 - add strict dotnet cli requires (SDK unusable without it) - replace copy of apphost with link to the original * Sat Dec 28 2019 Vitaly Lipatov <lav@altlinux.ru> 3.1.100-alt3 - build on aarch64 * Wed Dec 18 2019 Vitaly Lipatov <lav@altlinux.ru> 3.1.100-alt2 - add NETStandard.Library.Ref and Microsoft.NETCore.App.Ref targeting packs * Tue Dec 17 2019 Vitaly Lipatov <lav@altlinux.ru> 3.1.100-alt1 - .NET Core SDK 3.1.100 Release * Wed Mar 13 2019 Vitaly Lipatov <lav@altlinux.ru> 2.1.9-alt2 - override apphost binary from our build * Wed Mar 13 2019 Vitaly Lipatov <lav@altlinux.ru> 2.1.9-alt1 - .NET Core SDK 2.1.505 Release * Wed Dec 05 2018 Vitaly Lipatov <lav@altlinux.ru> 2.1.6-alt1 - .NET Core SDK 2.1.500 Release * Fri Oct 12 2018 Aleksei Nikiforov <darktemplar@altlinux.org> 2.1.5-alt1 - NMU: .NET Core SDK 2.1.5 Release * Thu Feb 08 2018 Vitaly Lipatov <lav@altlinux.ru> 2.0.5-alt1 - .NET Core SDK 2.0.5 Release - CVE-2018-0764, CVE-2018-0786 * Sun Nov 26 2017 Vitaly Lipatov <lav@altlinux.ru> 2.0.3-alt1 - .NET Core SDK 2.0.3 Release * Mon Aug 28 2017 Vitaly Lipatov <lav@altlinux.ru> 2.0.0-alt4 - .NET Core SDK 2.0.0 Release - add /var/cache/dotnet/NuGetFallbackFolder for packages common cache * Fri Jul 14 2017 Vitaly Lipatov <lav@altlinux.ru> 2.0.0-alt3.preview2 - use dotnet-bootstrap-sdk buildreq * Thu Jul 13 2017 Vitaly Lipatov <lav@altlinux.ru> 2.0.0-alt2.preview2 - .NET Core SDK 2.0.0 Preview 2 build 006497 * Wed May 31 2017 Vitaly Lipatov <lav@altlinux.ru> 2.0.0-alt2.preview1 - fix requires, provides - add missed .version * Sun May 28 2017 Vitaly Lipatov <lav@altlinux.ru> 2.0.0-alt1.preview1 - fix packing * Mon May 22 2017 Vitaly Lipatov <lav@altlinux.ru> 2.0.0-alt0.preview1 - .NET Core 2.0.0 Preview 1 |