Group :: Office
RPM: wine-mono
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%define winemonodir %_datadir/wine/mono
Name: wine-mono
Version: 7.4.0
Release: alt1
Summary: Windows build of Mono to run .NET applications via Wine
License: GPL, LGPL2.1, MPL-2.0
Group: Office
Url: http://wiki.winehq.org/Mono
Packager: Vitaly Lipatov <lav at altlinux.ru>
# Source-url: https://dl.winehq.org/wine/wine-mono/%version/wine-mono-%version-x86.tar.xz
Source: %name-%version.tar
BuildArch: noarch
AutoReq: no
AutoProv: no
%description
Mono is an open-source and cross-platform implementation of the .NET
Framework. Wine can use a Windows build of Mono to run .NET applications.
For Wine releases 1.5.3 and later, the Wine Mono package is recommended.
%prep
%setup
# fix python2 print
%__subst 's|^print \(.*\)|print (\1)|' lib/mono/lldb/mono.py
%install
mkdir -p %buildroot%winemonodir/%name-%version/
cp -a * %buildroot%winemonodir/%name-%version/
%files
%dir %_datadir/wine/
%dir %winemonodir/
%winemonodir/%name-%version/
%changelog
…
Full changelog you can see here
Name: wine-mono
Version: 7.4.0
Release: alt1
Summary: Windows build of Mono to run .NET applications via Wine
License: GPL, LGPL2.1, MPL-2.0
Group: Office
Url: http://wiki.winehq.org/Mono
Packager: Vitaly Lipatov <lav at altlinux.ru>
# Source-url: https://dl.winehq.org/wine/wine-mono/%version/wine-mono-%version-x86.tar.xz
Source: %name-%version.tar
BuildArch: noarch
AutoReq: no
AutoProv: no
%description
Mono is an open-source and cross-platform implementation of the .NET
Framework. Wine can use a Windows build of Mono to run .NET applications.
For Wine releases 1.5.3 and later, the Wine Mono package is recommended.
%prep
%setup
# fix python2 print
%__subst 's|^print \(.*\)|print (\1)|' lib/mono/lldb/mono.py
%install
mkdir -p %buildroot%winemonodir/%name-%version/
cp -a * %buildroot%winemonodir/%name-%version/
%files
%dir %_datadir/wine/
%dir %winemonodir/
%winemonodir/%name-%version/
%changelog
…
Full changelog you can see here