%define debug_package %{nil}
Summary: A collection of tools for mono applications
Name: mono-tools
Version: 2.8
Release: 1%{?dist}
License: MIT
Group: Development/Tools
Source0: http://ftp.novell.com/pub/mono/sources/mono-tools/%{name}-%{version}.tar.bz2
URL: http://www.mono-project.com/Main_Page
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: mono-data, mono-devel >= 2.8, gtk-sharp2-gapi, pkgconfig mono-nunit
BuildRequires: gecko-sharp2-devel gnome-sharp-devel, gettext-devel
BuildRequires: gtk-sharp2-devel autoconf automake libtool mono-nunit-devel
BuildRequires: hunspell-devel desktop-file-utils gnome-desktop-sharp-devel
BuildRequires: mono-data-oracle monodoc-devel mono-web-devel
BuildRequires: webkit-sharp-devel desktop-file-utils
Requires: mono-core >= 2.8 links monodoc
Requires: mono(gtkhtml-sharp) >= 3.0
Requires: mono(webkit-sharp)
ExcludeArch: sparc64
%description
Monotools are a number of tools for mono such as allowing monodoc to be run
independantly of monodevelop
%package devel
Summary: .pc file for mono-tools
Group: Development/Languages
Requires: %{name} = %{version}-%{release} pkgconfig
%description devel
Development file for mono-tools
%package monodoc
Summary: Monodoc documentation
Group: Documentation
Requires: %{name} = %{version}-%{release} monodoc
%description monodoc
Documentation for monotools for use with monodoc
%prep
%setup -q
find . -name Makefile.in -or -name Makefile.am -or -name \*.pc.in \
-or -name \*.make -or -name \*.in \
| while read f ;
do
sed -i -e 's!@prefix@/lib!%{_libdir}!' "$f"
sed -i -e 's!$(prefix)/lib!%{_libdir}!' "$f"
sed -i -e 's!$prefix/lib!%{_libdir}!' "$f"
sed -i -e 's!${exec_prefix}/lib!%{_libdir}!' "$f"
sed -i -e 's!$libdir!%{_libdir}!' "$f" ;
done
autoreconf -f -i -s
chmod 644 COPYING
%build
%configure
make
# no smp flags - breaks the build
%install
%{__rm} -rf %{buildroot}
make DESTDIR=%{buildroot} install
desktop-file-install --vendor fedora \
--dir %{buildroot}%{_datadir}/applications \
--add-category Development \
--delete-original \
%{buildroot}%{_datadir}/applications/ilcontrast.desktop
desktop-file-install --vendor fedora \
--dir %{buildroot}%{_datadir}/applications \
--add-category Development \
--delete-original \
%{buildroot}%{_datadir}/applications/monodoc.desktop
%find_lang %{name}
%clean
%{__rm} -rf %{buildroot}
%post
update-mime-database %{_datadir}/mime &> /dev/null || :
update-desktop-database &> /dev/null || :
%postun
update-mime-database %{_datadir}/mime &> /dev/null || :
update-desktop-database &> /dev/null || :
%files -f %{name}.lang
%defattr(-, root, root,-)
%doc COPYING AUTHORS ChangeLog README
%{_bindir}/ilcontrast
%{_bindir}/create-native-map
%{_bindir}/gasnview
%{_bindir}/monodoc
%{_bindir}/gendarme*
%{_bindir}/mprof*
%{_bindir}/gsharp
%{_bindir}/mperfmon
%{_bindir}/gui-compare
%{_bindir}/emveepee
%{_bindir}/minvoke
%{_libdir}/gsharp/gsharp.exe*
%{_libdir}/gendarme/*.dll
%{_libdir}/gendarme/*.exe
%{_libdir}/gendarme/*.xml
%{_libdir}/create-native-map
%{_libdir}/mperfmon/*
%dir %{_libdir}/gui-compare
%{_libdir}/gui-compare/gui-compare.exe*
%{_libdir}/mono/1.0/gasnview.exe
%{_libdir}/monodoc/GeckoHtmlRender.dll
%{_libdir}/monodoc/GtkHtmlHtmlRender.dll
%{_libdir}/monodoc/WebKitHtmlRender.dll
%{_libdir}/monodoc/browser.exe
%{_libdir}/minvoke/minvoke.exe
%dir %{_libdir}/minvoke
%dir %{_libdir}/ilcontrast
%{_libdir}/ilcontrast/ilcontrast.exe
%dir %{_libdir}/mono-tools
%{_libdir}/mono-tools/mprof*
%{_libdir}/mono-tools/Mono.Profiler.Widgets*
%{_libdir}/mono-tools/emveepee.exe*
%{_mandir}/man1/mprof*
%{_mandir}/man1/create-native-map.1.gz
%{_datadir}/pixmaps/ilcontrast.png
%{_datadir}/pixmaps/monodoc.png
%{_datadir}/pixmaps/gendarme.svg
%{_datadir}/applications/*.desktop
%{_libdir}/monodoc/MonoWebBrowserHtmlRender.dll
%{_mandir}/man1/gendarme*
%{_mandir}/man1/mperfmon*
%{_datadir}/icons/hicolor/
%files devel
%defattr(-, root, root,-)
%{_libdir}/pkgconfig/*.pc
%files monodoc
%defattr(-,root,root,-)
%{_libdir}/monodoc/sources/Gendarme*
%{_libdir}/monodoc/sources/gendarme*
%dir %{_libdir}/monodoc/web
%{_libdir}/monodoc/web/*
%{_mandir}/man5/gendarme*
%changelog
* Sun Oct 03 2010 Paul F. Johnson <paul@all-the-johnsons.co.uk> - 2.8-1
- Bump to 2.8 preview 8
- Remove BR mono-jscript
* Wed Jun 23 2010 Christian Krause <chkr@fedoraproject.org> - 2.6.2-1
- Bump to the 2.6.2 release
- Cleanup spec file
* Wed Dec 23 2009 Paul F. Johnson <paul@all-the-johnsons.co.uk> - 2.6.1-1
- Bump to the 2.6.1 release
- Removed webkit patch
* Thu Nov 26 2009 Christian Krause <chkr@fedoraproject.org> - 2.6-3
- Fix monodoc crash when using WebKit html renderer (BZ 538555)
* Thu Nov 26 2009 Christian Krause <chkr@fedoraproject.org> - 2.6-2
- Restore version 2.6
- Re-apply Dennis Gilmore's sparc64 changes
* Sun Oct 04 2009 Paul F. Johnson <paul@all-the-johnsons.co.uk> 2.6-1
- Bump to 2.6
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.2-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Sun Jul 12 2009 Christian Krause <chkr@fedoraproject.org> - 2.4.2-4
- Add version to requirement of gtkhtml-sharp to distinguish between
gtk-sharp and gnome-desktop-sharp
* Sat Jul 11 2009 Christian Krause <chkr@fedoraproject.org> - 2.4.2-3
- Add mono(webkit-sharp) as run-time requirement since it is needed by the
webkit engine of monodoc (BZ 478650)
- More minor spec file beautifications to fix rpmlint warnings
* Sat Jul 11 2009 Christian Krause <chkr@fedoraproject.org> - 2.4.2-2
- Add BR webkit-sharp-devel to build the webkit engine for monodoc (BZ 478650)
- Add mono(gtkhtml-sharp) as run-time requirement since it is needed by the
gtkhtml engine of monodoc (BZ 478650)
- Minor spec file beautification to fix some rpmlint warnings
* Sun Jun 09 2009 Paul F. Johnson <paul@all-the-johnsons.co.uk> - 2.4.2-1
- Bump to 2.4.2 preview 1
- Add support for ppc and ppc64
* Mon Apr 06 2009 Paul F. Johnson <paul@all-the-johnsons.co.uk> - 2.4-8.1
- remove ppc
* Thu Mar 26 2009 Paul F. Johnson <paul@all-the-johnsons.co.uk> - 2.4-8
- Full 2.4 release
* Wed Mar 18 2009 Paul F. Johnson <paul@all-the-johnsons.co.uk> - 2.4-7.RC3
- bump to RC3
* Thu Mar 12 2009 Paul F. Johnson <paul@all-the-johnsons.co.uk> - 2.4-6.RC2
- bump to RC2
- Add BR mono-web-devel
* Fri Feb 27 2009 Paul F. Johnson <paul@all-the-johnsons.co.uk> - 2.4-5.RC1
- bump to RC1
- Fix libdir problem for monodoc
* Fri Feb 20 2009 Paul F. Johnson <paul@all-the-johnsons.co.uk> - 2.4-4.20092002svn127416
- update from svn
- tagged as preview 3 release
* Tue Feb 10 2009 Paul F. Johnson <paul@all-the-johnsons.co.uk> - 2.4-3.20091002svn126075
- update from svn
* Mon Feb 02 2009 Paul F. Johnson <paul@all-the-johnsons.co.uk> -.2.4-3.20090202svn125131
- update from svn
- retagged for pre-release 1
- removed guicompare.dlls
* Sat Jan 24 2009 Paul F. Johnson <paul@all-the-johnsons.co.uk> -.2.4-2.20090124svn124416
- update from svn
- altered BRs and Rs to use mono-2.4
* Fri Jan 16 2009 Paul F. Johnson <paul@all-the-johnsons.co.uk> - 2.4-1.20091601svn123182
- Move to 2.4 svn branch
* Sun Jan 11 2009 Paul F. Johnson <paul@all-the-johnsons.co.uk> -.2.2-10.RC2.20090111svn122974
- update from svn
- bump to RC2
* Sun Jan 04 2009 Paul F. Johnson <paul@all-the-johnsons.co.uk> -.2.2-9.RC1.20090104svn122377
- update from svn
* Tue Dec 30 2008 Paul F. Johnson <paul@all-the-johnsons.co.uk> -.2.2-9.RC1.20081230svn122166
- update from svn
* Wed Dec 24 2008 Paul F. Johnson <paul@all-the-johnsons.co.uk> -.2.2-9.RC1.20081224svn122098
- Bump to RC1 svn branch
* Fri Dec 19 2008 Paul F. Johnson <paul@all-the-johnsons.co.uk> - 2.2-8.pre3.20081219svn121827
- Update from svn
- Re-enable ppc build
* Mon Dec 15 2008 Paul F. Johnson <paul@all-the-johnsons.co.uk> - 2.2-3.pre3.20081215svn121681
- Bump to preview 3
- Updated to svn
* Mon Dec 15 2008 Paul F. Johnson <paul@all-the-johnsons.co.uk> - 2.2-7.pre2.20081215svn121502
- Updated to svn
* Sat Dec 06 2008 Paul F. Johnson <paul@all-the-johnsons.co.uk> - 2.2-6.pre2
- Bump to preview 2
- use sed to remove the patches
* Sat Nov 29 2008 Paul F. Johnson <paul@all-the-johnsons.co.uk> - 2.2-5.pre1.1
- Dropped the last patch and sedded it instead
* Sat Nov 29 2008 Paul F. Johnson <paul@all-the-johnsons.co.uk> - 2.2-5.pre1
- More patches. Crumbs - why can't these guys just use $(libdir)?
* Sat Nov 29 2008 Paul F. Johnson <paul@all-the-johnsons.co.uk> - 2.2-4.pre1
- More patches
* Sat Nov 29 2008 Paul F. Johnson <paul@all-the-johnsons.co.uk> - 2.2-3.pre1
- actually apply the configure patch helps...
* Wed Nov 26 2008 Paul F. Johnson <paul@all-the-johnsons.co.uk> - 2.2-2.pre1
- added configure patch
* Thu Nov 20 2008 Paul F. Johnson <paul@all-the-johnsons.co.uk> - 2.2-1.pre1
- bump to 2.2 preview 1
- fix patch files
- branch off monodoc documentation
* Wed Oct 03 2008 Paul F. Johnson <paul@all-the-johnsons.co.uk> - 2.0-7
- bump to rc3
* Wed Oct 01 2008 Paul F. Johnson <paul@all-the-johnsons.co.uk> - 2.0-6
- bump to rc3
* Tue Sep 09 2008 Paul F. Johnson <paul@all-the-johnsons.co.uk> - 2.0-5
- bump to 2.0 RC 1
- spec file chanages
* Fri Aug 29 2008 Paul F. Johnson <paul@all-the-johnsons.co.uk> - 2.0-4
- additional BRs included
* Thu Aug 28 2008 Michael Schwendt <mschwendt@fedoraproject.org> - 2.0-3
- include unowned directories
* Fri Aug 15 2008 Paul F. Johnson <paul@all-the-johnsons.co.uk> 2.0-2
- reworked the patchfiles
- removed monodir (not used)
- spec file fix
* Sun Aug 03 2008 Paul F. Johnson <paul@all-the-johnsons.co.uk> 2.0-1
- bump to 2.0 preview 1
- spec file fixes
* Tue Jul 08 2008 Paul F. Johnson <paul@all-the-johnsons.co.uk> 1.9-4
- added br gnome-desktop-sharp
- fix for archs
* Mon Jul 07 2008 Paul F. Johnson <paul@all-the-johnsons.co.uk> 1.9-3.1
- rebuild
* Tue Jun 03 2008 Paul F. Johnson <paul@all-the-johnsons.co.uk> 1.9-3
- added BR desktop-file-utils
* Tue May 06 2008 Paul F. Johnson <paul@all-the-johnsons.co.uk> 1.9-2.1
- rebuild
* Wed Apr 30 2008 Paul F. Johnson <paul@all-the-johnsons.co.uk> 1.9-2
- added hunspell-devel
* Mon Apr 21 2008 Paul F. Johnson <paul@all-the-johnsons.co.uk> 1.9-1
- bump
* Mon Jan 14 2008 Paul F. Johnson <paul@all-the-johnsons.co.uk> 1.2.6-3
- spec file fixes
- excludearch ppc64
* Fri Jan 04 2008 Paul F. Johnson <paul@all-the-johnsons.co.uk> 1.2.6-2
- license fix
* Fri Jan 04 2008 Paul F. Johnson <paul@all-the-johnsons.co.uk> 1.2.6-1
- bump
- spec file fixes
- removed support for under FC7
* Fri Feb 23 2007 Paul F. Johnson <paul@all-the-johnsons.co.uk> 1.2.3-2
- fix for mock
* Thu Feb 15 2007 Paul F. Johnson <paul@all-the-johnsons.co.uk> 1.2.3-1
- bump
- a couple of small spec file fixes
- disabled installing the gnunit apps as theyre broken currently
* Sun Jan 28 2007 Paul F. Johnson <paul@all-the-johnsons.co.uk> 1.2.1-4
- added gettext-devel for findlangs to work
* Thu Jan 18 2007 Paul F. Johnson <paul@all-the-johnsons.co.uk> 1.2.1-3
- added gecko-sharp2-devel and gnome-sharp-devel
* Fri Dec 01 2006 Paul F. Johnson <paul@all-the-johnsons.co.uk> 1.2.1-2
- various spec file changes
- rename spec and package to be mono-tools
* Sat Nov 25 2006 Paul F. Johnson <paul@all-the-johnsons.co.uk> 1.2.1-1
- bump
- added addition files and devel subpackage
* Sat Oct 14 2006 Paul F. Johnson <paul@all-the-johnsons.co.uk> 1.1.17-1
- bump
* Thu Sep 07 2006 Paul F. Johnson <paul@all-the-johnsons.co.uk> 1.1.11-1
- Initial import, debug and the likes