Browse Source

mono: fix for ppc, gnome-sharp2: add BR: libSM-devel, gnome-desktop-sharp2: change BR: gnome-panel-devel

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@2347 ec354946-7b23-47d6-9f5a-488ba84defc7
Takemikaduchi 12 years ago
parent
commit
6d9c5190cb

+ 5 - 2
g/gnome-desktop-sharp2/gnome-desktop-sharp2-vl.spec

@@ -2,7 +2,7 @@
 %define _name gnome-desktop-sharp
 Name: gnome-desktop-sharp2
 Version: 2.26.0
-Release: 8%{?_dist_release}
+Release: 9%{?_dist_release}
 Summary: Mono bindings for libgnome-desktop
 Summary(ja): Mono 用 libgnome-desktop バインディング
 Group: Development/Libraries
@@ -18,7 +18,7 @@ BuildRequires: librsvg2-devel libwnck-devel vte-devel
 BuildRequires: gtkhtml3-devel gtksourceview2-devel
 #BuildRequires: nautilus-cd-burner
 BuildRequires: gnome-desktop-devel libgnomeprintui-devel
-BuildRequires: gnome-panel
+BuildRequires: gnome-panel-devel
 
 Packager:      konno, daisuke, ryoichi
 
@@ -183,6 +183,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/pkgconfig/gnome-print-sharp-2.18.pc
 
 %changelog
+* Tue Dec 14 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.26.0-9
+- change BuildRequires: gnome-panel-devel instead of gnome-panel
+
 * Sat Oct 09 2010 Shu KONNO <owa@bg.wakwak.com> 2.26.0-8
 - rebuilt with mono-2.8
 

+ 5 - 1
g/gnome-sharp2/gnome-sharp2-vl.spec

@@ -4,7 +4,7 @@ Summary: .Net Language Bindings for Gnome
 Summary(ja): Mono 用 GNOME バインディング
 Name: gnome-sharp2
 Version: 2.24.1
-Release: 6%{?_dist_release}
+Release: 7%{?_dist_release}
 License: GNU General ublic License (GPL), GNU Library General Public License v. 2.0 and 2.1 (LGPL)
 Group: Development/Libraries
 URL: http://gtk-sharp.sf.net
@@ -16,6 +16,7 @@ BuildRequires: gtk-sharp2 gtk-sharp2-gapi
 BuildRequires: librsvg2-devel
 BuildRequires: mono-devel monodoc
 BuildRequires: vte-devel gtkhtml3-devel
+BuildRequires: libSM-devel
 %define env_options export MONO_SHARED_DIR=/tmp
 
 %description
@@ -138,6 +139,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Tue Dec 14 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.24.1-7
+- add BuildRequires: libSM-devel
+
 * Sat Oct 09 2010 Shu KONNO <owa@bg.wakwak.com> 2.24.1-6
 - added gnome-sharp-2.24.1-TestXfer.patch
 - rebuilt with mono-2.8

+ 24 - 2
m/mono/mono-vl.spec

@@ -2,12 +2,16 @@ Summary: .NET runtime environment
 Summary(ja): .NET ランタイム環境
 Name: mono
 Version: 2.8.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
+
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
 BuildRequires: bison
 BuildRequires: glib2-devel
@@ -195,6 +199,10 @@ monodoc is the documentation package for the mono .NET environment
 
 %prep
 %setup -q
+%ifarch ppc
+%patch0 -p1 -b .ppc
+%endif
+
 ## These are only needed if there are patches to the runtime
 #rm -f libgc/libtool.m4
 #autoreconf --force --install
@@ -203,7 +211,6 @@ monodoc is the documentation package for the mono .NET environment
 ## Remove prebuilt binaries
 #rm -rf mcs/class/lib/monolite/*
 
-
 %build
 gcc -o monodir %{SOURCE1} -DMONODIR=\"%{mono_dir}\"
 
@@ -212,6 +219,10 @@ export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
 	--with-jit=yes \
 	--with-ikvm=yes \
 	--with-sigaltstack=no \
+%ifarch ppc
+	--with-sgen=no \
+	--disable-system-aot \
+%endif
 	;
 
 # don't use parallel builds
@@ -261,12 +272,16 @@ install monodir %{buildroot}%{_bindir}
 %{_bindir}/mono-api-*
 %{_bindir}/mono-configuration-crypto
 %{_bindir}/mono-heapviz
+%ifnarch ppc
 %{_bindir}/mono-sgen
+%endif
 %{_bindir}/peverify
 %{_bindir}/mono-test-install
 %{_libdir}/libMonoPosixHelper.so
 %{_libdir}/libmono-2.0.so.*
+%ifnarch ppc
 %{_libdir}/libmonosgen-2.0.so.*
+%endif
 %{_libdir}/libmono-profiler-aot.so.*
 %{_libdir}/libmono-profiler-cov.so.*
 %{_libdir}/libmono-profiler-iomap.so.*
@@ -404,7 +419,9 @@ install monodir %{buildroot}%{_bindir}
 %{_libdir}/libmono-profiler-cov.so
 %{_libdir}/libmono-profiler-iomap.so
 %{_libdir}/libmono-profiler-logging.so
+%ifnarch ppc
 %{_libdir}/libmonosgen-2.0.so
+%endif
 %{_libdir}/libMonoSupportW.so
 %{_libdir}/libikvm-native.so
 %{mono_dir}/4.0/mkbundle.exe*
@@ -631,6 +648,11 @@ install monodir %{buildroot}%{_bindir}
 
 
 %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
 - updated mono to 2.8.1