Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:vmas:mono:stable
dotnet-1.1.1
dotnet.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File dotnet.spec of Package dotnet-1.1.1
%define __majorver 1.1 %define __minorver 1 #%define debug_package %{nil} Name: dotnet Version: %{__majorver}.%{__minorver} Release: 0 Summary: .NET Core Runtime Group: Development/Libraries/Other License: EULA URL: https://github.com/dotnet/coreclr Source: dotnet-centos-x64.%{version}.tar.gz Prefix: %{_prefix} BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: x86_64 Obsoletes: dotnet Provides: dotnet = %{version} Requires: dotnet-cli = %{version} Requires: dotnet-platform-%{__majorver} = %{version} %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 $RPM_BUILD_ROOT%{_prefix}/lib/ mkdir -p $RPM_BUILD_ROOT%{_prefix}/bin/ install -m 755 -d $RPM_BUILD_ROOT%{_prefix}/lib/%{name}/ cp -r ./* $RPM_BUILD_ROOT%{_prefix}/lib/%{name}/ ln -fs %{_prefix}/lib/%{name}/dotnet $RPM_BUILD_ROOT%{_prefix}/bin/dotnet %clean [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT %files %defattr(-, root, root) %package -n dotnet-cli 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) %{_prefix}/bin/dotnet %{_prefix}/lib/%{name}/dotnet %{_prefix}/lib/%{name}/LICENSE.txt %{_prefix}/lib/%{name}/ThirdPartyNotices.txt %{_prefix}/lib/%{name}/host/* %package -n dotnet-platform-%{__majorver} License: EULA Summary: .NET Core Platform Group: Development/Libraries/Other Requires: dotnet-cli >= %{version} %description -n dotnet-platform-%{__majorver} .NET Core Platform %files -n dotnet-platform-%{__majorver} %defattr(-,root,root) %{_prefix}/lib/%{name}/shared/* %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