|
@@ -1,25 +1,41 @@
|
|
-%define mono_dir %(/usr/bin/monodir)
|
|
|
|
|
|
+%define mono_dir %{_prefix}/lib/mono
|
|
%define _libdir %{_prefix}/lib
|
|
%define _libdir %{_prefix}/lib
|
|
|
|
+
|
|
Name: mono-tools
|
|
Name: mono-tools
|
|
-Version: 2.10
|
|
|
|
-Release: 2%{?_dist_release}
|
|
|
|
-Summary: Collection of Tools and Utilities for Mono
|
|
|
|
-Summary(ja): Mono 用 ツールコレクション
|
|
|
|
|
|
+Version: 3.10
|
|
|
|
+Release: 1%{?_dist_release}
|
|
|
|
+Summary: A collection of tools for mono applications
|
|
|
|
+Summary(ja): Mono アプリケーション用のツール集
|
|
|
|
+
|
|
|
|
+# Type Refector and ASN.1 viewer is MIT, Debugger is GPL
|
|
|
|
+License: LGPL, GPL and MIT
|
|
Group: Development/Tools
|
|
Group: Development/Tools
|
|
-License: GNU General Public License (GPL)
|
|
|
|
-URL: http://go-mono.org/
|
|
|
|
-Source: http://mono.ximian.com/monobuild/preview/sources/%{name}/%{name}-%{version}.tar.bz2
|
|
|
|
|
|
+URL: http://www.mono-project.com/Main_Page
|
|
|
|
+
|
|
|
|
+Source0: https://github.com/mono/mono-tools/archive/3.10.tar.gz
|
|
|
|
+
|
|
|
|
+# Vine patch (based on OpenSUSE)
|
|
|
|
+Patch70: mono-tools-docbrowser.patch
|
|
|
|
+Patch71: mono-tools-replace_gmcs.patch
|
|
|
|
+Patch72: mono-tools-webdocfiles.patch
|
|
|
|
+
|
|
BuildArch: noarch
|
|
BuildArch: noarch
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
-BuildRequires: mono-devel mono-nunit monodoc mono-data-oracle
|
|
|
|
-BuildRequires: gtk-sharp2
|
|
|
|
-BuildRequires: gnome-sharp2
|
|
|
|
|
|
+BuildRequires: mono-devel mono-nunit-devel monodoc mono-data-oracle
|
|
|
|
+BuildRequires: gtk-sharp2-devel
|
|
|
|
+BuildRequires: gnome-sharp2-devel
|
|
BuildRequires: gconf-sharp2
|
|
BuildRequires: gconf-sharp2
|
|
BuildRequires: gnome-print-sharp
|
|
BuildRequires: gnome-print-sharp
|
|
BuildRequires: gtkhtml314-sharp
|
|
BuildRequires: gtkhtml314-sharp
|
|
-BuildRequires: gecko-sharp2
|
|
|
|
|
|
+BuildRequires: gecko-sharp2-devel
|
|
BuildRequires: webkit-sharp-devel
|
|
BuildRequires: webkit-sharp-devel
|
|
BuildRequires: libgdiplus-devel
|
|
BuildRequires: libgdiplus-devel
|
|
|
|
+BuildRequires: autoconf automake libtool
|
|
|
|
+
|
|
|
|
+Requires: mono-core, monodoc
|
|
|
|
+Requires(post): desktop-file-utils
|
|
|
|
+Requires(postun): desktop-file-utils
|
|
|
|
+Provides: mono-tools-devel = %{version}-%{release}
|
|
|
|
|
|
Vendor: Project Vine
|
|
Vendor: Project Vine
|
|
Distribution: Vine Linux
|
|
Distribution: Vine Linux
|
|
@@ -28,21 +44,29 @@ Distribution: Vine Linux
|
|
Mono Tools is a collection of development and testing programs and
|
|
Mono Tools is a collection of development and testing programs and
|
|
utilities for use with Mono.
|
|
utilities for use with Mono.
|
|
|
|
|
|
|
|
+%package doc
|
|
|
|
+Summary: Monodoc documentation of %{name}
|
|
|
|
+Summary: %{name} のドキュメント
|
|
|
|
+Group: Applications/Documentation
|
|
|
|
+Requires: %{name} = %{version}-%{release}
|
|
|
|
+Requires: monodoc
|
|
|
|
+
|
|
|
|
+%description doc
|
|
|
|
+Documentation for monotools for use with monodoc
|
|
|
|
|
|
%prep
|
|
%prep
|
|
%setup -q -n %{name}-%{version}
|
|
%setup -q -n %{name}-%{version}
|
|
|
|
+%patch70 -p1 -b .docbrowser
|
|
|
|
+%patch71 -p1 -b .gmcs
|
|
|
|
+%patch72 -p1 -b .webdoc
|
|
|
|
|
|
|
|
+chmod -x COPYING
|
|
|
|
|
|
%build
|
|
%build
|
|
-export MONO_SHARED_DIR=%{_builddir}/%{?buildsubdir}
|
|
|
|
-./configure \
|
|
|
|
- --prefix=%{_prefix} \
|
|
|
|
- --libdir=%{_libdir} \
|
|
|
|
- --sysconfdir=%{_sysconfdir} \
|
|
|
|
- --mandir=%{_mandir} \
|
|
|
|
- --infodir=%{_infodir} \
|
|
|
|
- --localstatedir=%{_localstatedir}
|
|
|
|
|
|
+./autogen.sh
|
|
|
|
|
|
|
|
+export MONO_SHARED_DIR=%{_builddir}/%{?buildsubdir}
|
|
|
|
+%configure
|
|
make
|
|
make
|
|
|
|
|
|
|
|
|
|
@@ -58,17 +82,27 @@ mv $RPM_BUILD_ROOT%{_libdir}/pkgconfig $RPM_BUILD_ROOT%{_datadir}
|
|
|
|
|
|
%find_lang %{name}
|
|
%find_lang %{name}
|
|
|
|
|
|
-
|
|
|
|
%clean
|
|
%clean
|
|
rm -Rf "$RPM_BUILD_ROOT"
|
|
rm -Rf "$RPM_BUILD_ROOT"
|
|
|
|
|
|
|
|
|
|
%post
|
|
%post
|
|
-monodoc --make-index
|
|
|
|
|
|
+touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
|
|
|
|
|
|
|
|
+%posttrans
|
|
|
|
+gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
|
|
|
|
+update-desktop-database -q &> /dev/null ||:
|
|
|
|
+
|
|
|
|
+%postun
|
|
|
|
+if [ $1 -eq 0 ] ; then
|
|
|
|
+ touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
|
|
|
|
+ gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
|
|
|
|
+ update-desktop-database -q &> /dev/null ||:
|
|
|
|
+fi
|
|
|
|
|
|
%files -f %{name}.lang
|
|
%files -f %{name}.lang
|
|
%defattr(-, root, root)
|
|
%defattr(-, root, root)
|
|
|
|
+%doc AUTHORS COPYING* LICENSE MIT.X11 README
|
|
%{_bindir}/create-native-map
|
|
%{_bindir}/create-native-map
|
|
%{_bindir}/emveepee
|
|
%{_bindir}/emveepee
|
|
%{_bindir}/gasnview
|
|
%{_bindir}/gasnview
|
|
@@ -83,7 +117,7 @@ monodoc --make-index
|
|
%{_bindir}/mperfmon
|
|
%{_bindir}/mperfmon
|
|
%{_bindir}/mprof-decoder
|
|
%{_bindir}/mprof-decoder
|
|
%{_bindir}/mprof-heap-viewer
|
|
%{_bindir}/mprof-heap-viewer
|
|
-%{_prefix}/lib//mono/1.0/gasnview.exe
|
|
|
|
|
|
+%{mono_dir}/1.0/gasnview.exe
|
|
%{_libdir}/create-native-map
|
|
%{_libdir}/create-native-map
|
|
%{_libdir}/gendarme
|
|
%{_libdir}/gendarme
|
|
%{_libdir}/gsharp/gsharp.exe
|
|
%{_libdir}/gsharp/gsharp.exe
|
|
@@ -91,7 +125,9 @@ monodoc --make-index
|
|
%{_libdir}/gui-compare
|
|
%{_libdir}/gui-compare
|
|
%{_libdir}/ilcontrast
|
|
%{_libdir}/ilcontrast
|
|
%{_libdir}/minvoke/minvoke.exe
|
|
%{_libdir}/minvoke/minvoke.exe
|
|
-%{_libdir}/monodoc
|
|
|
|
|
|
+#{_libdir}/monodoc
|
|
|
|
+%{_libdir}/monodoc/browser.exe
|
|
|
|
+%{_libdir}/monodoc/*HtmlRender.dll
|
|
%{_libdir}/mperfmon/config
|
|
%{_libdir}/mperfmon/config
|
|
%{_libdir}/mperfmon/mperfmon.exe
|
|
%{_libdir}/mperfmon/mperfmon.exe
|
|
%{_libdir}/mono-tools/mprof-decoder-library.dll*
|
|
%{_libdir}/mono-tools/mprof-decoder-library.dll*
|
|
@@ -119,10 +155,22 @@ monodoc --make-index
|
|
%{_mandir}/man1/mprof-heap-viewer*
|
|
%{_mandir}/man1/mprof-heap-viewer*
|
|
%{_mandir}/man1/create-native-map*
|
|
%{_mandir}/man1/create-native-map*
|
|
%{_mandir}/man1/gendarme*
|
|
%{_mandir}/man1/gendarme*
|
|
-%{_mandir}/man5/gendarme.5.gz
|
|
|
|
|
|
+
|
|
|
|
+%files doc
|
|
|
|
+%defattr(-,root,root,-)
|
|
|
|
+%{_libdir}/monodoc/sources/Gendarme*
|
|
|
|
+%{_libdir}/monodoc/sources/gendarme*
|
|
|
|
+%dir %{_libdir}/monodoc/web
|
|
|
|
+%{_libdir}/monodoc/web/*
|
|
|
|
+%{_mandir}/man5/gendarme*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Sat Mar 28 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 3.10-1
|
|
|
|
+- update to 3.10
|
|
|
|
+- added Patch70, 71 and 72 to build with mono 3.12.1
|
|
|
|
+- split document into doc subpackage
|
|
|
|
+
|
|
* Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.10-2
|
|
* Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.10-2
|
|
- rebuild with VineSeed environment
|
|
- rebuild with VineSeed environment
|
|
- add BuildRequires: gnome-sharp2, gconf-sharp2, gnome-print-sharp, gtkhtml314-sharp, gecko-sharp2, webkit-sharp-devel, libgdiplus-devel
|
|
- add BuildRequires: gnome-sharp2, gconf-sharp2, gnome-print-sharp, gtkhtml314-sharp, gecko-sharp2, webkit-sharp-devel, libgdiplus-devel
|