automatic version update by autodist [release 4.2-1mamba;Wed Mar 08 2023]

This commit is contained in:
Automatic Build System 2024-01-06 07:14:06 +01:00
parent 6f91df02e0
commit daa519d93c

View File

@ -1,32 +1,26 @@
Name: mono-tools Name: mono-tools
Version: 3.10 Version: 4.2
Release: 1mamba Release: 1mamba
Summary: Mono tools Summary: Mono tools
Group: Graphical Desktop/Applications/Development Group: Graphical Desktop/Applications/Development
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
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://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 Patch0: mono-tools-3.10-mono-4.2.patch
Patch1: mono-tools-3.10-upstream-create-native-map.patch Patch1: mono-tools-3.10-upstream-create-native-map.patch
License: GPL License: GPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: gnome-sharp-devel BuildRequires: gnome-sharp-devel
BuildRequires: gtk-sharp-devel
BuildRequires: gtk-sharp2-devel BuildRequires: gtk-sharp2-devel
BuildRequires: mono-core BuildRequires: mono-devel
BuildRequires: mono-web
BuildRequires: mono-winforms
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: mono-nunit BuildRequires: mono >= 6.10.0.104
BuildRequires: mono-extras BuildRequires: nunit-devel
Requires: gnome-sharp Requires: gnome-sharp
#Requires: gnome-desktop-sharp #Requires: gnome-desktop-sharp
Requires: mono-extras Requires: mono
Requires: mono-nunit
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
Mono Tools is a collection of development and testing programs and utilities for use with Mono. 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 %prep
%setup -q %setup -q
%patch0 -p1 #% patch0 -p1
%patch1 -p1 #% patch1 -p1
# workaround for make install mv configure.in configure.ac
touch webdoc/views/index.html sed -e 's/-warnaserror+//' -i gendarme/options.make # Fix build with newer mono
touch webdoc/views/images/dummy.gif
touch webdoc/skins/mono-external/dummy.js sed -i "s#mono-nunit#nunit#g" configure.ac
mkdir webdoc/plugins/iframe-plugins sed -i "s#mono-nunit#nunit#g" gendarme/rules/Test.Rules/Makefile.am
touch webdoc/plugins/iframe-plugins/dummy.css
touch webdoc/plugins/iframe-plugin/dummy.html # 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 %build
%configure %configure \
make GMCS=mcs || make GMCS=mcs --libdir=%{_prefix}/lib \
--disable-docs
make GMCS=dmcs
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -88,8 +92,8 @@ make GMCS=mcs || make GMCS=mcs
%{_prefix}/lib/gui-compare/* %{_prefix}/lib/gui-compare/*
%dir %{_prefix}/lib/minvoke %dir %{_prefix}/lib/minvoke
%{_prefix}/lib/minvoke/* %{_prefix}/lib/minvoke/*
%dir %{_libdir}/mono-tools %dir %{_prefix}/lib/mono-tools
%{_libdir}/mono-tools/* %{_prefix}/lib/mono-tools/*
%{_prefix}/lib/mono/1.0/gasnview.exe %{_prefix}/lib/mono/1.0/gasnview.exe
#%{_libdir}/mono/1.0/gnunit.exe #%{_libdir}/mono/1.0/gnunit.exe
#%{_libdir}/mono/2.0/gnunit2.exe #%{_libdir}/mono/2.0/gnunit2.exe
@ -116,6 +120,9 @@ make GMCS=mcs || make GMCS=mcs
%doc AUTHORS COPYING COPYING.LIB %doc AUTHORS COPYING COPYING.LIB
%changelog %changelog
* Wed Mar 08 2023 Automatic Build System <autodist@mambasoft.it> 4.2-1mamba
- automatic version update by autodist
* Sat Dec 26 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 3.10-1mamba * Sat Dec 26 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 3.10-1mamba
- update to 3.10 - update to 3.10
@ -145,10 +152,3 @@ make GMCS=mcs || make GMCS=mcs
* Mon Sep 29 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.9-1mamba * Mon Sep 29 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.9-1mamba
- package created by autospec - 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