Package dotnet-sdk: 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 | # This spec is backported to ALTLinux c8.1 automatically by rpmbph script from etersoft-build-utils. # %define _unpackaged_files_terminate_build 1 # FIXME: %define _dotnet_sdkrelease 2.1.505 # TODO: change package version to sdk version? # TODO: build from sources Name: dotnet-sdk Version: 2.1.9 Release: alt1.M80C.1.2 Summary: SDK for the .NET Core runtime and libraries License: MIT Group: Development/Other Source: %name-%version.tar ExclusiveArch: x86_64 BuildRequires: rpm-build-intro BuildRequires(pre): rpm-macros-dotnet = %version BuildRequires: dotnet-bootstrap-sdk = %_dotnet_sdkrelease BuildRequires: dotnet Requires: dotnet-common = %version AutoReq: yes,nomingw32,nomingw64,nomono,nomonolib AutoProv: no %description SDK for the .NET Core runtime and libraries. Just copying binary now. %prep %setup %install mkdir -p %buildroot%_dotnet_sdk/ cp -a %_libdir/dotnet-bootstrap/sdk/%_dotnet_sdkrelease/* %buildroot%_dotnet_sdk/ # dotnet --info get RID string from this .version, line 3 cp -a %_libdir/dotnet-bootstrap/sdk/%_dotnet_sdkrelease/.version %buildroot%_dotnet_sdk/ # override binary file cp -afv %_dotnetdir/apphost %buildroot%_dotnet_sdk/AppHostTemplate/apphost mkdir -p %buildroot%_cachedir/dotnet/NuGetFallbackFolder/ ln -sr %buildroot%_cachedir/dotnet/NuGetFallbackFolder %buildroot%_libdir/dotnet/sdk/NuGetFallbackFolder %pre %groupadd dotnet || : %files %dir %_libdir/dotnet/sdk/ %_dotnet_sdk/ %_libdir/dotnet/sdk/NuGetFallbackFolder/ %dir %_cachedir/dotnet/ %attr(2775,root,dotnet) %dir %_cachedir/dotnet/NuGetFallbackFolder/ %changelog * Fri May 17 2019 Vitaly Lipatov <lav@altlinux.ru> 2.1.9-alt1.M80C.1.2 - backport to ALTLinux c8.1 (by rpmbph script) * 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 |