Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:MaxxedSUSE:Compiler-Tools
dotnet-sdk-6.0.101
dotnet-sdk.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File dotnet-sdk.spec of Package dotnet-sdk-6.0.101
%define __majorver 6.0 %define __minorver 101 %define rtversion 6.0.1 #%define debug_package %{nil} Name: dotnet-sdk Version: %{__majorver}.%{__minorver} Release: 0 Summary: .NET Core Runtime Group: Development/Libraries/Other License: EULA URL: https://github.com/dotnet Source: dotnet-sdk-%{version}-linux-x64.tar.gz Prefix: %{_prefix} BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: x86_64 Obsoletes: dotnet-sdk Provides: dotnet-sdk = %{version} Obsoletes: dotnet Provides: dotnet = %{rtversion} Requires: dotnet-cli = %{rtversion} Requires: dotnet-platform-%{__majorver} = %{rtversion} Provides: aspnet = %{rtversion} Obsoletes: aspnetcore Obsoletes: aspnet Requires: aspnetcore-runtime-%{__majorver} = %{rtversion} %define _use_internal_dependency_generator 0 %if 0%{?fedora} || 0%{?rhel} || 0%{?centos} %define __find_provides env sh -c 'filelist=($(cat)) && { printf "%s\\n" "${filelist[@]}" | /usr/lib/rpm/redhat/find-provides && printf "%s\\n" "${filelist[@]}" | prefix=%{buildroot}%{_prefix} %{buildroot}%{_bindir}/mono-find-provides; } | sort | uniq' %define __find_requires env sh -c 'filelist=($(cat)) && { printf "%s\\n" "${filelist[@]}" | /usr/lib/rpm/redhat/find-requires && printf "%s\\n" "${filelist[@]}" | prefix=%{buildroot}%{_prefix} %{buildroot}%{_bindir}/mono-find-requires; } | sort | uniq | grep ^...' %else %define __find_provides env sh -c 'filelist=($(cat)) && { printf "%s\\n" "${filelist[@]}" | /usr/lib/rpm/find-provides && printf "%s\\n" "${filelist[@]}" | prefix=%{buildroot}%{_prefix} %{buildroot}%{_bindir}/mono-find-provides; } | sort | uniq' %define __find_requires env sh -c 'filelist=($(cat)) && { printf "%s\\n" "${filelist[@]}" | /usr/lib/rpm/find-requires && printf "%s\\n" "${filelist[@]}" | prefix=%{buildroot}%{_prefix} %{buildroot}%{_bindir}/mono-find-requires; } | sort | uniq | grep ^...' %endif %description .NET Core is a general purpose development platform maintained by Microsoft and the .NET community on GitHub. It is cross-platform, supporting Windows, macOS and Linux, and can be used in device, cloud, and embedded/IoT scenarios. %prep %setup -q -c %{name}-%{version} %build %install mkdir -p %{buildroot}/usr/lib/ mkdir -p %{buildroot}/usr/bin/dotnet install -m 755 -d %{buildroot}/usr/lib/dotnet/ cp -r ./* %{buildroot}/usr/lib/dotnet/ ln -fs /usr/lib/dotnet/dotnet %{buildroot}/usr/bin/dotnet %clean [ "%{buildroot}" != "/" ] && rm -rf %{buildroot} %files %defattr(-, root, root) /usr/bin/dotnet/ /usr/lib/dotnet/sdk/* /usr/lib/dotnet/sdk-manifests/* /usr/lib/dotnet/packs/* /usr/lib/dotnet/templates/* %package -n dotnet-cli Version: %{rtversion} License: EULA Summary: .NET Core Platform Group: Development/Libraries/Other Requires: libunwind lttng-ust libicu %description -n dotnet-cli .NET Core command-line interface tools. %files -n dotnet-cli %defattr(-,root,root) /usr/lib/dotnet/ %package -n dotnet-platform-%{__majorver} Version: %{rtversion} License: EULA Summary: .NET Core Platform Group: Development/Libraries/Other Requires: dotnet-cli >= %{rtversion} %description -n dotnet-platform-%{__majorver} .NET Core Platform %files -n dotnet-platform-%{__majorver} %defattr(-,root,root) /usr/lib/dotnet/ %package -n aspnetcore-runtime-%{__majorver} Version: %{rtversion} License: EULA Summary: ASP.NET Core Runtime Group: Development/Libraries/Other Requires: dotnet-cli >= %{version} Requires: dotnet-platform-%{__majorver} >= %{rtversion} %description -n aspnetcore-runtime-%{__majorver} .NET Core Platform %files -n aspnetcore-runtime-%{__majorver} %defattr(-,root,root) /usr/lib/dotnet/ %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor