|
@@ -2,12 +2,16 @@ Summary: .NET runtime environment
|
|
Summary(ja): .NET ランタイム環境
|
|
Summary(ja): .NET ランタイム環境
|
|
Name: mono
|
|
Name: mono
|
|
Version: 2.8.1
|
|
Version: 2.8.1
|
|
-Release: 1%{?_dist_release}
|
|
+Release: 2%{?_dist_release}
|
|
Group: Development/Languages
|
|
Group: Development/Languages
|
|
License: GPL, LGPL, MIT X11
|
|
License: GPL, LGPL, MIT X11
|
|
URL: http://www.mono-project.com/
|
|
URL: http://www.mono-project.com/
|
|
Source0: http://ftp.novell.com/pub/mono/sources/mono/%{name}-%{version}.tar.bz2
|
|
Source0: http://ftp.novell.com/pub/mono/sources/mono/%{name}-%{version}.tar.bz2
|
|
Source1: monodir.c
|
|
Source1: monodir.c
|
|
|
|
+
|
|
|
|
+# patch for Vine Linux
|
|
|
|
+Patch0: mono-2.8.1-ppc.patch
|
|
|
|
+
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRequires: bison
|
|
BuildRequires: bison
|
|
BuildRequires: glib2-devel
|
|
BuildRequires: glib2-devel
|
|
@@ -195,6 +199,10 @@ monodoc is the documentation package for the mono .NET environment
|
|
|
|
|
|
%prep
|
|
%prep
|
|
%setup -q
|
|
%setup -q
|
|
|
|
+%ifarch ppc
|
|
|
|
+%patch0 -p1 -b .ppc
|
|
|
|
+%endif
|
|
|
|
+
|
|
## These are only needed if there are patches to the runtime
|
|
## These are only needed if there are patches to the runtime
|
|
#rm -f libgc/libtool.m4
|
|
#rm -f libgc/libtool.m4
|
|
#autoreconf --force --install
|
|
#autoreconf --force --install
|
|
@@ -203,7 +211,6 @@ monodoc is the documentation package for the mono .NET environment
|
|
## Remove prebuilt binaries
|
|
## Remove prebuilt binaries
|
|
#rm -rf mcs/class/lib/monolite/*
|
|
#rm -rf mcs/class/lib/monolite/*
|
|
|
|
|
|
-
|
|
|
|
%build
|
|
%build
|
|
gcc -o monodir %{SOURCE1} -DMONODIR=\"%{mono_dir}\"
|
|
gcc -o monodir %{SOURCE1} -DMONODIR=\"%{mono_dir}\"
|
|
|
|
|
|
@@ -212,6 +219,10 @@ export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
|
--with-jit=yes \
|
|
--with-jit=yes \
|
|
--with-ikvm=yes \
|
|
--with-ikvm=yes \
|
|
--with-sigaltstack=no \
|
|
--with-sigaltstack=no \
|
|
|
|
+%ifarch ppc
|
|
|
|
+ --with-sgen=no \
|
|
|
|
+ --disable-system-aot \
|
|
|
|
+%endif
|
|
;
|
|
;
|
|
|
|
|
|
# don't use parallel builds
|
|
# don't use parallel builds
|
|
@@ -261,12 +272,16 @@ install monodir %{buildroot}%{_bindir}
|
|
%{_bindir}/mono-api-*
|
|
%{_bindir}/mono-api-*
|
|
%{_bindir}/mono-configuration-crypto
|
|
%{_bindir}/mono-configuration-crypto
|
|
%{_bindir}/mono-heapviz
|
|
%{_bindir}/mono-heapviz
|
|
|
|
+%ifnarch ppc
|
|
%{_bindir}/mono-sgen
|
|
%{_bindir}/mono-sgen
|
|
|
|
+%endif
|
|
%{_bindir}/peverify
|
|
%{_bindir}/peverify
|
|
%{_bindir}/mono-test-install
|
|
%{_bindir}/mono-test-install
|
|
%{_libdir}/libMonoPosixHelper.so
|
|
%{_libdir}/libMonoPosixHelper.so
|
|
%{_libdir}/libmono-2.0.so.*
|
|
%{_libdir}/libmono-2.0.so.*
|
|
|
|
+%ifnarch ppc
|
|
%{_libdir}/libmonosgen-2.0.so.*
|
|
%{_libdir}/libmonosgen-2.0.so.*
|
|
|
|
+%endif
|
|
%{_libdir}/libmono-profiler-aot.so.*
|
|
%{_libdir}/libmono-profiler-aot.so.*
|
|
%{_libdir}/libmono-profiler-cov.so.*
|
|
%{_libdir}/libmono-profiler-cov.so.*
|
|
%{_libdir}/libmono-profiler-iomap.so.*
|
|
%{_libdir}/libmono-profiler-iomap.so.*
|
|
@@ -404,7 +419,9 @@ install monodir %{buildroot}%{_bindir}
|
|
%{_libdir}/libmono-profiler-cov.so
|
|
%{_libdir}/libmono-profiler-cov.so
|
|
%{_libdir}/libmono-profiler-iomap.so
|
|
%{_libdir}/libmono-profiler-iomap.so
|
|
%{_libdir}/libmono-profiler-logging.so
|
|
%{_libdir}/libmono-profiler-logging.so
|
|
|
|
+%ifnarch ppc
|
|
%{_libdir}/libmonosgen-2.0.so
|
|
%{_libdir}/libmonosgen-2.0.so
|
|
|
|
+%endif
|
|
%{_libdir}/libMonoSupportW.so
|
|
%{_libdir}/libMonoSupportW.so
|
|
%{_libdir}/libikvm-native.so
|
|
%{_libdir}/libikvm-native.so
|
|
%{mono_dir}/4.0/mkbundle.exe*
|
|
%{mono_dir}/4.0/mkbundle.exe*
|
|
@@ -631,6 +648,11 @@ install monodir %{buildroot}%{_bindir}
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Tue Dec 14 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.8.1-2
|
|
|
|
+- add Patch0 (mono-2.8.1-ppc.patch)
|
|
|
|
+- add configure option "--with-sgen=no" and "--disable-system-aot" (ppc only)
|
|
|
|
+- fix %%files (add %%ifnarch ppc)
|
|
|
|
+
|
|
* Sun Nov 21 2010 Shu KONNO <owa@bg.wakwak.com> 2.8.1-1
|
|
* Sun Nov 21 2010 Shu KONNO <owa@bg.wakwak.com> 2.8.1-1
|
|
- updated mono to 2.8.1
|
|
- updated mono to 2.8.1
|
|
|
|
|