mono-tools/mono-tools.spec

155 lines
4.8 KiB
RPMSpec
Raw Normal View History

Name: mono-tools
Version: 4.2
Release: 1mamba
Summary: Mono tools
Group: Graphical Desktop/Applications/Development
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.mono-project.com/Monodoc/
Source: http://download.mono-project.com/sources/mono-tools/mono-tools-%{version}.tar.gz
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-sharp2-devel
BuildRequires: mono-devel
## AUTOBUILDREQ-END
BuildRequires: mono >= 6.10.0.104
BuildRequires: nunit-devel
Requires: gnome-sharp
#Requires: gnome-desktop-sharp
Requires: mono
%description
Mono Tools is a collection of development and testing programs and utilities for use with Mono.
# FIXME (missing requirements):
# gecko-sharp
# webkit-sharp
%prep
%setup -q
#% patch0 -p1
#% patch1 -p1
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 \
--libdir=%{_prefix}/lib \
--disable-docs
make GMCS=dmcs
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%find_lang %{name}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -f %{name}.lang
%defattr(-,root,root)
%{_bindir}/emveepee
%{_bindir}/gsharp
%{_bindir}/create-native-map
%{_bindir}/gd2i
%{_bindir}/gasnview
%{_bindir}/gendarme
%{_bindir}/gendarme-wizard
#%{_bindir}/gnunit
#%{_bindir}/gnunit2
%{_bindir}/gui-compare
%{_bindir}/minvoke
%{_bindir}/monodoc
%{_bindir}/mperfmon
%{_bindir}/mprof-decoder
%{_bindir}/mprof-heap-viewer
%dir %{_prefix}/lib/create-native-map
%{_prefix}/lib/create-native-map/*
%dir %{_prefix}/lib/gendarme
%{_prefix}/lib/gendarme/*
%dir %{_prefix}/lib/gsharp
%{_prefix}/lib/gsharp/*
%dir %{_prefix}/lib/gui-compare
%{_prefix}/lib/gui-compare/*
%dir %{_prefix}/lib/minvoke
%{_prefix}/lib/minvoke/*
%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
%dir %{_prefix}/lib/monodoc
%{_prefix}/lib/monodoc/*
%dir %{_prefix}/lib/mperfmon
%{_prefix}/lib/mperfmon/*
%{_datadir}/applications/monodoc.desktop
%{_datadir}/applications/gendarme-wizard.desktop
%{_datadir}/applications/gsharp.desktop
%{_datadir}/icons/hicolor/*/apps/monodoc.png
#%{_datadir}/applications/mprof-heap-viewer.desktop
%{_datadir}/pixmaps/gendarme.svg
%{_datadir}/pixmaps/monodoc.png
%{_mandir}/man1/mprof-decoder.1*
%{_mandir}/man1/mprof-heap-viewer.1*
%{_mandir}/man1/create-native-map.1*
%{_mandir}/man1/gd2i.1*
%{_mandir}/man1/gendarme.1*
%{_mandir}/man1/mperfmon.1*
%{_mandir}/man5/gendarme.5*
%{_prefix}/lib/pkgconfig/create-native-map.pc
%{_prefix}/lib/pkgconfig/gendarme-framework.pc
%doc AUTHORS COPYING COPYING.LIB
%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
- update to 3.10
* Wed Apr 09 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 2.11-1mamba
- update to 2.11
* Sat Mar 26 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 2.10-1mamba
- update to 2.10
* Tue Jan 11 2011 Automatic Build System <autodist@mambasoft.it> 2.8-1mamba
- automatic update by autodist
* Wed Jun 02 2010 Automatic Build System <autodist@mambasoft.it> 2.6.2-1mamba
- automatic update by autodist
* Sat Jul 04 2009 Automatic Build System <autodist@mambasoft.it> 2.4.2-1mamba
- automatic update by autodist
* Wed Mar 25 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2-2mamba
- rebuilt with gnome-desktop-sharp requirementù
* Tue Jan 27 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2-1mamba
- update to 2.2
* Wed Jan 07 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0-1mamba
- update to 2.0
* Mon Sep 29 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.9-1mamba
- package created by autospec