%define name monodevelop %define version 0.6 %define svn 1949 %define release 3mdk %define gtksharp 1.9.2 %define gtksourceview 0.7 %define gecko 0.7 %define monodoc 1.0 Summary: Full-featured IDE for mono and Gtk# Name: %{name} Version: %{version} Release: %{release} Source: http://go-mono.com/archive/1.1.5/%{name}-%{version}.tar.bz2 URL: http://www.monodevelop.com/ License: GPL Group: Development/Other Requires: gecko-sharp2 >= %gecko Requires: gtksourceview-sharp >= %gtksourceview Requires: gnome-sharp2 >= %gtksharp Requires: glade-sharp2 >= %gtksharp Requires: monodoc >= %monodoc Requires: shared-mime-info Requires: xterm Requires: libgtksourceview %if %mdkversion > 1000 BuildRequires: libtool >= 1.5 %endif BuildRequires: gecko-sharp2 >= %gecko BuildRequires: gtksourceview-sharp >= %gtksourceview BuildRequires: gnome-sharp2 >= %gtksharp BuildRequires: glade-sharp2 >= %gtksharp BuildRequires: monodoc >= %monodoc BuildRequires: gnome-vfs2-devel BuildRequires: perl-XML-Parser BuildRequires: ImageMagick BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot %description This is MonoDevelop which is intended to be a full-featured integrated development environment (IDE) for mono and Gtk#. It was originally a port of SharpDevelop 0.98. %prep %setup -q %build %if %mdkversion <= 1000 %define __libtoolize true %endif %configure2_5x make %install rm -rf $RPM_BUILD_ROOT mkdir -p %{buildroot}/`monodoc --get-sourcesdir` %makeinstall_std UPDATE_MIME_DB="#" # menu mkdir -p %{buildroot}/%{_menudir} cat > %{buildroot}/%{_menudir}/%{name} <<EOF ?package(%{name}): \ command="%{_bindir}/monodevelop" \ title="MonoDevelop" \ longtitle="Full-featured IDE for mono and Gtk#" \ %if %mdkversion <= 1000 section="More applications/Development/Development environments" \ %else section="More Applications/Development/Development Environments" \ %endif needs="x11" \ icon="monodevelop.png" \ startup_notify="yes" EOF #icons mkdir -p %buildroot{%_liconsdir,%_iconsdir,%_miconsdir} ln -s %_datadir/pixmaps/%name.png %buildroot%_liconsdir/ convert -scale 32x32 %name.png %buildroot%_iconsdir/%name.png convert -scale 16x16 %name.png %buildroot%_miconsdir/%name.png %find_lang %name %post update-mime-database %{_datadir}/mime %update_menus %postun update-mime-database %{_datadir}/mime %clean_menus %files -f %name.lang %defattr(-,root,root) %doc AUTHORS ChangeLog README %{_bindir}/monodevelop %{_menudir}/%{name} %{_libdir}/monodevelop/ %{_datadir}/applications/monodevelop.desktop %{_datadir}/mime/packages/monodevelop.xml %{_datadir}/pixmaps/monodevelop.png %_liconsdir/%name.png %_iconsdir/%name.png %_miconsdir/%name.png %clean rm -rf $RPM_BUILD_ROOT %changelog * Fri Apr 1 2005 Emmanuel Blindauer <mdk@agat.net> 0.6-3mdk - Add requires on libgtksourceview (fix crash) * Wed Mar 30 2005 Götz Waschk <waschk@linux-mandrake.com> 0.6-2mdk - fix buildrequires * Wed Mar 30 2005 Götz Waschk <waschk@linux-mandrake.com> 0.6-1mdk - drop the patch - bump deps - New release 0.6 * Fri Sep 24 2004 Götz Waschk <waschk@linux-mandrake.com> 0.5.1-1mdk - spec fixes - 0.5.1 final * Mon Sep 13 2004 Götz Waschk <waschk@linux-mandrake.com> 0.5.1-0.1949.1mdk - fix menu - update to snapshot * Mon Aug 9 2004 Götz Waschk <waschk@linux-mandrake.com> 0.5-3mdk - requires xterm * Wed Jul 28 2004 Götz Waschk <waschk@linux-mandrake.com> 0.5-2mdk - rebuild for new rpm * Thu Jul 1 2004 Götz Waschk <waschk@linux-mandrake.com> 0.5-1mdk - bump deps - new version * Fri Jun 25 2004 Götz Waschk <waschk@linux-mandrake.com> 0.4-4mdk - add scaled icons - fix deps again * Fri Jun 25 2004 Götz Waschk <waschk@linux-mandrake.com> 0.4-3mdk - drop packager tag - another buildrequires fix * Thu Jun 3 2004 Sandino "Tigrux" Flores <tigrux@ximian.com> 0.4-2mdk - Added menu scripts to %%post and %%postun - Own only files it owns - Use %%configure2_5x instead of %%configure * Thu Jun 3 2004 Sandino "Tigrux" Flores <tigrux@ximian.com> 0.4-1mdk - First rpm for mandrake