Browse Source

2015-03-28 Ryoichi INAGAKI <ryo1@toki.waseda.jp>

	* dbus-sharp, dbus-sharp-glib, gecko-sharp2,
	  gio-sharp, gnome-desktop-sharp2, kimono, libgpod,
	  mono-debugger, mono-zeroconf, webkit-sharp: rebuilt
	* gnome-sharp2, libgdiplus, mono, mono-addins,
	  mono-basic, nant: updated
	  


git-svn-id: http://trac.vinelinux.org/repos/projects/specs@9472 ec354946-7b23-47d6-9f5a-488ba84defc7
inagaki 9 years ago
parent
commit
e821b72075

+ 12 - 4
d/dbus-sharp-glib/dbus-sharp-glib-vl.spec

@@ -1,22 +1,26 @@
 %define	dbus_sharp_version 0.8
-%define	glib_version 2.0
+#define	glib_version 2.0
+%define srcver 0.6
 
 Summary:	GLib main loop integration for dbus-sharp
 Summary(ja): 	dbus-sharp の Glib メインループ統合ライブラリ
 Name:		dbus-sharp-glib
 Version:	0.6.0
-Release:	1%{?_dist_release}
+Release:	2%{?_dist_release}
 
 License:	MIT
 Group:		System Environment/Libraries
 URL:		http://mono.github.com/dbus-sharp/
 
-Source0:	https://github.com/mono/dbus-sharp-glib/releases/download/v0.6/%{name}-%{version}.tar.gz
+Source0:	https://github.com/mono/%{name}/archive/v%{srcver}.tar.gz
 
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-buildroot
 BuildRequires:	mono-devel
 BuildRequires:	dbus-sharp-devel >= %{dbus_sharp_version}
 #BuildRequires:	glib2-devel >= %{glib_version}
+BuildRequires:	autoconf
+BuildRequires:	automake
+BuildRequires:  libtool
 BuildArch:      noarch
 
 %description
@@ -50,9 +54,10 @@ develop applications using %{name}.
 
 
 %prep
-%setup -q
+%setup -q -n %{name}-%{srcver}
 
 %build
+./autogen.sh
 %configure --libdir=%{_prefix}/lib
 %{__make}
 
@@ -76,6 +81,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Sat Mar 28 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.6.0-2
+- rebuilt with mono 3.12.1
+
 * Mon Nov  3 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.6.0-1
 - updated to 0.6.0
 

+ 14 - 6
d/dbus-sharp/dbus-sharp-vl.spec

@@ -1,15 +1,18 @@
-%define	dbus_version 0.90
-%define	dbus_glib_version 0.70
+#define	dbus_version 0.90
+#define	dbus_glib_version 0.70
+
 Summary:	C# bindings for D-Bus
 Summary(ja): 	D-Bus の C# バインディング
 Name:		dbus-sharp
 Version:	0.8.1
-Release:	1%{?_dist_release}
-URL:		http://www.freedesktop.org/software/dbus/
-Source0:	https://github.com/mono/dbus-sharp/releases/download/v0.8.1/%{name}-%{version}.tar.gz
+Release:	2%{?_dist_release}
 
-License:	AFL or GPLv2
+License:	MIT
 Group:		System Environment/Libraries
+URL:		http://mono.github.io/dbus-sharp/
+
+Source0:	https://github.com/mono/%{name}/archive/v%{version}.tar.gz
+
 BuildRoot: 	%{_tmppath}/%{name}-%{version}-%{release}-root
 #BuildRequires:	dbus-devel >= %{dbus_version}
 #BuildRequires:	dbus-glib-devel >= %{dbus_glib_version}
@@ -55,6 +58,7 @@ develop applications using %{name}.
 %setup -q
 
 %build
+./autogen.sh
 %configure --libdir=%{_prefix}/lib
 
 %install
@@ -76,6 +80,10 @@ develop applications using %{name}.
 %{_datadir}/pkgconfig/dbus-sharp-2.0.pc
 
 %changelog
+* Sat Mar 28 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.8.1-2
+- rebuilt with mono 3.12.1
+- fixed License to MIT
+
 * Mon Nov  3 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.8.1-1
 - updated to 0.8.1
 

+ 29 - 6
g/gecko-sharp2/gecko-sharp2-vl.spec

@@ -1,18 +1,22 @@
-%define mono_dir %(/usr/bin/monodir)
+%define mono_dir %{_prefix}/lib/mono
 %define mod_name gecko-sharp-2.0
+
 Name: gecko-sharp2
 Version: 0.13
-Release: 8%{?_dist_release}
+Release: 9%{?_dist_release}
 Summary: Gecko bindings for Mono
 Summary(ja): Mono 用 Gecko バインディング
-Group: Development/Libraries
+
 License: LGPL v2.1 or later; MOZILLA PUBLIC LICENSE (MPL/NPL)
+Group: System Environment/Libraries
 URL: http://www.monodevelop.com
+
 Source: http://mono.ximian.com/monobuild/preview/sources/%{name}/%{mod_name}-%{version}.tar.bz2
+
 BuildArch: noarch
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
 BuildRequires: mono-devel monodoc
-BuildRequires: gtk-sharp2 gtk-sharp2-gapi gtk2-devel
+BuildRequires: gtk-sharp2-devel gtk-sharp2-gapi
 Provides: %{mod_name}
 BuildRequires: xulrunner-devel
 
@@ -24,6 +28,18 @@ This package provides Mono bindings for the Gecko engine, through an
 easy-to-use widget that will allow you to embed a Mozilla browser
 window into your Gtk# application.
 
+%package devel
+Summary:	Development files and documents for %{name}
+Summary(ja):	%{name} の開発用ファイルおよびドキュメント
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+Requires:	monodoc
+Requires:	pkgconfig
+
+%description devel
+This package includes the files needed for developing and compiling
+applications which use the %{name} library.
+
 
 %prep
 %setup -q -n %{mod_name}-%{version}
@@ -38,7 +54,7 @@ export MONO_SHARED_DIR=%{_builddir}/%{?buildsubdir}
 	--mandir=%{_mandir} \
 	--infodir=%{_infodir} \
 	--localstatedir=%{_localstatedir}
-#make
+make
 
 
 %install
@@ -55,13 +71,20 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(-, root, root)
+%doc ChangeLog LICENSE.* README
 %{mono_dir}/%{mod_name}
 %{mono_dir}/gac/gecko-sharp
