Package dotnet-common: 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 | # This spec is backported to ALTLinux c8 automatically by rpmbph script from etersoft-build-utils. # %define corerelease 2.0.5 %define sdkrelease 2.0.5 Name: dotnet-common Version: 2.0.5 Release: alt0.M80C.1 Summary: Common dir and files for the .NET Core runtime and libraries License: MIT Group: Development/Other Source: %name-%version.tar %description Common dir and files for the .NET Core runtime and libraries. %package -n rpm-macros-dotnet Summary: RPM macros for build dotnet packages Group: Development/Other %description -n rpm-macros-dotnet RPM macros for build dotnet packages. %prep %setup # make scripts happy cat <<EOF >fake-os-release NAME="GNU/Linux" VERSION="" ID=linux VERSION_ID="" EOF cat <<EOF >fake-os-release-fedora NAME="Fedora" VERSION="26" ID=fedora VERSION_ID="26" EOF cat <<EOF >macros %%_dotnet_corerelease %corerelease %%_dotnet_sdkrelease %sdkrelease %%_dotnetdir %_libdir/dotnet %%_dotnet_hostfxr %%_dotnetdir/host/fxr/%%_dotnet_corerelease/ %%_dotnet_shared %%_dotnetdir/shared/Microsoft.NETCore.App/%%_dotnet_corerelease/ %%_dotnet_sdk %%_dotnetdir/sdk/%%_dotnet_sdkrelease/ EOF # FIXME: possible hack cat <<EOF >.version 0 %corerelease EOF %install mkdir -p %buildroot%_libdir/dotnet/ install -m644 fake-os-release %buildroot%_libdir/dotnet/fake-os-release install -m644 fake-os-release-fedora %buildroot%_libdir/dotnet/fake-os-release-fedora mkdir -p %buildroot%_libdir/dotnet/shared/Microsoft.NETCore.App/%corerelease/ mkdir -p %buildroot%_libdir/dotnet/host/fxr/%corerelease/ install -D -m644 macros %buildroot%_rpmmacrosdir/dotnet install -D -m644 .version %buildroot%_libdir/dotnet/shared/Microsoft.NETCore.App/%corerelease/.version %files %dir %_libdir/dotnet/ %_libdir/dotnet/fake-os-release %_libdir/dotnet/fake-os-release-fedora %dir %_libdir/dotnet/host/ %dir %_libdir/dotnet/host/fxr/ %dir %_libdir/dotnet/host/fxr/%corerelease/ %dir %_libdir/dotnet/shared/ %dir %_libdir/dotnet/shared/Microsoft.NETCore.App/ %dir %_libdir/dotnet/shared/Microsoft.NETCore.App/%corerelease/ %_libdir/dotnet/shared/Microsoft.NETCore.App/%corerelease/.version %files -n rpm-macros-dotnet %_rpmmacrosdir/dotnet %changelog * Thu Sep 20 2018 Vitaly Lipatov <lav@altlinux.ru> 2.0.5-alt0.M80C.1 - backport to ALTLinux c8 (by rpmbph script) * Tue Jan 30 2018 Vitaly Lipatov <lav@altlinux.ru> 2.0.5-alt1 - build 2.0.5 release - CVE-2018-0764, CVE-2018-0786 * Thu Nov 23 2017 Vitaly Lipatov <lav@altlinux.ru> 2.0.3-alt1 - build 2.0.3 release * Mon Aug 28 2017 Vitaly Lipatov <lav@altlinux.ru> 2.0.0-alt4 - .NET Core 2.0.0 release - add subpackage rpm-macros-dotnet * Wed Jul 12 2017 Vitaly Lipatov <lav@altlinux.ru> 2.0.0-alt3.preview2 - .NET Core 2.0.0 Preview 2 (2.0.0-preview2-25407-01) * Tue Jun 13 2017 Vitaly Lipatov <lav@altlinux.ru> 2.0.0-alt2 - use linux-64 in fake-os-release * Thu May 25 2017 Vitaly Lipatov <lav@altlinux.ru> 2.0.0-alt1.preview1 - use full corerelease * Mon May 22 2017 Vitaly Lipatov <lav@altlinux.ru> 2.0.0-alt0.preview1 - .NET Core 2.0.0 Preview 1 |