From daa519d93c79ab1ff123c3af821dea1727d8f4d6 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 07:14:06 +0100 Subject: [PATCH] automatic version update by autodist [release 4.2-1mamba;Wed Mar 08 2023] --- mono-tools.spec | 64 ++++++++++++++++++++++++------------------------- 1 file changed, 32 insertions(+), 32 deletions(-) diff --git a/mono-tools.spec b/mono-tools.spec index a3f3fb4..d552742 100644 --- a/mono-tools.spec +++ b/mono-tools.spec @@ -1,32 +1,26 @@ Name: mono-tools -Version: 3.10 +Version: 4.2 Release: 1mamba Summary: Mono tools Group: Graphical Desktop/Applications/Development Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco -URL: http://www.mono-project.com/Monodoc +URL: https://www.mono-project.com/Monodoc/ Source: http://download.mono-project.com/sources/mono-tools/mono-tools-%{version}.tar.gz -#Source: http://ftp.novell.com/pub/mono/sources/mono-tools/mono-tools-%{version}.tar.bz2 Patch0: mono-tools-3.10-mono-4.2.patch Patch1: mono-tools-3.10-upstream-create-native-map.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: gnome-sharp-devel -BuildRequires: gtk-sharp-devel BuildRequires: gtk-sharp2-devel -BuildRequires: mono-core -BuildRequires: mono-web -BuildRequires: mono-winforms +BuildRequires: mono-devel ## AUTOBUILDREQ-END -BuildRequires: mono-nunit -BuildRequires: mono-extras +BuildRequires: mono >= 6.10.0.104 +BuildRequires: nunit-devel Requires: gnome-sharp #Requires: gnome-desktop-sharp -Requires: mono-extras -Requires: mono-nunit -BuildRoot: %{_tmppath}/%{name}-%{version}-root +Requires: mono %description Mono Tools is a collection of development and testing programs and utilities for use with Mono. @@ -37,20 +31,30 @@ Mono Tools is a collection of development and testing programs and utilities for %prep %setup -q -%patch0 -p1 -%patch1 -p1 +#% patch0 -p1 +#% patch1 -p1 -# workaround for make install -touch webdoc/views/index.html -touch webdoc/views/images/dummy.gif -touch webdoc/skins/mono-external/dummy.js -mkdir webdoc/plugins/iframe-plugins -touch webdoc/plugins/iframe-plugins/dummy.css -touch webdoc/plugins/iframe-plugin/dummy.html +mv configure.in configure.ac +sed -e 's/-warnaserror+//' -i gendarme/options.make # Fix build with newer mono + +sed -i "s#mono-nunit#nunit#g" configure.ac +sed -i "s#mono-nunit#nunit#g" gendarme/rules/Test.Rules/Makefile.am + +# disable mdoc because it is not built by Mono 6 and mcs anymore +find . -name "Makefile.in" -print -exec sed -i "s~mdoc assemble~mkdir -p doc/generated #mdoc assemble~g" {} \; +find . -name "Makefile.in" -print -exec sed -i "s~mdoc update~mkdir -p doc/generated #mdoc update~g" {} \; +find . -name "Makefile.in" -print -exec sed -i "s~install-framework_documentationDATA: ~install-framework_documentationDATA: \ninstall-framework_documentationDATADisabled: ~g" {} \; +find . -name "Makefile.in" -print -exec sed -i "s~install-rules_documentationDATA: ~install-rules_documentationDATA: \ninstall-rules_documentationDATADisabled: ~g" {} \; + +glib-gettextize --force +autoreconf -f -i %build -%configure -make GMCS=mcs || make GMCS=mcs +%configure \ + --libdir=%{_prefix}/lib \ + --disable-docs + +make GMCS=dmcs %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" @@ -88,8 +92,8 @@ make GMCS=mcs || make GMCS=mcs %{_prefix}/lib/gui-compare/* %dir %{_prefix}/lib/minvoke %{_prefix}/lib/minvoke/* -%dir %{_libdir}/mono-tools -%{_libdir}/mono-tools/* +%dir %{_prefix}/lib/mono-tools +%{_prefix}/lib/mono-tools/* %{_prefix}/lib/mono/1.0/gasnview.exe #%{_libdir}/mono/1.0/gnunit.exe #%{_libdir}/mono/2.0/gnunit2.exe @@ -116,6 +120,9 @@ make GMCS=mcs || make GMCS=mcs %doc AUTHORS COPYING COPYING.LIB %changelog +* Wed Mar 08 2023 Automatic Build System 4.2-1mamba +- automatic version update by autodist + * Sat Dec 26 2015 Silvan Calarco 3.10-1mamba - update to 3.10 @@ -145,10 +152,3 @@ make GMCS=mcs || make GMCS=mcs * Mon Sep 29 2008 Silvan Calarco 1.9-1mamba - package created by autospec - /usr/bin/gd2i - /usr/lib/gendarme/Gendarme.Rules.Gendarme.dll - /usr/lib/gendarme/Gendarme.Rules.Globalization.dll - /usr/lib/gendarme/Gendarme.Rules.Interoperability.Com.dll - /usr/lib/gendarme/Gendarme.Rules.NUnit.dll - /usr/lib/gendarme/gd2i.exe - /usr/share/man/man1/gd2i.1.gz