+
+%files devel
+%defattr(-, root, root)
 %{_datadir}/pkgconfig/*.pc
 %{_prefix}/lib/monodoc/sources/gecko-sharp-docs.*
 
-
 %changelog
+* Sat Mar 28 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.13-9
+- rebuilt with mono 3.12.1
+- split *.pc and monodoc into devel subpackage
+
 * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.13-8
 - rebuild with VineSeed environment
 

+ 17 - 9
g/gio-sharp/gio-sharp-vl.spec

@@ -1,15 +1,18 @@
 Name:           gio-sharp
 Version:        2.22.3
-Release:        2%{?_dist_release}
-License:        GPLv2 ; MIT
-Group:          Development/Libraries
-Summary:        .NET/C# Bindings for GIO
+Release:        3%{?_dist_release}
+Summary:        .NET/C# Bindings for GI
+Summary(ja):    GIO の .NET/C# バインディング
+
+Group:		System Environment/Libraries
+License:        MIT
 URL:            http://gitorious.org/gio-sharp
+
 Source:         %{name}-%{version}.tar.bz2
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  glib2-devel >= 2.22
-BuildRequires:  gtk-sharp2
+BuildRequires:  gtk-sharp2-devel
 BuildRequires:  gtk-sharp2-gapi
 BuildRequires:  mono-devel
 BuildRequires:  monodoc
@@ -25,10 +28,11 @@ Distribution: Vine Linux
 C#/CLI bindings for GIO
 
 %package devel
-License:        GPLv2 ; MIT
+Summary:        Development files of %{name}
+Summary(ja):    %{name} の開発用ファイル
 Group:          Development/Libraries
-Summary:        .NET/C# Bindings for GIO
-Requires:       %{name} = %{version}
+Requires:       %{name} = %{version}-%{release}
+Requires:	pkgconfig
 
 %description devel
 Files for developing programs that use gio-sharp
@@ -60,6 +64,10 @@ Files for developing programs that use gio-sharp
 %_prefix/share/gapi-2.0/gio-api.xml
 
 %changelog
+* Thu Mar 26 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 2.22.3-3
+- rebuilt with mono 3.12.1
+- added Japanese summary
+
 * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.22.3-2
 - rebuild with VineSeed environment
 

+ 39 - 16
g/gnome-desktop-sharp2/gnome-desktop-sharp2-vl.spec

@@ -1,26 +1,35 @@
-%define mono_dir %(/usr/bin/monodir)
+%define mono_dir %{_prefix}/lib/mono
 %define _name gnome-desktop-sharp
 Name: gnome-desktop-sharp2
 Version: 2.26.0
-Release: 11%{?_dist_release}
+Release: 12%{?_dist_release}
 Summary: Mono bindings for libgnome-desktop
 Summary(ja): Mono 用 libgnome-desktop バインディング
-Group: Development/Libraries
-License: GPL, LGPL 2.0/2.1
+
+Group: System Environment/Libraries
+License: LGPLv2+
 URL: http://gtk-sharp.sf.net
-#Source: http://mono.ximian.com/monobuild/preview/sources/%{mame}/%{_name}-%{version}.tar.bz2
+
 Source: http://ftp.novell.com/pub/mono/sources/%{name}/gnome-desktop-sharp-%{version}.tar.bz2
 Patch0: gnome-desktop-sharp-lib-target.patch
+
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
 BuildRequires: mono-devel monodoc
-BuildRequires: gnome-sharp2 gtk-sharp2-gapi
-BuildRequires: librsvg2-devel libwnck-devel
-BuildRequires: gtkhtml3-devel gtksourceview2-devel
+BuildRequires: gtk-sharp2-devel gtk-sharp2-gapi
+BuildRequires: gnome-sharp2-devel 
+BuildRequires: librsvg2-devel
+BuildRequires: libwnck-devel
+BuildRequires: gtkhtml3-devel
+BuildRequires: gtksourceview2-devel
+BuildRequires: gnome-desktop-devel
+BuildRequires: libgnomeprintui-devel
+# don't build
 #BuildRequires: nautilus-cd-burner
-BuildRequires: gnome-desktop-devel libgnomeprintui-devel
 #BuildRequires: gnome-panel-devel
+Provides:	gnome-desktop-sharp-devel  = %{version}-%{release}
+Provides:	gnome-desktop-sharp2-devel = %{version}-%{release}
 
-Packager:      konno, daisuke, ryoichi
+Packager:      konno, daisuke, inagaki
 
 Obsoletes:	gnome-panel-sharp < 2.26.0-10
 Obsoletes:	vte016-sharp < 2.26.0-10
@@ -29,29 +38,37 @@ Obsoletes:	vte016-sharp < 2.26.0-10
 This package contains Mono bindings for libgnome-desktop.
 
 %package -n gtksourceview2-sharp
-Summary: Mono bindings for gtksourceview2
-Group: Development/Libraries
+Summary: Mono bindings for gtksourceview
+Summary(ja): gtksourceview の Mono バインディング
+Group: System Environment/Libraries
+Provides: gtksourceview2-sharp-devel = %{version}-%{release}
 
 %description -n gtksourceview2-sharp
 This package contains Mono bindings for libgtksourceview-2.0.
 
 %package -n rsvg2-sharp
 Summary: Mono bindings for rsvg
-Group: Development/Libraries
+Summary(ja): rsvg の Mono バインディング
+Group: System Environment/Libraries
+Provides: rsvg2-sharp-devel = %{version}-%{release}
 
 %description -n rsvg2-sharp
 This package contains Mono bindings for librsvg.
 
 %package -n gtkhtml314-sharp
 Summary: Mono bindings for gtkhtml
-Group: Development/Libraries
+Summary(ja): gtkhtml の Mono バインディング
+Group: System Environment/Libraries
+Provides: gtkhtml314-sharp-devel = %{version}-%{release}
 
 %description -n gtkhtml314-sharp
 This package contains Mono bindings for gtkhtml.
 
 %package -n wnck-sharp
 Summary: Mono bindings for wnck
-Group: Development/Libraries
+Summary(ja): wnck の Mono バインディング
+Group: System Environment/Libraries
+Provides: wnck-sharp-devel = %{version}-%{release}
 
 %description -n wnck-sharp
 This package contains Mono bindings wnck.
@@ -79,7 +96,9 @@ This package contains Mono bindings wnck.
 
 %package -n gnome-print-sharp
 Summary: Mono bindings for gnome-print
-Group: Development/Libraries
+Summary(ja): gnome-print の Mono バインディング
+Group: System Environment/Libraries
+Provides: gnome-print-sharp-devel = %{version}-%{release}
 
 %description -n gnome-print-sharp
 This package contains Mono bindings for gnome-print.
@@ -109,6 +128,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(-,root,root)
+%doc COPYING ChangeLog README
 %{mono_dir}/gnomedesktop-sharp-2.20
 %{mono_dir}/gac/*gnomedesktop-sharp
 %dir %{_datadir}/gnomedesktop-sharp
@@ -186,6 +206,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/pkgconfig/gnome-print-sharp-2.18.pc
 
 %changelog
+* Sat Mar 28 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 2.26.0-12
+- rebuilt with mono 3.12.1
+
 * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.26.0-11
 - rebuild with VineSeed environment
 

+ 28 - 17
g/gnome-sharp2/gnome-sharp2-vl.spec

@@ -1,23 +1,28 @@
-%define mono_dir %(/usr/bin/monodir)
+%define mono_dir %{_prefix}/lib/mono
 %define _name gnome-sharp
+
 Summary: .Net Language Bindings for Gnome
 Summary(ja): Mono 用 GNOME バインディング
 Name: gnome-sharp2
-Version: 2.24.1
-Release: 8%{?_dist_release}
-License: GNU General ublic License (GPL), GNU Library General Public License v. 2.0 and 2.1 (LGPL)
-Group: Development/Libraries
+Version: 2.24.2
+Release: 1%{?_dist_release}
+License: LGPLv2+
+Group: System Environment/Libraries
 URL: http://gtk-sharp.sf.net
+
 Source: %{_name}-%{version}.tar.bz2
 Patch2: gnome-sharp-find_gtkhtml_ver.patch
 Patch3: gnome-sharp-2.24.1-TestXfer.patch
+
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
-BuildRequires: gtk-sharp2 gtk-sharp2-gapi
+BuildRequires: gtk-sharp2-devel
+BuildRequires: gtk-sharp2-gapi
 BuildRequires: librsvg2-devel
 BuildRequires: mono-devel monodoc
-BuildRequires: vte-devel gtkhtml3-devel
+#BuildRequires: vte-devel gtkhtml3-devel
 BuildRequires: libSM-devel
 BuildRequires: libgnomeui-devel
+Provides:      gnome-sharp2-devel = %{version}-%{release}
 %define env_options export MONO_SHARED_DIR=/tmp
 
 Vendor: Project Vine
@@ -28,13 +33,12 @@ This package contains Mono bindings for Gnome.
 
 
 %package -n gnome-sharp2-complete
-Group: Development/Libraries
 Summary: GTK+ and GNOME bindings for Mono (virtual package)
+Group: System Environment/Libraries
 Requires: art-sharp2 = %{version}-%{release}
 Requires: gconf-sharp2 = %{version}-%{release}
 Requires: gnome-sharp2 = %{version}-%{release}
 Requires: gnome-vfs-sharp2 = %{version}-%{release}
-#Requires: glib-sharp2 >= 2.10.3
 
 %description -n gnome-sharp2-complete
 Gtk# is a library that allows you to build fully native graphical GNOME
@@ -46,25 +50,29 @@ package which depends on all gtk-sharp2 subpackages)
 
 %package -n gnome-vfs-sharp2
 Summary: Mono bindings for gnomevfs
-Group: Development/Libraries
+Summary(ja): gnomevfs の Mono バインディング
+Group: System Environment/Libraries
 Requires: gnome-vfs2
+Provides: gnome-vfs-sharp2-devel = %{version}-%{release}
 
 %description -n gnome-vfs-sharp2
 This package contains Mono bindings gnomevfs.
 
-
 %package -n art-sharp2
 Summary: Mono bindings for libart
-Group: Development/Libraries
+Summary(ja): libart の Mono バインディング
+Group: System Environment/Libraries
 Requires: libart_lgpl
+Provides: art-sharp2-devel = %{version}-%{release}
 
 %description -n art-sharp2
 This package contains Mono bindings for libart.
 
-
 %package -n gconf-sharp2
 Summary: Mono bindings for gconf
-Group: Development/Libraries
+Summary(ja): GConf の Mono バインディング
+Group: System Environment/Libraries
+Provides: gconf-sharp2-devel = %{version}-%{release}
 
 %description -n gconf-sharp2
 This package contains Mono bindings for gconf and gconf peditors.
@@ -106,13 +114,13 @@ rm -rf $RPM_BUILD_ROOT
 
 %files -n gnome-sharp2
 %defattr(-,root,root)
+%doc COPYING ChangeLog
 %{_libdir}/libgnomesharpglue-2.so
 %{_libdir}/pkgconfig/gnome-sharp-2.0.pc
 %{mono_dir}/gac/*gnome-sharp
 %{mono_dir}/gtk-sharp-2.0/*gnome-sharp.dll
 %{_datadir}/gapi-2.0/gnome-api.xml
 
-
 %files -n gnome-vfs-sharp2
 %defattr(-,root,root)
 %{_libdir}/pkgconfig/gnome-vfs-sharp-2.0.pc
@@ -120,7 +128,6 @@ rm -rf $RPM_BUILD_ROOT
 %{mono_dir}/gtk-sharp-2.0/*gnome-vfs-sharp.dll
 %{_datadir}/gapi-2.0/gnome-vfs-api.xml
 
-
 %files -n art-sharp2
 %defattr(-,root,root)
 %{_libdir}/pkgconfig/art-sharp-2.0.pc
@@ -128,7 +135,6 @@ rm -rf $RPM_BUILD_ROOT
 %{mono_dir}/gtk-sharp-2.0/*art-sharp.dll
 %{_datadir}/gapi-2.0/art-api.xml
 
-
 %files -n gconf-sharp2
 %defattr(-, root, root)
 %{_bindir}/gconfsharp2-schemagen
@@ -143,6 +149,11 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Sat Mar 28 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 2.24.2-1
+- updated to 2.24.2
+- built with mono 3.12.1
+- remove BR: vte-devel, gtkhtml3-devel
+
 * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.24.1-8
 - rebuild with VineSeed environment
 - add BuildRequires: libgnomeui-devel

+ 12 - 6
g/gtk-sharp2/gtk-sharp2-vl.spec

@@ -1,7 +1,8 @@
-%define mono_dir %(/usr/bin/monodir)
+%define mono_dir %{_prefix}/lib/mono
 %define _name gtk-sharp
+
 Name: gtk-sharp2
-Version: 2.12.27
+Version: 2.12.29
 Release: 1%{?_dist_release}
 Summary: GTK+ bindings for Mono
 Summary(ja): Mono 用 GTK+ バインディング
@@ -10,7 +11,7 @@ Group: System Environment/Libraries
 License: LGPLv2
 URL: http://www.mono-project.com/docs/gui/gtksharp/
 
-Source: https://github.com/mono/gtk-sharp/archive/%{_name}-%{version}.tar.gz
+Source: https://github.com/mono/%{_name}/archive/%{version}.tar.gz
 
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
 BuildRequires: mono-devel
@@ -72,11 +73,9 @@ This package provides the Gtk# documentation for monodoc.
 
 
 %prep
-# name duplication may be bug...
-%setup -q -n %{_name}-%{_name}-%{version}
+%setup -q -n %{_name}-%{version}
 ./bootstrap-2.12
 
-
 %build
 export MONO_SHARED_DIR=%{_builddir}/%{?buildsubdir}
 %configure --enable-silent-rules
@@ -105,6 +104,9 @@ done
 %clean
 %{__rm} -rf $RPM_BUILD_ROOT
 
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
 
 %files
 %defattr(-,root,root,-)
@@ -153,6 +155,10 @@ done
 
 
 %changelog
+* Thu Mar 26 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 2.12.29-1
+- updated to 2.12.29
+- built with mono 3.12.1
+
 * Mon Nov  3 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 2.12.27-1
 - updated to 2.12.27
 - split devel and doc subpackage

+ 5 - 2
k/kimono/kimono-vl.spec

@@ -1,11 +1,11 @@
-%global monodir /usr/lib/mono
+%global monodir %{_prefix}/lib/mono
 %global _kde4_version 4.14.3
 
 Name:    kimono 
 Summary: .NET/Mono KDE bindings
 Summary(ja): KDE の .NET/Mono バインディング
 Version: 4.14.3
-Release: 1%{?_dist_release}
+Release: 2%{?_dist_release}
 
 # most items are pure GPLv2+
 # plasma bindings mix LGPLv2+ and GPLv2+ (combined result is GPLv2+ too)
@@ -109,6 +109,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Sat Mar 28 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 4.14.3-2
+- rebuilt with mono 3.12.1
+
 * Sun Jan 11 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 4.14.3-1
 - updated to 4.14.3
 - added BR: nepomuk-devel and soprano-devel

+ 18 - 12
lib/libg/libgdiplus/libgdiplus-vl.spec

@@ -1,8 +1,8 @@
 Name:		libgdiplus
-Summary:	An Open Source implementation of the GDI+ API.
-Summary(ja):	GDI+ API のオープンソースな実装
-Version: 	3.8
+Version: 	3.12
 Release:	1%{?_dist_release}
+Summary:	An Open Source implementation of the GDI+ API.
+Summary(ja):	GDI+ API のオープンソース実装
 
 License:	MIT
 Group:		System Environment/Libraries
@@ -10,19 +10,19 @@ URL:		http://www.mono-project.com/docs/gui/libgdiplus/
 
 Source:		http://download.mono-project.com/sources/libgdiplus/%{name}-%{version}.tar.gz
 Patch0:		libgdiplus-2.10-freetype-2.5.x.patch
-Patch1:		libgdiplus-2.10-QuantizeBuffer.patch
+Patch1:		libgdiplus-3.12-QuantizeBuffer.patch
 
 BuildRoot:	%{_tmppath}/%{name}-%{version}-root
 BuildRequires:	cairo-devel >= 1.8.0
+BuildRequires:	freetype2-devel
+BuildRequires:	giflib-devel
 BuildRequires:	glib2-devel
 BuildRequires:	libexif-devel
 BuildRequires:	libjpeg-devel
-BuildRequires:	giflib-devel
 BuildRequires:	libtiff-devel
-BuildRequires:	freetype2-devel
 
-Vendor: Project Vine
-Distribution: Vine Linux
+Vendor:		Project Vine
+Distribution: 	Vine Linux
 
 %description
 An Open Source implementation of the GDI+ API.
@@ -37,12 +37,13 @@ Summary:	Libraries for developing with libgdiplus.
 Summary(ja):	libgdiplus の開発用ライブラリ
 Group:		Development/Libraries
 Requires:	%{name} = %{version}-%{release}
-Requires:	glib2-devel
 Requires:	cairo-devel
-Requires:	libjpeg-devel
+Requires:	freetype2-devel
 Requires:	giflib-devel
+Requires:	glib2-devel
+Requires:	libexif-devel
+Requires:	libjpeg-devel
 Requires:	libtiff-devel
-Requires:	freetype2-devel
 
 %description devel
 This package provides the necessary development libraries to allow
@@ -76,7 +77,7 @@ rm -rf $RPM_BUILD_ROO
 
 %files 
 %defattr(0644, root, root, 0755)
-%doc AUTHORS COPYING 
+%doc AUTHORS COPYING src/ChangeLog
 %{_libdir}/*.so.*
 
 %files devel
@@ -85,6 +86,11 @@ rm -rf $RPM_BUILD_ROO
 %{_libdir}/pkgconfig/*
 
 %changelog
+* Thu Mar 26 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 3.12-1
+- new upstream release
+- updated Source1
+- added Requires: libexif-devel to devel subpackage
+
 * Sun Oct 26 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 3.8-1
 - updated to 3.8
 - dropt Patch0

+ 4 - 1
lib/libg/libgpod/libgpod-vl.spec

@@ -4,7 +4,7 @@ Summary:       Library to access the iPod
 Summary(ja):   iPod にアクセスするためのライブラリ
 Name:          libgpod
 Version:       0.8.3
-Release:       4%{?_dist_release}
+Release:       5%{?_dist_release}
 Group:         System Environment/Libraries
 License:       LGPLv2+
 URL:           http://www.gtkpod.org/libgpod.html
@@ -169,6 +169,9 @@ if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi
 
 
 %changelog
+* Sat Mar 28 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.8.3-5
+- rebuilt with mono 3.12.1
+
 * Sun Mar  8 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.8.3-4
 - added patch100 to build swig 3.0.5
 - moved %%{_libdir}/pkgconfig/libgpod-sharp.pc to sharp subpackage

+ 34 - 25
m/mono-addins/mono-addins-vl.spec

@@ -1,17 +1,21 @@
-%define mono_dir %(/usr/bin/monodir)
-Summary: Mono Addins Framework
-Summary(ja): Mono を拡張するための汎用フレームワーク
-Name: mono-addins
-Group: Development/Tools
-Version: 0.6.2
-Release: 3%{?_dist_release}
-License: MIT
-BuildRoot: /var/tmp/%{name}-%{version}-root
+%define mono_dir %{_prefix}/lib/mono
+
+Summary:	Mono Addins Framework
+Summary(ja):	Mono で拡張可能なアプリケーションを作成するたの汎用フレームワーク
+Name:		mono-addins
+Version:	1.2
+Release:	1%{?_dist_release}
+
+Group: 		Development/Tools
+License: 	MIT
+URL:		http://www.go-mono.com
+Source0: 	https://github.com/mono/mono-addins/archive/%{name}-%{version}.tar.gz
+
 BuildArch: noarch
-URL: http://www.go-mono.com
-Source0: http://download.mono-project.com/sources/%{name}/%{name}-%{version}.tar.bz2
-BuildRequires: mono-devel
-BuildRequires: gtk-sharp2
+BuildRoot: 	%{_tmppath}/%{name}-%{version}-root
+BuildRequires:  autoconf automake libtool
+BuildRequires: 	gtk-sharp2-devel
+BuildRequires: 	mono-devel
 
 Vendor: Project Vine
 Distribution: Vine Linux
@@ -23,17 +27,17 @@ and for creating libraries which extend those applications.
 
 %package        devel
 Summary:        Development files for %{name}
-Summary(ja):    %{name} の開発用ファイル
+Summary(ja):    %{name} の開発用ファイル
 Group:          Development/Libraries
 Requires:       %{name} = %{version}-%{release}
 Requires:       pkgconfig
 
 %description    devel
 The %{name}-devel package contains development files for %{name}.
-	  
 
 %prep
-%setup -q
+%setup -q -n %{name}-%{name}-%{version}
+./autogen.sh
 
 %build
 export MONO_SHARED_DIR=%{_builddir}/%{?buildsubdir}
@@ -54,6 +58,7 @@ rm -rf "$RPM_BUILD_ROOT"
 
 %files
 %defattr(-, root, root)
+%doc COPYING README
 %dir %{mono_dir}/mono-addins
 %{_bindir}/mautil
 %{mono_dir}/gac/Mono.Addins
@@ -72,20 +77,19 @@ rm -rf "$RPM_BUILD_ROOT"
 %{mono_dir}/gac/policy.0.4.Mono.Addins.CecilReflector
 %{mono_dir}/gac/policy.0.4.Mono.Addins.Gui
 %{mono_dir}/gac/policy.0.4.Mono.Addins.Setup
-%{mono_dir}/gac/policy.0.5.Mono.Addins.CecilReflector/0.0.0.0__0738eb9f132ed756/policy.0.5.Mono.Addins.CecilReflector.dll
-%{mono_dir}/gac/policy.0.5.Mono.Addins.CecilReflector/0.0.0.0__0738eb9f132ed756/policy.0.5.config
-%{mono_dir}/gac/policy.0.5.Mono.Addins.Gui/0.0.0.0__0738eb9f132ed756/policy.0.5.Mono.Addins.Gui.dll
-%{mono_dir}/gac/policy.0.5.Mono.Addins.Gui/0.0.0.0__0738eb9f132ed756/policy.0.5.config
-%{mono_dir}/gac/policy.0.5.Mono.Addins.Setup/0.0.0.0__0738eb9f132ed756/policy.0.5.Mono.Addins.Setup.dll
-%{mono_dir}/gac/policy.0.5.Mono.Addins.Setup/0.0.0.0__0738eb9f132ed756/policy.0.5.config
-%{mono_dir}/gac/policy.0.5.Mono.Addins/0.0.0.0__0738eb9f132ed756/policy.0.5.Mono.Addins.dll
-%{mono_dir}/gac/policy.0.5.Mono.Addins/0.0.0.0__0738eb9f132ed756/policy.0.5.config
+%{mono_dir}/gac/policy.0.5.Mono.Addins.CecilReflector
+%{mono_dir}/gac/policy.0.5.Mono.Addins.Gui
+%{mono_dir}/gac/policy.0.5.Mono.Addins.Setup
+%{mono_dir}/gac/policy.0.5.Mono.Addins
+%{mono_dir}/gac/policy.0.6.Mono.Addins.CecilReflector
+%{mono_dir}/gac/policy.0.6.Mono.Addins.Gui
+%{mono_dir}/gac/policy.0.6.Mono.Addins.Setup
+%{mono_dir}/gac/policy.0.6.Mono.Addins
 %{mono_dir}/mono-addins/Mono.Addins.dll
 %{mono_dir}/mono-addins/Mono.Addins.CecilReflector.dll
 %{mono_dir}/mono-addins/Mono.Addins.Gui.dll
 %{mono_dir}/mono-addins/Mono.Addins.Setup.dll
 %{mono_dir}/mono-addins/mautil.exe
-%{mono_dir}/xbuild/Mono.Addins.targets
 %{_mandir}/man1/mautil.1.gz
 
 %files devel
@@ -95,11 +99,16 @@ rm -rf "$RPM_BUILD_ROOT"
 %{mono_dir}/gac/policy.0.3.Mono.Addins.MSBuild
 %{mono_dir}/gac/policy.0.4.Mono.Addins.MSBuild
 %{mono_dir}/gac/policy.0.5.Mono.Addins.MSBuild
+%{mono_dir}/gac/policy.0.6.Mono.Addins.MSBuild
 %{mono_dir}/mono-addins/Mono.Addins.MSBuild.dll
 %{_datadir}/pkgconfig/*.pc
 
 
 %changelog
+* Thu Mar 26 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.2-1
+- updated to 1.2
+- built with mono 3.12
+
 * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.2-3
 - rebuild with VineSeed environment
 

+ 25 - 15
m/mono-basic/mono-basic-vl.spec

@@ -1,22 +1,27 @@
-%define mono_ver 2.10
+%define mono_ver 3.12
 %define mono_dir %{_prefix}/lib/mono
+
+Name: mono-basic
+Version: 3.8
+Release: 1%{?_dist_release}
 Summary: Visual Basic .NET support for Mono
 Summary(ja): Mono 用 Visual Basic .NET サポート
-Name: mono-basic
-Version: %{mono_ver}
-Release: 3%{?_dist_release}
+
 Group: Development/Languages
-License: GPL, LGPL, MIT X11
+# vbnc compiler: LGPLv2, class libraries: MIT
+License: LGPLv2 and MIT
 URL: http://www.mono-project.com/
-Source0: http://mono.ximian.com/monobuild/preview/sources/%{name}/%{name}-%{version}.tar.bz2
+
+Source0: http://download.mono-project.com/sources/mono-basic/%{name}/%{name}-%{version}.tar.bz2
+
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
 BuildArch: noarch
 Requires: mono-core >= %{mono_ver}
 Requires: mono-winforms mono-web
-Requires: mono-data mono-locale-extras
+Requires: mono-data
 BuildRequires: mono-core >= %{mono_ver}
 BuildRequires: mono-winforms mono-web
-BuildRequires: mono-data mono-locale-extras
+BuildRequires: mono-data
 
 Vendor: Project Vine
 Distribution: Vine Linux
@@ -45,17 +50,18 @@ make install DESTDIR=$RPM_BUILD_ROOT
 
 %files
 %defattr(-,root,root,-)
-%doc ChangeLog README
+%doc ChangeLog LICENSE README
 %{_bindir}/vbnc
 %{_bindir}/vbnc2
 %{mono_dir}/2.0/Microsoft.VisualBasic.dll
 %{mono_dir}/4.0/Microsoft.VisualBasic.dll
-%{mono_dir}/4.0/Mono.Cecil.VB.Mdb.dll
-%{mono_dir}/4.0/Mono.Cecil.VB.Pdb.dll
-%{mono_dir}/4.0/Mono.Cecil.VB.dll
-%{mono_dir}/4.0/vbnc.exe
-%{mono_dir}/4.0/vbnc.exe.mdb
-%{mono_dir}/4.0/vbnc.rsp
+%{mono_dir}/4.5/Microsoft.VisualBasic.dll
+%{mono_dir}/4.5/Mono.Cecil.VB.Mdb.dll
+%{mono_dir}/4.5/Mono.Cecil.VB.Pdb.dll
+%{mono_dir}/4.5/Mono.Cecil.VB.dll
+%{mono_dir}/4.5/vbnc.exe
+%{mono_dir}/4.5/vbnc.exe.mdb
+%{mono_dir}/4.5/vbnc.rsp
 %dir %{mono_dir}/gac/Microsoft.VisualBasic
 %dir %{mono_dir}/gac/Mono.Cecil.VB.Mdb
 %dir %{mono_dir}/gac/Mono.Cecil.VB.Pdb
@@ -67,6 +73,10 @@ make install DESTDIR=$RPM_BUILD_ROOT
 %{_mandir}/man1/vbnc.*
 
 %changelog
+* Thu Mar 26 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 3.8-1
+- updated to 3.8
+- built with mono 3.12
+
 * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.10-3
 - rebuild with VineSeed environment
 

+ 12 - 8
m/mono-debugger/mono-debugger-vl.spec

@@ -3,18 +3,21 @@ Summary: Mono Debugger
 Summary(ja): Mono デバッガ
 Name: mono-debugger
 Version: 2.10
-Release: 3%{?_dist_release}
-Group: Development/Languages
+Release: 4%{?_dist_release}
+
+Group: Development/Debuggers
 License: MIT/X11 (include GPL files)
 URL: http://www.mono-project.com/Debugger
+
 Source0: %{name}-%{version}.tar.bz2
+
+ExclusiveArch: %ix86 x86_64
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
 BuildRequires: mono-devel mono-nunit mono-web
 BuildRequires: pkgconfig
 BuildRequires: ncurses-devel
 Requires: mono-core >= %{version}
-Provides: mono-debugger = %{version}-%{release}
-ExclusiveArch: %ix86 x86_64
-BuildRoot: %{_tmppath}/%{name}-%{version}-root
+Provides: mono-debugger-devel = %{version}-%{release}
 
 Vendor: Project Vine
 Distribution: Vine Linux
@@ -38,7 +41,6 @@ GUI interface to the debugger.
 %prep
 %setup  -q -n mono-debugger-%{version}
 
-
 %build
 %configure
 make
@@ -61,7 +63,7 @@ rm -rf ${RPM_BUILD_ROOT}
 
 %files
 %defattr(-, root, root)
-%doc AUTHORS COPYING ChangeLog INSTALL NEWS README
+%doc AUTHORS COPYING ChangeLog NEWS README
 %{_bindir}/mdb
 %{_bindir}/mdb-symbolreader
 %{_libdir}/*.so*
@@ -73,8 +75,10 @@ rm -rf ${RPM_BUILD_ROOT}
 %{_libdir}/pkgconfig/mono-debugger.pc
 %{_libdir}/pkgconfig/mono-debugger-frontend.pc
 
-
 %changelog
+* Thu Mar 26 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 2.10-4
+- rebuilt with mono 3.12
+
 * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.10-3
 - rebuild with VineSeed environment
 

+ 18 - 7
m/mono-zeroconf/mono-zeroconf-vl.spec

@@ -2,12 +2,15 @@
 
 Name:           mono-zeroconf
 Version:        0.9.0
-Release:        2%{?_dist_release}
+Release:        3%{?_dist_release}
 Summary:        Mono.Zeroconf networking library
-Group:          Development/Languages
+Summary(ja):    Mono.Zeroconf ネットワークライブラリ
+Group:          System Environment/Libraries
 License:        MIT
-URL:            http://banshee-project.org/files/mono-zeroconf
+URL:            https://github.com/mono/Mono.Zeroconf/
 Source0:        %{name}-%{version}.tar.bz2
+
+BuildRoot:	%{_tmppath}/%{name}-%{version}-root
 BuildRequires:  mono-devel monodoc
 Requires:       mono-core
 
@@ -22,9 +25,11 @@ Mono.Zeroconf is a cross platform Zero Configuration Networking library
 for Mono and .NET.
 
 %package devel
-Summary: Development files for Mono.Zeroconf
-Group:   Development/Languages
-Requires: %{name} = %{version}-%{release} pkgconfig monodoc
+Summary: Development files and documentation for Mono.Zeroconf
+Group:   Development/Libraries
+Requires: %{name} = %{version}-%{release}
+Requires: monodoc
+Requires: pkgconfig
 
 %description devel
 Development files and documentation for Mono.Zeroconf
@@ -38,10 +43,14 @@ Development files and documentation for Mono.Zeroconf
 make
 
 %install
+rm -rf %{buildroot}
 make DESTDIR=%{buildroot} install
 mkdir -p %{buildroot}%{_libdir}/pkgconfig
 test "%{_libdir}" = "%{_prefix}/lib" || mv %{buildroot}%{_prefix}/lib/pkgconfig/*.pc %{buildroot}%{_libdir}/pkgconfig/
 
+%clean
+rm -rf %{buildroot}
+
 %files 
 %defattr(-,root,root,-)
 %doc COPYING AUTHORS ChangeLog NEWS README
@@ -56,13 +65,15 @@ test "%{_libdir}" = "%{_prefix}/lib" || mv %{buildroot}%{_prefix}/lib/pkgconfig/
 %{_prefix}/lib/monodoc/sources/mono-zeroconf*
 
 %changelog
+* Thu Mar 26 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.9.0-3
+- rebuilt with mono 3.12
+
 * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.0-2
 - rebuild with VineSeed environment
 
 * Sun Jun 03 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.0-1
 - initial build for Vine Linux
 
-
 * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.0-7
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 

+ 556 - 387
m/mono/mono-vl.spec

@@ -1,32 +1,45 @@
-%bcond_with firstbuild
-
-Summary: .NET runtime environment
-Summary(ja): .NET ランタイム環境
-Name: mono
-Version: 2.10.8
-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
-BuildRoot: %{_tmppath}/%{name}-%{version}-root
-BuildRequires: bison
-BuildRequires: glib2-devel
-BuildRequires: pkgconfig
-BuildRequires: libicu-devel
-BuildRequires: libgdiplus-devel >= 2.0
-BuildRequires: zlib-devel
-%{!?with_firstbuild:BuildRequires: mono-devel}
+%define bootstrap 1
+
+Name:           mono
+Version:        3.12.1
+Release:        1%{?_dist_release}
+Summary:        A .NET runtime environment
+Summary(ja):	.NET ランタイム環境
+
+Group:          Development/Languages
+License:        LGPLv2.1 and MIT and MS-PL
+URL:            http://www.mono-project.com/
+
+Source0:        http://download.mono-project.com/sources/mono/mono-%{version}.tar.bz2
+#Source1: monodir.c
+
+Patch0:		0001-Workaround-for-X509Certificate.RSA-throwing-an-unhan.patch
+
+BuildRoot: 	%{_tmppath}/%{name}-%{version}-root
+BuildRequires:  bison
+BuildRequires:  gettext-devel
+BuildRequires:  glib2-devel
+BuildRequires:  pkgconfig
+BuildRequires:  libicu-devel
+BuildRequires:  libgdiplus-devel >= 2.10
+BuildRequires:  libX11-devel
+BuildRequires:  valgrind-devel
+BuildRequires:  zlib-devel
+
+# Yes, mono actually depends on itself, because
+# we deleted the bootstrapping binaries. If you
+# need to bootstrap mono, comment out this BuildRequires
+# and don't delete the binaries in %%prep.
+%if !%{bootstrap}
+BuildRequires:	mono-core
+%endif
+			  
 # JIT only availible on these:
-ExclusiveArch: %{ix86} x86_64 ppc ia64 s390 s390x armv4l sparc
-Obsoletes: %{name}-jscript < 2.8
-Obsoletes: %{name}-data-sybase < 2.8
-Obsoletes: %{name}-data-firebird < 2.8
-Obsoletes: bytefx-data-mysql < 2.8
-Distribution: Vine Linux
-Vendor: Project Vine
-Packager: owa
+ExclusiveArch: %{ix86} x86_64 %{arm} sparcv9 alpha s390x ppc ppc64
+
+Distribution:	Vine Linux
+Vendor: 	Project Vine
+Packager: 	owa
 
 %description
 The Mono runtime implements a JIT engine for the ECMA CLI
@@ -40,10 +53,11 @@ Mono ランタイムは ECMA CLI 仮想機械用 JIT エンジンの実装です
 およびメタデータアクセスライブラリの機能を持ちます。
 
 %package core
-Summary: The Mono CIL runtime, suitable for running .NET code
-Summary(ja): .NET の実行に適した Mono CIL ランタイム
-Group: Development/Languages
-Requires: libgdiplus
+Summary: 	The Mono CIL runtime, suitable for running .NET code
+Summary(ja): 	.NET コードの実行に適した Mono CIL ランタイム
+License:        LGPLv2.1 and MIT and MS-PL
+Group: 		Development/Languages
+Requires: 	libgdiplus
 
 %description core
 This package contains the core of the Mono runtime including its
@@ -51,12 +65,22 @@ Virtual Machine, Just-in-time compiler, C# compiler, security
 tools and libraries (corlib, XML, System.Security, ZipLib,
 I18N, Cairo and Mono.*).
 
+%description -l ja core
+このパッケージには、仮想マシン、Just-In-Time コンパイラ、C# コンパイラ、セキュリティツール及びライブラリ (corlib, XML, System.Security, ZipLib, I18N, Cairo and Mono.*) を含む Mono ランタイムが含まれています。
+
 %package devel
 Summary:        Development tools for Mono
 Summary(ja):    Mono 開発ツール
-Group:          Development/Languages
+License:        LGPLv2
+Group:          Development/Tools
 Requires:       mono-core = %{version}-%{release}
-Requires:       glib2-devel
+# Required because they are referenced by .pc files
+Requires:       mono-data = %{version}
+Requires:       mono-extras = %{version}
+Requires:       mono-web = %{version}
+Requires:       mono-winforms = %{version}
+Requires:       libgdiplus-devel
+Requires:       pkgconfig
 
 %description devel
 This package completes the Mono developer toolchain with the mono profiler,
@@ -65,9 +89,10 @@ assembler and other various tools.
 %package nunit
 Summary:        NUnit Testing Framework
 Summary(ja):    NUnit テストフレームワーク
+License:        LGPLv2
 Group:          Development/Languages
 Requires:       mono-core = %{version}-%{release}
-Requires:       glib2-devel
+Provides:	mono-nunit-devel = %{version}-%{release}
 
 %description nunit
 NUnit is a unit-testing framework for all .NET languages. Initially
@@ -81,15 +106,16 @@ brings xUnit to all .NET languages.
 %package locale-extras
 Summary:        Extra locale information for Mono
 Summary(ja):    Mono 用追加ロケール情報
+License:        LGPLv2
 Group:          Development/Languages
 Requires:       mono-core = %{version}-%{release}
 
 %description locale-extras
-This package contains assemblies to support I18N applications for
-non-latin alphabets.
+This package contains assemblies to support I18N applications for non-latin alphabets.
 
 %package extras
 Summary:        Provides the infrastructure for running and building daemons and services with Mono as well as various stub assemblies
+License:        LGPLv2
 Group:          Development/Languages
 Requires:       mono-core = %{version}-%{release}
 
@@ -101,6 +127,8 @@ System.Configuration.Install, System.Management, System.Messaging.
 
 %package winforms
 Summary:        Windows Forms implementation for Mono
+Summary(ja):    Windows フォームの Mono による実装
+License:        LGPLv2
 Group:          Development/Languages
 Requires:       mono-core = %{version}-%{release}
 
@@ -109,8 +137,32 @@ This package provides a fully managed implementation of
 System.Windows.Forms, the default graphical toolkit for .NET
 applications.
 
+%package wcf
+Summary:        Mono implementation of Windows Communication Foundation
+Summary(ja):    Windows Communication Foundation の Mono による実装
+License:        MIT and MS-PL
+Group:          Development/Languages
+Requires:       mono-core = %{version}-%{release}
+Provides:	mono-wcf-devel = %{version}-%{release}
+
+%description wcf
+This package provides an implementation of WCF, the Windows Communication
+Foundation.
+
+%package winfx
+Summary:        Mono implementation of core WinFX APIs
+Summary(ja):    コア WinFX API の Mono による実装
+License:        MIT and MS-PL
+Group:          Development/Languages
+Requires:       mono-core = %{version}-%{release}
+
+%description winfx
+Open source implementation of core WinFX APIs
+
 %package web
 Summary:        ASP.NET, Remoting, and Web Services for Mono
+Summary(ja):    Mono 用の ASP.NET, リモート,Web サービス
+License:        MIT and MS-PL
 Group:          Development/Languages
 Requires:       mono-core = %{version}-%{release}
 
@@ -118,8 +170,44 @@ Requires:       mono-core = %{version}-%{release}
 This package provides the ASP.NET libraries and runtime for
 development of web application, web services and remoting support.
 
+%package mvc
+Summary:        Mono implementation of ASP.NET MVC
+Summary(ja):    ASP.NET MVC の Mono による実装
+License:        MIT and MS-PL
+Group:          Development/Languages
+Requires:       mono-core = %{version}-%{release}
+Provides:	mono-mvc-devel = %{version}-%{release}
+
+%description mvc
+This is the Mono implementation of ASP.NET MVC
+
+%package entityframework
+Summary:        Entity Framework (EF) is an object-relational mapper
+License:        Apache
+Group:          Development/Languages
+Requires:       mono-core = %{version}-%{release}
+
+%description entityframework
+Entity Framework (EF) is an object-relational mapper that enables .NET
+developers to work with relational data using domain-specific objects.
+It eliminates the need for most of the data-access code that developers
+usually need to write
+
+%package reactive
+Summary:        Reactive Extensions
+License:        Apache
+Group:          Development/Languages
+Requires:       mono-core = %{version}-%{release}
+Provides:	mono-reactive-devel = %{version}-%{release}
+
+%description reactive
+This is the Mono implementation of Microsoft's Reactive Extensions.
+
+#'
+
 %package data
 Summary:        Database connectivity for Mono
+License:        LGPLv2
 Group:          Development/Languages
 Requires:       mono-core = %{version}-%{release}
 
@@ -133,9 +221,10 @@ data providers.
 
 %package data-sqlite
 Summary:        sqlite database connectivity for Mono
+License:        LGPLv2
 Group:          Development/Languages
 Requires:       mono-core = %{version}-%{release}
-Requires:       sqlite
+Requires:       mono-data = %{version}-%{release}
 
 %description data-sqlite
 This package contains the ADO.NET Data provider for the sqlite
@@ -143,8 +232,10 @@ database.
 
 %package data-oracle
 Summary:        Oracle database connectivity for Mono
+License:        LGPLv2
 Group:          Development/Languages
 Requires:       mono-core = %{version}-%{release}
+Requires:       mono-data = %{version}-%{release}
 
 %description data-oracle
 This package contains the ADO.NET Data provider for the Oracle
@@ -152,8 +243,10 @@ database.
 
 %package data-postgresql
 Summary:        Postgresql database connectivity for Mono
+License:        LGPLv2
 Group:          Development/Languages
 Requires:       mono-core = %{version}-%{release}
+Requires:       mono-data = %{version}-%{release}
 
 %description data-postgresql
 This package contains the ADO.NET Data provider for the PostgreSQL
@@ -161,8 +254,10 @@ database.
 
 %package -n ibm-data-db2
 Summary:        IBM DB2 database connectivity for Mono
+License:        LGPLv2
 Group:          Development/Languages
 Requires:       mono-core = %{version}-%{release}
+Requires:       mono-data = %{version}-%{release}
 
 %description -n ibm-data-db2
 This package contains the ADO.NET Data provider for the IBM DB2
@@ -170,92 +265,102 @@ Universal database.
 
 %package -n monodoc
 Summary:	The Mono documentation system
+Summary(ja):	Mono ドキュメントシステム
+License:        LGPLv2
 Group:		Development/Tools
 Requires:	mono-core = %{version}-%{release}
-Obsoletes:  monodoc-core <= 2.0-1vl5
+# Added to uncompress and compare documentation used by build-compare
+Requires:       unzip
+Provides:       monodoc-devel = %{version}-%{release}
+Obsoletes:  	monodoc-core <= 2.0-1vl5
 
 %description -n monodoc
 monodoc is the documentation package for the mono .NET environment
 
+
 ## macros
 %define mono_dir %{_prefix}/lib/mono
 %define mono_doc %{_prefix}/lib/monodoc
-%define bin_and_exe(bin, exe) %{_bindir}/%{1} \
-	%{mono_dir}/%{2}.exe \
-	%{mono_dir}/%{2}.exe.* \
-	%{nil}
-%define gac_and_1dll(dll)  %{mono_dir}/gac/%{1} \
-	%{mono_dir}/%{2}/%{1}.dll \
-	%{nil}
-%define gac_and_2dll(dll)  %{mono_dir}/gac/%{1} \
-	%{mono_dir}/%{2}/%{1}.dll \
-	%{mono_dir}/%{3}/%{1}.dll \
+%define gac_dll(dll) %{mono_dir}/gac/%{1} \
+	%{mono_dir}/?.?/%{1}.dll \
 	%{nil}
-%define gac_and_3dll(dll)  %{mono_dir}/gac/%{1} \
-	%{mono_dir}/%{2}/%{1}.dll \
-	%{mono_dir}/%{3}/%{1}.dll \
-	%{mono_dir}/%{4}/%{1}.dll \
+%define mono_bin(bin) %{_bindir}/%{1} \
+	%{mono_dir}/?.?/%{1}.exe \
+	%{mono_dir}/?.?/%{1}.exe.* \
 	%{nil}
 
-
 %prep
-%setup -q
-
-## These are only needed if there are patches to the runtime
-#rm -f libgc/libtool.m4
-#autoreconf --force --install
-#autoreconf --force --install libgc
-
-## Remove prebuilt binaries
-#rm -rf mcs/class/lib/monolite/*
+%setup -q -n mono-%{version}
+%patch0 -p1
 
 %build
-gcc -o monodir %{SOURCE1} -DMONODIR=\"%{mono_dir}\"
-
 export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
-%configure \
-	--with-jit=yes \
-	--with-ikvm-native=yes \
-	--with-sigaltstack=no \
-	--with-sgen=no \
-	;
 
-# don't use parallel builds
-# make %{?_smp_mflags}
-make
+%configure \
+    --with-ikvm-native=yes \
+    --with-jit=yes \
+    --with-xen_opt=yes \
+    --with-sgen=no \
+%ifnarch %ix86 x86_64
+    --disable-system-aot \
+%endif
+%ifarch ppc
+    --with-mcs-docs=no \
+    --with-sigaltstack=no \
+%endif
+    --with-moonlight=no \
+    --with-monotouch=no \
+    --with-libgdiplus=installed
+		   
+make %{?_smp_mflags}
 
 
 %install
 [ -n "%{buildroot}" -a "%{buildroot}" != / ] && %{__rm} -rf %{buildroot}
 make install DESTDIR=%{buildroot}
 
-install monodir %{buildroot}%{_bindir}
-
 ## Remove unused files
-%{__rm} -f %{buildroot}%{_libdir}/*.la
-%{__rm} -f %{buildroot}%{_libdir}/*.a
-%{__rm} -f %{buildroot}%{_bindir}/mono-find-provides
-%{__rm} -f %{buildroot}%{_bindir}/mono-find-requires
-
-## This was removed upstream:
-%{__rm} -rf %{buildroot}%{_datadir}/mono-2.0/mono/cil
-%{__rm} -f %{buildroot}%{_bindir}/prj2make
-%{__rm} -f %{buildroot}%{_mandir}/man1/prj2make.*
-%{__rm} -f %{buildroot}%{_mandir}/man1/cilc.*
-## This was referring to fedora:
-%{__rm} -rf %{buildroot}%{mono_dir}/gac/Mono.Security.Win32
-%{__rm} -rf %{buildroot}%{mono_dir}/2.0/Mono.Security.Win32.dll
-%{__rm} -rf %{buildroot}%{mono_dir}/4.0/Mono.Security.Win32.dll
-%{__rm} -rf %{buildroot}%{mono_dir}/xbuild/Microsoft
-%{__rm} -f %{buildroot}%{mono_dir}/2.0/mcs.exe.so
-%{__rm} -f %{buildroot}%{mono_dir}/2.0/mscorlib.dll.so
-%{__rm} -f %{buildroot}%{_datadir}/libgc-mono/README*
-%{__rm} -f %{buildroot}%{_datadir}/libgc-mono/barrett_diagram
-%{__rm} -f %{buildroot}%{_datadir}/libgc-mono/*.html
-%{__rm} -f %{buildroot}%{_datadir}/libgc-mono/gc.man
-%{__rm} -rf %{buildroot}%{_bindir}/mono-configuration-crypto
-%{__rm} -rf %{buildroot}%{_mandir}/man?/mono-configuration-crypto*
-
+rm -f %{buildroot}%{_libdir}/*.la
+rm -f %{buildroot}%{_libdir}/*.a
+
+# We put these inside rpm
+rm -f %{buildroot}%{_bindir}/mono-find-provides
+rm -f %{buildroot}%{_bindir}/mono-find-requires
+
+# This was removed upstream:
+rm -rf %{buildroot}%{mono_dir}/*/Mono.Security.Win32*
+rm -f %{buildroot}%{_libdir}/libMonoSupportW.*
+rm %{buildroot}%{_datadir}/libgc-mono/README*
+rm %{buildroot}%{_datadir}/libgc-mono/barrett_diagram
+rm %{buildroot}%{_datadir}/libgc-mono/*.html
+rm %{buildroot}%{_datadir}/libgc-mono/gc.man
+rm -f %{buildroot}%{mono_dir}/2.0/mscorlib.dll.so
+rm -f %{buildroot}%{mono_dir}/2.0/mcs.exe.so
+rm -f %{buildroot}%{mono_dir}/2.0/gmcs.exe.so
+rm -rf %{buildroot}%{mono_dir}/xbuild/Microsoft
+rm -f %{buildroot}%{mono_dir}/4.0/mscorlib.dll.so
+rm -f %{buildroot}%{mono_dir}/4.5/mscorlib.dll.so
+#rm -rf %{buildroot}%{_bindir}/mono-configuration-crypto
+#rm -rf %{buildroot}%{_mandir}/man?/mono-configuration-crypto*
+
+# remove stuff that we don't package
+rm -f %{buildroot}%{_bindir}/cilc
+rm -f %{buildroot}%{_mandir}/man1/cilc.1*
+rm -f %{buildroot}%{_prefix}/lib/mono/*/browsercaps-updater.exe*
+rm -f %{buildroot}%{_prefix}/lib/mono/*/culevel.exe*
+rm -f %{buildroot}%{_prefix}/lib/mono/2.0/cilc.exe*
+
+# Fix non-executable-in-bin
+chmod +x %{buildroot}%{_bindir}/mono-gdb.py
+rm -f %{buildroot}%{_bindir}/mono-sgen-gdb.py
+
+#ERROR: link target doesn't exist (neither in build root nor in installed system):
+rm -rf %{buildroot}%{_prefix}/lib/mono/xbuild/12.0/bin/Microsoft.Build.dll
+rm -rf %{buildroot}%{_prefix}/lib/mono/xbuild/12.0/bin/Microsoft.Build.Engine.dll
+rm -rf %{buildroot}%{_prefix}/lib/mono/xbuild/12.0/bin/Mono.XBuild.Tasks.dll
+rm -rf %{buildroot}%{_prefix}/lib/mono/xbuild/12.0/bin/Microsoft.Build.Framework.dll
+rm -rf %{buildroot}%{_prefix}/lib/mono/xbuild/12.0/bin/Microsoft.Build.Tasks.v12.0.dll
+rm -rf %{buildroot}%{_prefix}/lib/mono/xbuild/12.0/bin/Microsoft.Build.Utilities.v12.0.dll
 
 %find_lang mcs
 
@@ -265,388 +370,452 @@ install monodir %{buildroot}%{_bindir}
 
 %post core -p /sbin/ldconfig
 %postun core -p /sbin/ldconfig
-%post devel -p /sbin/ldconfig
-%postun devel -p /sbin/ldconfig
-
 
 %files core -f mcs.lang
 %defattr(-,root,root,-)
-%doc AUTHORS COPYING.LIB ChangeLog NEWS README
-%{_bindir}/mcs
-%{_bindir}/mono
-%{_bindir}/monodir
-%{_bindir}/mono-api-*
-%{_bindir}/mono-heapviz
-%{_bindir}/peverify
-%{_bindir}/mprof-report
-%{_bindir}/mono-test-install
-%{_libdir}/libMonoPosixHelper.so
-%{_libdir}/libmono-2.0.so.*
-%{_libdir}/libmono-profiler-aot.so.*
-%{_libdir}/libmono-profiler-cov.so.*
-%{_libdir}/libmono-profiler-iomap.so.*
-%{_libdir}/libmono-profiler-log.so*
+%doc AUTHORS COPYING.LIB LICENSE ChangeLog NEWS README.md
 %dir %{mono_dir}
-%dir %{mono_dir}/4.0
-%dir %{mono_dir}/3.5
 %dir %{mono_dir}/2.0
-%dir %{mono_dir}/gac
+%dir %{mono_dir}/3.5
+%dir %{mono_dir}/4.0
+%dir %{mono_dir}/4.5
+%dir %{mono_dir}/4.5/Facades
 %dir %{mono_dir}/compat-2.0
-%bin_and_exe ccrewrite 4.0/ccrewrite
-%bin_and_exe csharp 4.0/csharp
-%bin_and_exe csharp2 2.0/csharp
-%bin_and_exe certmgr 4.0/certmgr
-%bin_and_exe chktrust 4.0/chktrust
-%bin_and_exe dmcs 4.0/dmcs
-%bin_and_exe lc 4.0/lc
-%bin_and_exe gacutil 4.0/gacutil
-%bin_and_exe gacutil2 2.0/gacutil
-%bin_and_exe gmcs 2.0/gmcs
-%bin_and_exe installvst 4.0/installvst
-%bin_and_exe mconfig 4.0/mconfig
-%{mono_dir}/2.0/mcs.exe
-%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
-%bin_and_exe mozroots 4.0/mozroots
-%bin_and_exe setreg 4.0/setreg
-%bin_and_exe sn 4.0/sn
-%bin_and_exe sqlmetal 4.0/sqlmetal
-%bin_and_exe svcutil 4.0/svcutil
-%{mono_dir}/4.0/browsercaps-updater.exe*
-%{mono_dir}/4.0/monolinker.exe*
-%{mono_dir}/4.0/ictool.exe*
-%{mono_dir}/4.0/installutil.exe*
-%{mono_dir}/4.0/mono-api-info.exe
-%{mono_dir}/4.0/mscorlib.dll*
-%{mono_dir}/2.0/mscorlib.dll*
-%{mono_dir}/3.5/Microsoft.Build.*
-%exclude %{mono_dir}/3.5/Microsoft.Build.xsd
-%{mono_dir}/4.0/Microsoft.Build.*
-%exclude %{mono_dir}/4.0/Microsoft.Build.xsd
-%{mono_dir}/4.0/Microsoft.CSharp.targets
-%{mono_dir}/3.5/Microsoft.CSharp.targets
-%{mono_dir}/2.0/Microsoft.CSharp.targets
-%{mono_dir}/4.0/Microsoft.Common.targets
-%{mono_dir}/3.5/Microsoft.Common.targets
-%{mono_dir}/2.0/Microsoft.Common.targets
-%{mono_dir}/4.0/Microsoft.VisualBasic.targets
-%{mono_dir}/3.5/Microsoft.VisualBasic.targets
-%{mono_dir}/2.0/Microsoft.VisualBasic.targets
-%{mono_dir}/compat-*/ICSharpCode.SharpZipLib.dll
-%{mono_dir}/gac/Mono.Cecil
-%{mono_dir}/gac/Mono.Cecil.Mdb
-%{mono_dir}/mono-configuration-crypto/4.0/Mono.Configuration.Crypto.dll*
-%{mono_dir}/mono-configuration-crypto/4.0/mono-configuration-crypto.exe*
-%gac_and_2dll cscompmgd 4.0 2.0
-%gac_and_2dll Commons.Xml.Relaxng 4.0 2.0
-%gac_and_2dll CustomMarshalers 4.0 2.0
-%gac_and_2dll I18N 4.0 2.0
-%gac_and_2dll I18N.West 4.0 2.0
-%gac_and_2dll ICSharpCode.SharpZipLib 4.0 2.0
-%gac_and_1dll Microsoft.CSharp 4.0
-%gac_and_2dll Mono.C5 4.0 2.0
-%gac_and_2dll Mono.Cairo 4.0 2.0
-%gac_and_2dll Mono.CompilerServices.SymbolWriter 4.0 2.0
-%gac_and_2dll Mono.Posix 4.0 2.0
-%gac_and_2dll Mono.Security 4.0 2.0
-%gac_and_2dll Mono.CSharp 4.0 2.0
-%gac_and_1dll Mono.CodeContracts 4.0
-%gac_and_2dll Mono.Debugger.Soft 4.0 2.0
-%gac_and_2dll Mono.Management 4.0 2.0
-%gac_and_2dll Mono.Simd 4.0 2.0
-%gac_and_2dll Mono.Tasklets 4.0 2.0
-%gac_and_2dll System 4.0 2.0
-%gac_and_2dll System.Configuration 4.0 2.0
-%gac_and_1dll System.Dynamic 4.0
-%gac_and_2dll System.Drawing 4.0 2.0
-%gac_and_2dll System.Core 4.0 2.0
-%gac_and_1dll System.ComponentModel.Composition 4.0
-%gac_and_2dll System.ComponentModel.DataAnnotations 4.0 2.0
-%gac_and_2dll System.IdentityModel 4.0 2.0
-%gac_and_2dll System.IdentityModel.Selectors 4.0 2.0
-%gac_and_2dll System.Net 4.0 2.0
-%gac_and_1dll System.Numerics 4.0
-%gac_and_1dll System.Runtime.Caching 4.0
-%gac_and_1dll System.Runtime.DurableInstancing 4.0
-%gac_and_2dll System.Runtime.Serialization 4.0 2.0
-%gac_and_2dll System.Runtime.Serialization.Formatters.Soap 4.0 2.0
-%gac_and_2dll System.Security 4.0 2.0
-%gac_and_1dll System.Xaml 4.0
-%gac_and_2dll System.Xml 4.0 2.0
-%gac_and_2dll System.Xml.Linq 4.0 2.0
-%gac_and_2dll OpenSystem.C 4.0 2.0
-%gac_and_2dll WindowsBase 4.0 2.0
+%dir %{mono_dir}/gac
 %dir %{_sysconfdir}/mono
-%dir %{_sysconfdir}/mono/4.0
 %dir %{_sysconfdir}/mono/2.0
-%dir %{_sysconfdir}/mono/mconfig
-%config (noreplace) %{_sysconfdir}/mono/config
-%config (noreplace) %{_sysconfdir}/mono/2.0/machine.config
-%config (noreplace) %{_sysconfdir}/mono/4.0/machine.config
-%config (noreplace) %{_sysconfdir}/mono/mconfig/config.xml
-%config (noreplace) %{_sysconfdir}/mono/2.0/settings.map
-%config (noreplace) %{_sysconfdir}/mono/4.0/settings.map
-%{_prefix}/lib/mono-source-libs/
-%{_mandir}/man1/ccrewrite.1.gz
+%dir %{_sysconfdir}/mono/4.0
+%dir %{_sysconfdir}/mono/4.5
+%config %{_sysconfdir}/mono/2.0/machine.config
+%config %{_sysconfdir}/mono/2.0/settings.map
+%config %{_sysconfdir}/mono/4.0/machine.config
+%config %{_sysconfdir}/mono/4.0/settings.map
+%config %{_sysconfdir}/mono/4.5/machine.config
+%config %{_sysconfdir}/mono/4.5/settings.map
+%config %{_sysconfdir}/mono/config
+
+%mono_bin al
+%{_bindir}/al2
+%mono_bin certmgr
+%mono_bin chktrust
+%mono_bin crlupdate
+%mono_bin csharp
+%{_bindir}/dmcs
+%mono_bin gacutil
+%{_bindir}/gacutil2
+%{_bindir}/gmcs
+%mono_bin ikdasm
+%mono_bin mcs
+%{_bindir}/mono
+%{_bindir}/mono-boehm
+%{_bindir}/mono-configuration-crypto
+%{_bindir}/mono-test-install
+%mono_bin mozroots
+%{_bindir}/peverify
+%mono_bin setreg
+%mono_bin sn
+
+%{_mandir}/man1/al.1.gz
 %{_mandir}/man1/certmgr.1.gz
 %{_mandir}/man1/chktrust.1.gz
+%{_mandir}/man1/crlupdate.1.gz
 %{_mandir}/man1/csharp.1.gz
 %{_mandir}/man1/gacutil.1.gz
-%{_mandir}/man1/lc.1.gz
-%{_mandir}/man1/mconfig.1.gz
 %{_mandir}/man1/mcs.1.gz
 %{_mandir}/man1/mono.1.gz
-%{_mandir}/man1/monolinker.1.gz
+%{_mandir}/man1/mono-configuration-crypto.1.gz
 %{_mandir}/man1/mozroots.1.gz
-%{_mandir}/man1/mprof-report.1.gz
 %{_mandir}/man1/setreg.1.gz
 %{_mandir}/man1/sn.1.gz
-%{_mandir}/man1/resgen.1.gz
-%{_mandir}/man1/mono-api-info.1.gz
-%{_mandir}/man1/mono-cil-strip.1.gz
 %{_mandir}/man5/mono-config.5.gz
 
+%{_libdir}/libMonoPosixHelper.so
+%{_libdir}/libikvm-native.so
+%{_libdir}/libmono*-2.0.so.*
+%{_libdir}/libmono-profiler-*.so.*
+
+%gac_dll Commons.Xml.Relaxng
+%gac_dll CustomMarshalers
+%gac_dll I18N
+%gac_dll I18N.CJK
+%gac_dll I18N.West
+%gac_dll ICSharpCode.SharpZipLib
+%gac_dll Microsoft.CSharp
+%gac_dll Microsoft.VisualC
+%gac_dll Mono.C5
+%gac_dll Mono.CSharp
+%gac_dll Mono.Cairo
+%gac_dll Mono.CompilerServices.SymbolWriter
+%gac_dll Mono.Management
+%gac_dll Mono.Parallel
+%gac_dll Mono.Posix
+%gac_dll Mono.Security
+%gac_dll Mono.Simd
+%gac_dll Mono.Tasklets
+%gac_dll System
+%gac_dll System.Configuration
+%gac_dll System.Core
+%gac_dll System.Drawing
+%gac_dll System.Dynamic
+%gac_dll System.IO.Compression
+%gac_dll System.IO.Compression.FileSystem
+%gac_dll System.Json
+%gac_dll System.Json.Microsoft
+%gac_dll System.Net
+%gac_dll System.Net.Http
+%gac_dll System.Net.Http.Formatting
+%gac_dll System.Net.Http.WebRequest
+%gac_dll System.Numerics
+%gac_dll System.Security
+%gac_dll System.Threading.Tasks.Dataflow
+%gac_dll System.Windows
+%gac_dll System.Xml
+%gac_dll System.Xml.Linq
+%gac_dll System.Xml.Serialization
+%gac_dll cscompmgd
+
+%{mono_dir}/2.0/mscorlib.dll
+%{mono_dir}/2.0/mscorlib.dll.mdb
+%{mono_dir}/4.0/mscorlib.dll
+%{mono_dir}/4.5/Facades/System*
+%{mono_dir}/4.5/mscorlib.dll
+%{mono_dir}/4.5/mscorlib.dll.mdb
+%{mono_dir}/compat-2.0/ICSharpCode.SharpZipLib.dll
+%{mono_dir}/gac/Mono.Cecil
+%{mono_dir}/gac/Mono.Cecil.Mdb
+%{mono_dir}/mono-configuration-crypto/4.5/mono-config*
+%{mono_dir}/mono-configuration-crypto/4.5/Mono.Configuration.Crypto.dll*
+
+
 %files devel
 %defattr(-,root,root,-)
-%{_bindir}/genxs
-%{_bindir}/mkbundle
+%mono_bin caspol
+%mono_bin cccheck
+%mono_bin ccrewrite
+%mono_bin cert-sync
+%mono_bin cert2spc
+%mono_bin dtd2rng
+%mono_bin dtd2xsd
+%mono_bin genxs
+%mono_bin httpcfg
+%mono_bin ilasm
+%mono_bin installvst
+%mono_bin lc
+%mono_bin macpack
+%mono_bin makecert
+%mono_bin mdbrebase
+%mono_bin mkbundle
+%{_bindir}/mono-api-info
+%mono_bin mono-cil-strip
 %{_bindir}/mono-gdb.py
+%{_bindir}/mono-heapviz
+%mono_bin mono-shlib-cop
+%mono_bin mono-xmltool
 %{_bindir}/monodis
 %{_bindir}/monograph
+%mono_bin monolinker
+%mono_bin monop
+%{_bindir}/monop2
+%{_bindir}/mprof-report
+%mono_bin pdb2mdb
 %{_bindir}/pedump
-%{_bindir}/xbuild
-%{_libdir}/libmono-2.0.so
-%{_libdir}/libmono-profiler-aot.so
-%{_libdir}/libmono-profiler-cov.so
-%{_libdir}/libmono-profiler-iomap.so
-%{_libdir}/libMonoSupportW.so
-%{_libdir}/libikvm-native.so
-%{mono_dir}/4.0/mkbundle.exe*
-%{mono_dir}/2.0/mkbundle.exe*
-%{mono_dir}/4.0/genxs.exe*
-%{mono_dir}/2.0/genxs.exe*
-%{mono_dir}/2.0/ilasm.exe*
-%bin_and_exe al 4.0/al
-%bin_and_exe al2 2.0/al
-%bin_and_exe caspol 4.0/caspol
-%bin_and_exe cert2spc 4.0/cert2spc
-%bin_and_exe dtd2xsd 4.0/dtd2xsd
-%bin_and_exe dtd2rng 4.0/dtd2rng
-%bin_and_exe sgen 4.0/sgen
-%bin_and_exe ilasm 4.0/ilasm
-%bin_and_exe macpack 4.0/macpack
-%bin_and_exe makecert 4.0/makecert
-%bin_and_exe monop 4.0/monop
-%bin_and_exe monop2 2.0/monop
-%bin_and_exe mono-shlib-cop 4.0/mono-shlib-cop
-%bin_and_exe mono-xmltool 4.0/mono-xmltool
-%bin_and_exe pdb2mdb 4.0/pdb2mdb
-%bin_and_exe permview 4.0/permview
-%bin_and_exe resgen 4.0/resgen
-%bin_and_exe resgen2 2.0/resgen
-%bin_and_exe secutil 4.0/secutil
-%bin_and_exe signcode 4.0/signcode
-%{mono_dir}/xbuild
-%{mono_dir}/xbuild-frameworks
-%{mono_dir}/4.0/xbuild.*
-%{mono_dir}/3.5/xbuild.*
-%{mono_dir}/2.0/xbuild.*
-%{mono_dir}/4.0/culevel.exe*
-%{mono_dir}/2.0/culevel.exe*
-%{mono_dir}/4.0/MSBuild/*.xsd
-%{mono_dir}/3.5/MSBuild/*.xsd
-%{mono_dir}/2.0/MSBuild/*.xsd
-%{mono_dir}/4.0/Microsoft.Build.xsd
-%{mono_dir}/3.5/Microsoft.Build.xsd
-%{mono_dir}/2.0/Microsoft.Build.xsd
-%{mono_dir}/4.0/Microsoft.*.targets
-%{mono_dir}/3.5/Microsoft.*.targets
-%{mono_dir}/2.0/Microsoft.*.targets
-%{mono_dir}/4.0/Microsoft.Common.tasks
-%{mono_dir}/3.5/Microsoft.Common.tasks
-%{mono_dir}/2.0/Microsoft.Common.tasks
-%gac_and_2dll PEAPI 4.0 2.0
-%gac_and_3dll Microsoft.Build.Engine 4.0 3.5 2.0
-%gac_and_3dll Microsoft.Build.Framework 4.0 3.5 2.0
-%gac_and_1dll Microsoft.Build.Tasks 2.0
-%gac_and_1dll Microsoft.Build.Tasks.v4.0 4.0
-%gac_and_1dll Microsoft.Build.Tasks.v3.5 3.5
-%gac_and_1dll Microsoft.Build.Utilities 2.0
-%gac_and_1dll Microsoft.Build.Utilities.v4.0 4.0
-%gac_and_1dll Microsoft.Build.Utilities.v3.5 3.5
-%gac_and_2dll Microsoft.VisualC 4.0 2.0
-%{_libdir}/pkgconfig/cecil.pc
-%{_libdir}/pkgconfig/dotnet.pc
-%{_libdir}/pkgconfig/dotnet35.pc
-%{_libdir}/pkgconfig/mono-cairo.pc
-%{_libdir}/pkgconfig/mono.pc
-%{_libdir}/pkgconfig/mono-2.pc
-%{_libdir}/pkgconfig/mono-lineeditor.pc
-%{_libdir}/pkgconfig/mono-options.pc
-%{_libdir}/pkgconfig/wcf.pc
-%{_includedir}/mono-2.0
-%{_mandir}/man1/al.1.gz
+%mono_bin permview
+%{_bindir}/prj2make
+%mono_bin resgen
+%{_bindir}/resgen2
+%mono_bin secutil
+%mono_bin sgen
+%mono_bin signcode
+%mono_bin xbuild
+%{_prefix}/lib/mono-source-libs/
+
+%{_mandir}/man1/cccheck.1.gz
+%{_mandir}/man1/ccrewrite.1.gz
 %{_mandir}/man1/cert2spc.1.gz
+%{_mandir}/man1/resgen.1.gz
 %{_mandir}/man1/dtd2xsd.1.gz
 %{_mandir}/man1/genxs.1.gz
+%{_mandir}/man1/httpcfg.1.gz
 %{_mandir}/man1/ilasm.1.gz
+%{_mandir}/man1/lc.1.gz
 %{_mandir}/man1/macpack.1.gz
 %{_mandir}/man1/makecert.1.gz
 %{_mandir}/man1/mkbundle.1.gz
+%{_mandir}/man1/mono-api-info.1.gz
+%{_mandir}/man1/mono-cil-strip.1.gz
 %{_mandir}/man1/mono-shlib-cop.1.gz
 %{_mandir}/man1/mono-xmltool.1.gz
 %{_mandir}/man1/monodis.1.gz
+%{_mandir}/man1/monolinker.1.gz
 %{_mandir}/man1/monop.1.gz
+%{_mandir}/man1/mprof-report.1.gz
 %{_mandir}/man1/pdb2mdb.1.gz
 %{_mandir}/man1/permview.1.gz
+%{_mandir}/man1/prj2make.1.gz
 %{_mandir}/man1/secutil.1.gz
 %{_mandir}/man1/sgen.1.gz
 %{_mandir}/man1/signcode.1.gz
 %{_mandir}/man1/xbuild.1.gz
+%{_datadir}/mono-2.0/mono/cil/cil-opcodes.xml
+
+%gac_dll Mono.CodeContracts
+%gac_dll Mono.Debugger.Soft
+%gac_dll Mono.XBuild.Tasks
+%gac_dll PEAPI
+%gac_dll Microsoft.Build
+%gac_dll Microsoft.Build.Engine
+%gac_dll Microsoft.Build.Framework
+%gac_dll Microsoft.Build.Tasks
+%gac_dll Microsoft.Build.Utilities
+%gac_dll Microsoft.Build.Tasks.v3.5
+%gac_dll Microsoft.Build.Utilities.v3.5
+%gac_dll Microsoft.Build.Tasks.v4.0
+%gac_dll Microsoft.Build.Utilities.v4.0
+%{mono_dir}/2.0/MSBuild
+%{mono_dir}/2.0/Microsoft.Build.xsd
+%{mono_dir}/2.0/Microsoft.*.targets
+%{mono_dir}/?.0/Microsoft.Common.tasks
+%{mono_dir}/3.5/MSBuild/Microsoft.Build*
+%{mono_dir}/3.5/Microsoft.Build.xsd
+%{mono_dir}/3.5/Microsoft.CSharp.targets
+%{mono_dir}/3.5/Microsoft.Common.ta*
+%{mono_dir}/3.5/Microsoft.VisualBasic.targets
+%{mono_dir}/4.5/Microsoft.Build.xsd
+%{mono_dir}/4.5/MSBuild/Microsoft*
+%{mono_dir}/4.5/Microsoft.CSharp.targets
+%{mono_dir}/4.5/Microsoft.Common.ta*
+%{mono_dir}/4.5/Microsoft.VisualBasic.targets
+%{mono_dir}/4.5/mono-api-info.exe
+%{mono_dir}/4.5/installutil*
+%{mono_dir}/4.5/ictool*
+%{mono_dir}/?.?/xbuild.rsp
+%{mono_dir}/gac/Microsoft.Build.Tasks.v12.0/
+%{mono_dir}/gac/Microsoft.Build.Utilities.v12.0/
+%{_libdir}/libmono*-2.0.so
+%{_libdir}/libmono-profiler-*.so
+%{_libdir}/pkgconfig/aspnetwebstack.pc
+%{_libdir}/pkgconfig/cecil.pc
+%{_libdir}/pkgconfig/dotnet.pc
+%{_libdir}/pkgconfig/dotnet35.pc
+%{_libdir}/pkgconfig/mono.pc
+%{_libdir}/pkgconfig/mono-cairo.pc
+%{_libdir}/pkgconfig/mono-lineeditor.pc
+%{_libdir}/pkgconfig/mono-options.pc
+%{_libdir}/pkgconfig/mono-2.pc
+%{_libdir}/pkgconfig/xbuild12.pc
+%{_includedir}/mono-2.0/mono/jit/jit.h
+%{_includedir}/mono-2.0/mono/metadata/*.h
+%{_includedir}/mono-2.0/mono/utils/*.h
+%{_includedir}/mono-2.0/mono/cil/opcode.def
+%{mono_dir}/xbuild
+%{mono_dir}/xbuild-frameworks
 
 %files nunit
 %defattr(-,root,root,-)
-%bin_and_exe nunit-console 4.0/nunit-console
-%bin_and_exe nunit-console2 2.0/nunit-console
-%gac_and_2dll nunit.core 4.0 2.0
-%gac_and_2dll nunit.framework 4.0 2.0
-%gac_and_2dll nunit.util 4.0 2.0
-%gac_and_2dll nunit.mocks 4.0 2.0
-%gac_and_2dll nunit-console-runner 4.0 2.0
-%gac_and_2dll nunit.core.extensions 4.0 2.0
-%gac_and_2dll nunit.core.interfaces 4.0 2.0
-%gac_and_2dll nunit.framework.extensions 4.0 2.0
+%mono_bin nunit-console
+%{_bindir}/nunit-console2
+%{_bindir}/nunit-console4
+%gac_dll nunit-console-runner
+%gac_dll nunit.core
+%gac_dll nunit.core.extensions
+%gac_dll nunit.core.interfaces
+%gac_dll nunit.framework
+%gac_dll nunit.framework.extensions
+%gac_dll nunit.mocks
+%gac_dll nunit.util
+# devel 
 %{_libdir}/pkgconfig/mono-nunit.pc
 
 %files locale-extras
 %defattr(-,root,root,-)
-%gac_and_2dll I18N.MidEast 4.0 2.0
-%gac_and_2dll I18N.Rare 4.0 2.0
-%gac_and_2dll I18N.CJK 4.0 2.0
-%gac_and_2dll I18N.Other 4.0 2.0
+%gac_dll I18N.MidEast
+%gac_dll I18N.Rare
+%gac_dll I18N.Other
 
 %files extras
 %defattr(-,root,root,-)
+%mono_bin mono-service
+%{_bindir}/mono-service2
 %{_mandir}/man1/mono-service.1.gz
-%bin_and_exe mono-service 4.0/mono-service
-%bin_and_exe mono-service2 2.0/mono-service
+%gac_dll Mono.Messaging
+%gac_dll Mono.Messaging.RabbitMQ
+%gac_dll RabbitMQ.Client
+%gac_dll System.Configuration.Install
+%gac_dll System.Management
+%gac_dll System.Messaging
+%gac_dll System.Runtime.Caching
+%gac_dll System.ServiceProcess
+%gac_dll System.Xaml
+%{mono_dir}/?.?/RabbitMQ.Client.Apigen*
 %{mono_dir}/gac/mono-service
-%gac_and_2dll System.Configuration.Install 4.0 2.0
-%gac_and_2dll System.Management 4.0 2.0
-%gac_and_2dll System.Messaging 4.0 2.0
-%gac_and_2dll System.ServiceProcess 4.0 2.0
-%gac_and_2dll System.ServiceModel 4.0 2.0
-%gac_and_1dll System.ServiceModel.Discovery 4.0
-%gac_and_1dll System.ServiceModel.Routing 4.0
-%gac_and_2dll Mono.Messaging.RabbitMQ 4.0 2.0
-%gac_and_2dll Mono.Messaging 4.0 2.0
-%gac_and_2dll RabbitMQ.Client 4.0 2.0
-%{mono_dir}/4.0/RabbitMQ.Client.Apigen.exe*
-%{mono_dir}/2.0/RabbitMQ.Client.Apigen.exe*
 
 %files winforms
 %defattr(-,root,root,-)
-%gac_and_2dll Accessibility 4.0 2.0
-%gac_and_2dll System.Design 4.0 2.0
-%gac_and_2dll System.Drawing.Design 4.0 2.0
-%gac_and_2dll System.Windows.Forms 4.0 2.0
-%gac_and_1dll System.Windows.Forms.DataVisualization 4.0
+%gac_dll Accessibility
+%gac_dll Mono.WebBrowser
+%gac_dll System.Design
+%gac_dll System.Drawing.Design
+%gac_dll System.Windows.Forms
+%gac_dll System.Windows.Forms.DataVisualization
+
+%files wcf
+%defattr(-, root, root, -)
+%mono_bin svcutil
+%gac_dll System.Data.Services
+%gac_dll System.IdentityModel
+%gac_dll System.IdentityModel.Selectors
+%gac_dll System.Runtime.DurableInstancing
+%gac_dll System.ServiceModel
+%gac_dll System.ServiceModel.Activation
+%gac_dll System.ServiceModel.Discovery
+%gac_dll System.ServiceModel.Routing
+%gac_dll System.ServiceModel.Web
+# wcf-devel
+%{_libdir}/pkgconfig/wcf.pc
+
+%files winfx
+%defattr(-, root, root)
+%gac_dll System.Data.Services.Client
+%gac_dll WindowsBase
 
 %files web
 %defattr(-,root,root,-)
-%{mono_dir}/2.0/xsd.exe*
-%{mono_dir}/compat-2.0/System.Web.Extensions*dll
-%{mono_dir}/compat-2.0/System.Web.Mvc.dll
-%bin_and_exe disco 4.0/disco
-%bin_and_exe soapsuds 4.0/soapsuds
-%bin_and_exe xsd 4.0/xsd
-%bin_and_exe wsdl 4.0/wsdl
-%bin_and_exe wsdl2 2.0/wsdl
-%bin_and_exe httpcfg 4.0/httpcfg
-%gac_and_2dll Mono.Http 4.0 2.0
-%gac_and_2dll Mono.Web 4.0 2.0
-%gac_and_2dll Mono.WebBrowser 4.0 2.0
-%gac_and_2dll System.Runtime.Remoting 4.0 2.0
-%gac_and_2dll System.Runtime.Serialization.Formatters.Soap 4.0 2.0
-%gac_and_2dll System.ServiceModel.Web 4.0 2.0
-%gac_and_2dll System.Web 4.0 2.0
-%gac_and_1dll System.Web.ApplicationServices 4.0
-%gac_and_2dll System.Web.Abstractions 4.0 2.0
-%gac_and_2dll System.Web.DynamicData 4.0 2.0
-%gac_and_1dll System.Web.Mvc 2.0
-%gac_and_2dll System.Web.Routing 4.0 2.0
-%gac_and_2dll System.Web.Services 4.0 2.0
-%gac_and_2dll System.Web.Extensions.Design 4.0 2.0
-%gac_and_2dll System.Web.Extensions 4.0 2.0
-%gac_and_1dll Microsoft.Web.Infrastructure 4.0
-%gac_and_1dll WebMatrix.Data 4.0
+%dir %{_sysconfdir}/mono/mconfig
+%config (noreplace) %{_sysconfdir}/mono/browscap.ini
+%config (noreplace) %{_sysconfdir}/mono/mconfig/config.xml
+%config (noreplace) %{_sysconfdir}/mono/2.0/Browsers
+%config (noreplace) %{_sysconfdir}/mono/2.0/DefaultWsdlHelpGenerator.aspx
+%config (noreplace) %{_sysconfdir}/mono/2.0/web.config
+%config (noreplace) %{_sysconfdir}/mono/4.0/Browsers
+%config (noreplace) %{_sysconfdir}/mono/4.0/DefaultWsdlHelpGenerator.aspx
+%config (noreplace) %{_sysconfdir}/mono/4.0/web.config
+%config (noreplace) %{_sysconfdir}/mono/4.5/Browsers
+%config (noreplace) %{_sysconfdir}/mono/4.5/DefaultWsdlHelpGenerator.aspx
+%config (noreplace) %{_sysconfdir}/mono/4.5/web.config
+%mono_bin disco
+%mono_bin mconfig
+%mono_bin soapsuds
+%mono_bin wsdl
+%{_bindir}/wsdl2
+%mono_bin xsd
 %{_mandir}/man1/disco.1.gz
+%{_mandir}/man1/mconfig.1.gz
 %{_mandir}/man1/soapsuds.1.gz
 %{_mandir}/man1/wsdl.1.gz
 %{_mandir}/man1/xsd.1.gz
-%config (noreplace) %{_sysconfdir}/mono/browscap.ini
-%config (noreplace) %{_sysconfdir}/mono/2.0/Browsers/Compat.browser
-%config (noreplace) %{_sysconfdir}/mono/4.0/DefaultWsdlHelpGenerator.aspx
-%config (noreplace) %{_sysconfdir}/mono/2.0/DefaultWsdlHelpGenerator.aspx
-%config (noreplace) %{_sysconfdir}/mono/4.0/web.config
-%config (noreplace) %{_sysconfdir}/mono/2.0/web.config
-%{_mandir}/man1/httpcfg.1.gz
-%{_libdir}/pkgconfig/mono.web.pc
-%{_libdir}/pkgconfig/system.web.extensions_1.0.pc
+%gac_dll Microsoft.Web.Infrastructure
+%gac_dll Mono.Http
+%gac_dll System.ComponentModel.Composition
+%gac_dll System.ComponentModel.DataAnnotations
+%gac_dll System.Runtime.Remoting
+%gac_dll System.Runtime.Serialization.Formatters.Soap
+%gac_dll System.Web
+%gac_dll System.Web.Abstractions
+%gac_dll System.Web.ApplicationServices
+%gac_dll System.Web.Http
+%gac_dll System.Web.Http.SelfHost
+%gac_dll System.Web.Http.WebHost
+%gac_dll System.Web.Razor
+%gac_dll System.Web.Routing
+%gac_dll System.Web.Services
+%gac_dll System.Web.WebPages
+%gac_dll System.Web.WebPages.Deployment
+%gac_dll System.Web.WebPages.Razor
+
+%files mvc
+%defattr(-, root, root,-)
+%gac_dll System.Web.DynamicData
+%gac_dll System.Web.Extensions
+%gac_dll System.Web.Extensions.Design
+%gac_dll System.Web.Mvc
+%{mono_dir}/compat-2.0/System.Web.Extensions.Design.dll
+%{mono_dir}/compat-2.0/System.Web.Extensions.dll
+%{mono_dir}/compat-2.0/System.Web.Mvc.dll
+# mvc-devel
 %{_libdir}/pkgconfig/system.web.extensions.design_1.0.pc
+%{_libdir}/pkgconfig/system.web.extensions_1.0.pc
 %{_libdir}/pkgconfig/system.web.mvc.pc
 %{_libdir}/pkgconfig/system.web.mvc2.pc
+%{_libdir}/pkgconfig/system.web.mvc3.pc
+
+%files entityframework
+%defattr(-, root, root)
+%gac_dll EntityFramework
+%gac_dll EntityFramework.SqlServer
+
+%files reactive
+%defattr(-, root, root)
+%gac_dll System.Reactive.Core
+%gac_dll System.Reactive.Debugger
+%gac_dll System.Reactive.Experimental
+%gac_dll System.Reactive.Interfaces
+%gac_dll System.Reactive.Linq
+%gac_dll System.Reactive.Observable.Aliases
+%gac_dll System.Reactive.PlatformServices
+%gac_dll System.Reactive.Providers
+%gac_dll System.Reactive.Runtime.Remoting
+%gac_dll System.Reactive.Windows.Forms
+%gac_dll System.Reactive.Windows.Threading
+# reactive-devel
+%{_libdir}/pkgconfig/reactive.pc
 
 %files data
 %defattr(-,root,root,-)
-%bin_and_exe sqlsharp 4.0/sqlsharp
-%gac_and_2dll Mono.Data.Tds 4.0 2.0
-%gac_and_2dll Novell.Directory.Ldap 4.0 2.0
-%gac_and_2dll System.Data 4.0 2.0
-%gac_and_2dll System.Data.DataSetExtensions 4.0 2.0
-%gac_and_2dll System.Data.Linq 4.0 2.0
-%gac_and_2dll System.Data.Services 4.0 2.0
-%gac_and_2dll System.Data.Services.Client 4.0 2.0
-%gac_and_2dll System.DirectoryServices 4.0 2.0
-%gac_and_2dll System.EnterpriseServices 4.0 2.0
-%gac_and_2dll System.Transactions 4.0 2.0
+%mono_bin sqlsharp
+%mono_bin sqlmetal
 %{_mandir}/man1/sqlsharp.1.gz
+%gac_dll Mono.Data.Tds
+%gac_dll Novell.Directory.Ldap
+%gac_dll System.Data
+%gac_dll System.Data.DataSetExtensions
+%gac_dll System.Data.Linq
+%gac_dll System.DirectoryServices
+%gac_dll System.DirectoryServices.Protocols
+%gac_dll System.EnterpriseServices
+%gac_dll System.Runtime.Serialization
+%gac_dll System.Transactions
+%gac_dll WebMatrix.Data
 
 %files data-sqlite
 %defattr(-,root,root,-)
-%gac_and_2dll Mono.Data.Sqlite 4.0 2.0
+%gac_dll Mono.Data.Sqlite
 
 %files data-oracle
 %defattr(-,root,root,-)
-%gac_and_2dll System.Data.OracleClient 4.0 2.0
+%gac_dll System.Data.OracleClient
 
 %files data-postgresql
 %defattr(-,root,root,-)
-%gac_and_2dll Npgsql 4.0 2.0
+%gac_dll Npgsql
 
 %files -n ibm-data-db2
 %defattr(-,root,root,-)
-%gac_and_2dll IBM.Data.DB2 4.0 2.0
+%gac_dll IBM.Data.DB2
 
 %files -n monodoc
 %defattr(-, root, root)
-%bin_and_exe mdoc 2.0/mdoc
-%{_bindir}/mdoc-*
 %{_bindir}/mdass*
+%mono_bin mdoc
+%{_bindir}/mdoc-*
 %{_bindir}/mdval*
-%{_bindir}/mod
+%mono_bin mod
 %{_bindir}/monodoc*
-%{mono_dir}/gac/monodoc
-%{mono_dir}/monodoc/monodoc.dll
-%{mono_doc}/*
 %{_mandir}/man1/md*
 %{_mandir}/man1/monodoc*
 %{_mandir}/man5/mdoc*
+%{mono_dir}/4.0/monodoc.dll
+%{mono_dir}/gac/monodoc
+%{mono_dir}/monodoc/*
+%ifnarch  ppc
+%{_prefix}/lib/monodoc
+%endif
+# monodoc-devel
 %{_libdir}/pkgconfig/monodoc.pc
 
-
 %changelog
+* Thu Mar 26 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 3.12.1-1
+- updated to 3.12.1
+
 * Fri Dec 27 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.10.8-2
 - rebuild with VineSeed environment
 - remove Requires:libgluezilla in monodoc

+ 58 - 18
n/nant/nant-vl.spec

@@ -1,19 +1,43 @@
-%define nant_dir %{_datadir}/NAnt/bin
+%define git 20130131
+
 Summary: A .NET based build tool
-Summary(ja): .NET をベースにしたビルドツール
+Summary(ja): .NET ベースのビルドツール
 Name: nant
-Version: 0.90
-Release: 3%{?_dist_release}
-License: GPL v2+
+Version: 0.92
+Release: 1%{?git:.git%{git}}%{?_dist_release}
+License: GPLv2+ and LGPLv2+
 Group: Development/Tools
 URL: http://nant.sourceforge.net/
-Source: %{name}-%{version}-src.tar.gz
+
+#Source0: http://downloads.sourceforge.net/nant/%{name}-%{version}-src.tar.gz
+# git clone //github.com/letiemble/nant.git
+Source0: %{name}.tar.xz
+
 BuildArch: noarch
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
+BuildRequires: dos2unix
 BuildRequires: mono-core
 BuildRequires: mono-devel
 BuildRequires: pkgconfig
+
+Autoreq: no
 Requires: mono-core
-BuildRoot: %{_tmppath}/%{name}-%{version}-root
+Requires: mono-data
+Requires: mono-web
+Requires: mono-winforms
+#Requires: mono(System)
+#Requires: mono(System.Data)
+#Requires: mono(System.Drawing)
+#Requires: mono(System.Web)
+#Requires: mono(System.Windows.Forms)
+#Requires: mono(System.Xml)
+#Requires: mono(mscorlib)
+
+# ignore some bundled dlls
+%define _use_internal_dependency_generator 0
+%define __find_provides env sh -c 'filelist=($(grep -v log4net.dll | grep -v scvs.exe | grep -v nunit | grep -v NDoc | grep -v neutral)) && { printf "%s\\n" "${filelist[@]}" | /usr/lib/rpm/find-provides && printf "%s\\n" "${filelist[@]}" | /usr/lib/rpm/mono-find-provides ; } | sort | uniq'
+%define __find_requires env sh -c 'filelist=($(cat)) && { printf "%s\\n" "${filelist[@]}" |  /usr/lib/rpm/mono-find-requires ; } | sort | uniq'
+
 Vendor: Project Vine
 Distribution: Vine Linux
 
@@ -21,38 +45,54 @@ Distribution: Vine Linux
 NAnt is a .NET based build tool. In theory it is kind of like make
 without make's wrinkles. In practice it's a lot like Ant.
 
+%package devel
+Summary:        NAnt pkgconfig files
+License:        LGPLv2
+Group:          Development/Libraries
+Requires:       nant = %{version}-%{release}
+
+%description devel
+This package contains the pkgconfig files for NAnt.
+
 %prep
-%setup -q
+%setup -q -n %{name}
 
 %build
-%{__make}
+make TARGET=mono-4.5 MCS="gmcs -sdk:4"
 
 %install
 rm -rf $RPM_BUILD_ROOT
-mono bootstrap/NAnt.exe -f:NAnt.build install-linux -D:install.prefix=$RPM_BUILD_ROOT%{_prefix}
+make install prefix=%{_prefix} DESTDIR=$RPM_BUILD_ROOT TARGET=mono-4.5 MCS="gmcs -sdk:4" docdir=%{_docdir}
 
 mkdir -p $RPM_BUILD_ROOT%{_datadir}/pkgconfig
 mv $RPM_BUILD_ROOT%{_prefix}/lib/pkgconfig/%{name}.pc $RPM_BUILD_ROOT%{_datadir}/pkgconfig
 
-## script nant is exist, but fix it
-cat << EOF > $RPM_BUILD_ROOT%{_bindir}/nant
-#!/bin/sh
-exec mono %{_datadir}/NAnt/bin/NAnt.exe "\$@"
-EOF
+chmod -x $RPM_BUILD_ROOT%{_datadir}/NAnt/bin/lib/common/2.0/nunit-console.exe.config
+dos2unix $RPM_BUILD_ROOT%{_datadir}/NAnt/bin/lib/common/2.0/nunit-console.exe.config
 
+rm -rf _docs
+mkdir -p _docs
+mv $RPM_BUILD_ROOT%{_docdir}/NAnt/* _docs
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(-,root,root)
-%doc COPYING.txt README.txt doc/*
+%doc COPYING.txt README.txt _docs/*
 %{_bindir}/nant
+%dir %{_datadir}/NAnt
+%{_datadir}/NAnt/*
+
+%files devel
+%defattr(-,root,root)
 %{_datadir}/pkgconfig/%{name}.pc
-%dir %{nant_dir}
-%{nant_dir}/*
 
 %changelog
+* Sat Mar 28 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.92-1.git20140131
+- updated to 0.92+git based on OpenSUSE
+- built with mono 3.12.1
+
 * Mon Apr 25 2011 Shu KONNO <owa@bg.wakwak.com> 0.90-3
 - rebuilt with mono-2.10.1-3
 

+ 7 - 4
w/webkit-sharp/webkit-sharp-vl.spec

@@ -1,6 +1,6 @@
 Name:		webkit-sharp
 Version:	0.3
-Release:	2%{?_dist_release}
+Release:	3%{?_dist_release}
 Summary:	.NET bindings for WebKit
 Summary(ja):	WebKit の .NET バインディング
 
@@ -12,12 +12,13 @@ Source0:	http://origin-download.mono-project.com/sources/webkit-sharp/%{name}-%{
 # https://bugzilla.redhat.com/show_bug.cgi?id=658502
 Patch1:		webkit-sharp-0.3-dllmap.patch
 
-Requires:	WebKit-gtk
+BuildRoot:      %{_tmppath}/%{name}-%{version}-root
 BuildRequires:	WebKit-gtk-devel
-BuildRequires:	mono-devel
 BuildRequires:	gtk-sharp2-devel
 BuildRequires:	gtk-sharp2-gapi
+BuildRequires:	mono-devel
 BuildRequires:	monodoc
+Requires:	WebKit-gtk
 
 ExclusiveArch: %ix86 x86_64 ppc ppc64 ia64 %{arm} sparcv9 alpha s390x
 
@@ -60,13 +61,15 @@ rm -rf $RPM_BUILD_ROOT
 %doc COPYING README
 %{_prefix}/lib/mono/
 
-
 %files devel
 %{_libdir}/pkgconfig/webkit-sharp-1.0.pc
 %{_prefix}/lib/monodoc/sources/webkit-sharp*
 
 
 %changelog
+* Sat Mar 28 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.3-3
+- rebuilt with mono 3.12.1
+
 * Sun Nov 16 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.3-2
 - added Group tag and %%clean section to spec