|
@@ -2,15 +2,14 @@ Summary: .NET runtime environment
|
|
|
Summary(ja): .NET ランタイム環境
|
|
|
Name: mono
|
|
|
Version: 2.10.1
|
|
|
-Release: 1%{?_dist_release}
|
|
|
+Release: 2%{?_dist_release}
|
|
|
Group: Development/Languages
|
|
|
License: GPL, LGPL, MIT X11
|
|
|
URL: http://www.mono-project.com/
|
|
|
Source0: http://ftp.novell.com/pub/mono/sources/mono/%{name}-%{version}.tar.bz2
|
|
|
Source1: monodir.c
|
|
|
|
|
|
-# patch for Vine Linux
|
|
|
-Patch0: mono-2.8.1-ppc.patch
|
|
|
+Patch1: mono-2.10.1-ppc-len.patch
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
BuildRequires: bison
|
|
@@ -199,9 +198,7 @@ monodoc is the documentation package for the mono .NET environment
|
|
|
|
|
|
%prep
|
|
|
%setup -q
|
|
|
-%ifarch ppc
|
|
|
-%patch0 -p1 -b .ppc
|
|
|
-%endif
|
|
|
+%patch1 -p1
|
|
|
|
|
|
## These are only needed if there are patches to the runtime
|
|
|
#rm -f libgc/libtool.m4
|
|
@@ -305,7 +302,11 @@ install monodir %{buildroot}%{_bindir}
|
|
|
%bin_and_exe gmcs 2.0/gmcs
|
|
|
%bin_and_exe installvst 4.0/installvst
|
|
|
%bin_and_exe mconfig 4.0/mconfig
|
|
|
+%ifarch ppc
|
|
|
+%{mono_dir}/2.0/mcs.exe
|
|
|
+%else
|
|
|
%bin_and_exe mcs 2.0/mcs
|
|
|
+%endif
|
|
|
%bin_and_exe mod 4.0/mod
|
|
|
%bin_and_exe mono-cil-strip 4.0/mono-cil-strip
|
|
|
%bin_and_exe monolinker 2.0/monolinker
|
|
@@ -486,7 +487,9 @@ install monodir %{buildroot}%{_bindir}
|
|
|
%{_libdir}/pkgconfig/mono-2.pc
|
|
|
%{_libdir}/pkgconfig/mono-lineeditor.pc
|
|
|
%{_libdir}/pkgconfig/mono-options.pc
|
|
|
+%ifnarch ppc
|
|
|
%{_libdir}/pkgconfig/monosgen-2.pc
|
|
|
+%endif
|
|
|
%{_libdir}/pkgconfig/wcf.pc
|
|
|
%{_includedir}/mono-2.0
|
|
|
%{_mandir}/man1/al.1.gz
|
|
@@ -651,6 +654,12 @@ install monodir %{buildroot}%{_bindir}
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
+* Sat Apr 16 2011 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.10.1-2
|
|
|
+- remove the old ppc patch (similar codes already in the upstream)
|
|
|
+- add Patch1 (from Gentoo)
|
|
|
+- mono/2.0/mcs.exe.so not available on ppc - remove from the filelist
|
|
|
+ (TODO: see the Fedora's srpm - removing mono/2.0/{mcs,gmcs}.exe.so etc.)
|
|
|
+
|
|
|
* Sun Apr 03 2011 Shu KONNO <owa@bg.wakwak.com> 2.10.1-1
|
|
|
- updated mono to 2.10.1
|
|
|
|