Sisyphus repository
Last update: 15 december 2017 | SRPMs: 18225 | Visits: 10575657
en ru br
ALT Linux repos
S:2.0.3-alt1

Group :: Development/Other
RPM: dotnet-sdk

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

# FIXME:
%define _dotnet_sdkrelease 2.0.3

# TODO: build from sources

Name: dotnet-sdk
Version: 2.0.3
Release: alt1

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

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/

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

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin