diff --git a/README.md b/README.md index 67894ee..f088d14 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # monodevelop +MonoDevelop is an IDE primarily designed for C# and other .NET languages. MonoDevelop enables developers to quickly write desktop and ASP.NET Web applications on Linux, Windows and Mac OSX. MonoDevelop makes it easy for developers to port .NET applications created with Visual Studio to Linux and to maintain a single code base for all platforms. + diff --git a/monodevelop-3.0.4.7-configure-disable-tests.patch b/monodevelop-3.0.4.7-configure-disable-tests.patch new file mode 100644 index 0000000..092fc42 --- /dev/null +++ b/monodevelop-3.0.4.7-configure-disable-tests.patch @@ -0,0 +1,22 @@ +--- monodevelop-3.0.4.7/configure.orig 2012-10-28 17:27:57.630342011 +0100 ++++ monodevelop-3.0.4.7/configure 2012-10-28 17:28:26.597060535 +0100 +@@ -4380,7 +4380,7 @@ + + echo PACKAGE_VERSION=$PACKAGE_VERSION > monodevelop_version + +-ac_config_files="$ac_config_files build/Makefile build/MacOSX/Makefile contrib/Makefile contrib/Mono.Debugger.Soft/Makefile contrib/NRefactory/Makefile contrib/ICSharpCode.NRefactory/Makefile contrib/ICSharpCode.NRefactory.CSharp/Makefile contrib/ICSharpCode.Decompiler/Makefile external/Makefile src/Makefile src/core/Makefile src/core/Mono.Texteditor/Makefile src/core/Mono.Debugging/Makefile src/core/MonoDevelop.Core/Makefile src/core/MonoDevelop.Projects.Formats.MSBuild/Makefile src/core/MonoDevelop.Ide/Makefile src/core/MonoDevelop.Ide/BuildVariables.cs src/core/MonoDevelop.Startup/Makefile src/tools/Makefile src/tools/mdhost/Makefile src/tools/mdtool/Makefile src/tools/SharpCoco/Makefile src/tools/mdmonitor/Makefile src/addins/Makefile src/addins/MonoDeveloperExtensions/Makefile src/addins/MonoDeveloperExtensions/NUnit/Makefile src/addins/NUnit/Makefile src/addins/NUnit/NUnitRunner/Makefile src/addins/VersionControl/MonoDevelop.VersionControl/Makefile src/addins/VersionControl/MonoDevelop.VersionControl.Subversion/Makefile src/addins/VersionControl/MonoDevelop.VersionControl.Subversion.Unix/Makefile src/addins/VersionControl/MonoDevelop.VersionControl.Git/Makefile src/addins/VersionControl/Makefile src/addins/CSharpBinding/Makefile src/addins/CSharpBinding/Autotools/Makefile src/addins/CSharpBinding/AspNet/Makefile src/addins/ILAsmBinding/Makefile src/addins/VBNetBinding/Makefile src/addins/prj2make-sharp-lib/Makefile src/addins/ChangeLogAddIn/Makefile src/addins/MonoDevelop.GtkCore/Makefile src/addins/MonoDevelop.GtkCore/libstetic/Makefile src/addins/MonoDevelop.GtkCore/libsteticui/Makefile src/addins/TextTemplating/Makefile src/addins/TextTemplating/Mono.TextTemplating/Makefile src/addins/TextTemplating/TextTransform/Makefile src/addins/TextTemplating/MonoDevelop.TextTemplating/Makefile src/addins/TextTemplating/Mono.TextTemplating.Tests/Makefile src/addins/AspNet/Makefile src/addins/AspNet/MonoDevelop.AspNet/Makefile src/addins/AspNet/MonoDevelop.AspNet.Mvc/Makefile src/addins/MonoDevelop.Autotools/Makefile src/addins/MonoDevelop.DesignerSupport/Makefile src/addins/MonoDevelop.WebReferences/Makefile src/addins/Deployment/Makefile src/addins/Deployment/MonoDevelop.Deployment/Makefile src/addins/Deployment/MonoDevelop.Deployment.Linux/Makefile src/addins/MonoDevelop.Gettext/Makefile src/addins/MonoDevelop.RegexToolkit/Makefile src/addins/CBinding/Makefile src/addins/GnomePlatform/Makefile src/addins/MacPlatform/Makefile src/addins/WindowsPlatform/Makefile src/addins/MonoDevelop.AssemblyBrowser/Makefile src/addins/MonoDevelop.SourceEditor2/Makefile src/addins/MonoDevelop.XmlEditor/Makefile src/addins/MonoDevelop.Refactoring/Makefile src/addins/MonoDevelop.Debugger/Makefile src/addins/MonoDevelop.Debugger.Soft/Makefile src/addins/MonoDevelop.Debugger.Soft/Mono.Debugging.Soft/Makefile src/addins/MonoDevelop.Debugger.Soft/MonoDevelop.Debugger.Soft/Makefile src/addins/MonoDevelop.Debugger.Soft/MonoDevelop.Debugger.Soft.AspNet/Makefile src/addins/MonoDevelop.HexEditor/Makefile src/addins/MonoDevelop.DocFood/Makefile src/addins/MonoDevelop.MacDev/Makefile tests/Makefile tests/UnitTests/Makefile tests/UserInterfaceTests/Makefile tests/MonoDevelop.MacDev.Tests/Makefile tests/MacPlatform.Tests/Makefile Makefile monodevelop mdtool monodevelop.pc monodevelop-core-addins.pc monodevelop-core-mac-addins.pc monodevelop.spec po/Makefile man/Makefile theme-icons/Makefile" ++ac_config_files="$ac_config_files build/Makefile build/MacOSX/Makefile contrib/Makefile contrib/Mono.Debugger.Soft/Makefile contrib/NRefactory/Makefile contrib/ICSharpCode.NRefactory/Makefile contrib/ICSharpCode.NRefactory.CSharp/Makefile contrib/ICSharpCode.Decompiler/Makefile external/Makefile src/Makefile src/core/Makefile src/core/Mono.Texteditor/Makefile src/core/Mono.Debugging/Makefile src/core/MonoDevelop.Core/Makefile src/core/MonoDevelop.Projects.Formats.MSBuild/Makefile src/core/MonoDevelop.Ide/Makefile src/core/MonoDevelop.Ide/BuildVariables.cs src/core/MonoDevelop.Startup/Makefile src/tools/Makefile src/tools/mdhost/Makefile src/tools/mdtool/Makefile src/tools/SharpCoco/Makefile src/tools/mdmonitor/Makefile src/addins/Makefile src/addins/MonoDeveloperExtensions/Makefile src/addins/MonoDeveloperExtensions/NUnit/Makefile src/addins/NUnit/Makefile src/addins/NUnit/NUnitRunner/Makefile src/addins/VersionControl/MonoDevelop.VersionControl/Makefile src/addins/VersionControl/MonoDevelop.VersionControl.Subversion/Makefile src/addins/VersionControl/MonoDevelop.VersionControl.Subversion.Unix/Makefile src/addins/VersionControl/MonoDevelop.VersionControl.Git/Makefile src/addins/VersionControl/Makefile src/addins/CSharpBinding/Makefile src/addins/CSharpBinding/Autotools/Makefile src/addins/CSharpBinding/AspNet/Makefile src/addins/ILAsmBinding/Makefile src/addins/VBNetBinding/Makefile src/addins/prj2make-sharp-lib/Makefile src/addins/ChangeLogAddIn/Makefile src/addins/MonoDevelop.GtkCore/Makefile src/addins/MonoDevelop.GtkCore/libstetic/Makefile src/addins/MonoDevelop.GtkCore/libsteticui/Makefile src/addins/TextTemplating/Makefile src/addins/TextTemplating/Mono.TextTemplating/Makefile src/addins/TextTemplating/TextTransform/Makefile src/addins/TextTemplating/MonoDevelop.TextTemplating/Makefile src/addins/TextTemplating/Mono.TextTemplating.Tests/Makefile src/addins/AspNet/Makefile src/addins/AspNet/MonoDevelop.AspNet/Makefile src/addins/AspNet/MonoDevelop.AspNet.Mvc/Makefile src/addins/MonoDevelop.Autotools/Makefile src/addins/MonoDevelop.DesignerSupport/Makefile src/addins/MonoDevelop.WebReferences/Makefile src/addins/Deployment/Makefile src/addins/Deployment/MonoDevelop.Deployment/Makefile src/addins/Deployment/MonoDevelop.Deployment.Linux/Makefile src/addins/MonoDevelop.Gettext/Makefile src/addins/MonoDevelop.RegexToolkit/Makefile src/addins/CBinding/Makefile src/addins/GnomePlatform/Makefile src/addins/MacPlatform/Makefile src/addins/WindowsPlatform/Makefile src/addins/MonoDevelop.AssemblyBrowser/Makefile src/addins/MonoDevelop.SourceEditor2/Makefile src/addins/MonoDevelop.XmlEditor/Makefile src/addins/MonoDevelop.Refactoring/Makefile src/addins/MonoDevelop.Debugger/Makefile src/addins/MonoDevelop.Debugger.Soft/Makefile src/addins/MonoDevelop.Debugger.Soft/Mono.Debugging.Soft/Makefile src/addins/MonoDevelop.Debugger.Soft/MonoDevelop.Debugger.Soft/Makefile src/addins/MonoDevelop.Debugger.Soft/MonoDevelop.Debugger.Soft.AspNet/Makefile src/addins/MonoDevelop.HexEditor/Makefile src/addins/MonoDevelop.DocFood/Makefile src/addins/MonoDevelop.MacDev/Makefile tests/Makefile Makefile monodevelop mdtool monodevelop.pc monodevelop-core-addins.pc monodevelop-core-mac-addins.pc monodevelop.spec po/Makefile man/Makefile theme-icons/Makefile" + + cat >confcache <<\_ACEOF + # This file is a shell script that caches the results of configure +@@ -5227,10 +5227,6 @@ + "src/addins/MonoDevelop.DocFood/Makefile") CONFIG_FILES="$CONFIG_FILES src/addins/MonoDevelop.DocFood/Makefile" ;; + "src/addins/MonoDevelop.MacDev/Makefile") CONFIG_FILES="$CONFIG_FILES src/addins/MonoDevelop.MacDev/Makefile" ;; + "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;; +- "tests/UnitTests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/UnitTests/Makefile" ;; +- "tests/UserInterfaceTests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/UserInterfaceTests/Makefile" ;; +- "tests/MonoDevelop.MacDev.Tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/MonoDevelop.MacDev.Tests/Makefile" ;; +- "tests/MacPlatform.Tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/MacPlatform.Tests/Makefile" ;; + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; + "monodevelop") CONFIG_FILES="$CONFIG_FILES monodevelop" ;; + "mdtool") CONFIG_FILES="$CONFIG_FILES mdtool" ;; diff --git a/monodevelop.spec b/monodevelop.spec new file mode 100644 index 0000000..10916f6 --- /dev/null +++ b/monodevelop.spec @@ -0,0 +1,139 @@ +Name: monodevelop +Version: 4.0.9 +Release: 1mamba +Summary: An IDE primarily designed for C-sharp and other .NET languages +Group: Graphical Desktop/Applications/Development +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://monodevelop.com/ +#Source: http://ftp.novell.com/pub/mono/sources/monodevelop/monodevelop-%{version}.tar.bz2 +Source: http://download.mono-project.com/sources/monodevelop/monodevelop-%{version}.tar.bz2 +Patch0: monodevelop-3.0.4.7-configure-disable-tests.patch +License: LGPL +## AUTOBUILDREQ-BEGIN +BuildRequires: gnome-sharp-devel +BuildRequires: gtk-sharp2-devel +BuildRequires: gtk-sharp-devel +BuildRequires: mono-core +BuildRequires: mono-data +BuildRequires: mono-devel +BuildRequires: mono-web +BuildRequires: mono-winforms +## AUTOBUILDREQ-END +BuildRequires: mono-addins +Requires: mono-core +Requires: mono-data +Requires: mono-web +Requires: mono-winforms +Requires: mono-addins +Requires: gnome-sharp +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +#Configuration summary +# +# * Installation prefix = /usr +# * C# compiler = /usr/bin/gmcs +# * Mono class library development extensions: yes +# * Version control providers: +# * Subversion (Unix): yes +# * Platform bindings: GNOME +# * Unit tests: no +# * Mozilla location: + +%description +MonoDevelop is an IDE primarily designed for C# and other .NET languages. MonoDevelop enables developers to quickly write desktop and ASP.NET Web applications on Linux, Windows and Mac OSX. MonoDevelop makes it easy for developers to port .NET applications created with Visual Studio to Linux and to maintain a single code base for all platforms. + +%prep +%setup -q +#-D -T +#%patch0 -p1 + +# FIX for: +#error: Failed dependencies: +# mono(System.Data.Entity) = 4.0.0.0 is needed by monodevelop-4.0.9-1mamba.i586 +# mono(System.Web.WebPages.Deployment) = 2.1.0.0 is needed by monodevelop-4.0.9-1mamba.i586 +%define __mono_requires %{_builddir}/monodevelop-%{version}/mono_requires.sh +cat > mono_requires.sh << _EOF +%{_prefix}/lib/rpm/mono-find-requires %{_builddir} %{buildroot} %{_libdir} | \ + grep -v "System.Data.Entity" | + grep -v "System.Web.WebPages.Deployment" +_EOF + +%define __mono_provides %{_builddir}/monodevelop-%{version}/mono_provides.sh +cat > mono_provides.sh << _EOF +%{_prefix}/lib/rpm/mono-find-provides %{_builddir} %{buildroot} %{_libdir} +_EOF + +chmod +x mono_requires.sh mono_provides.sh + + +%build +%configure \ + --disable-update-mimedb \ + --disable-update-desktopdb + +%make -j1 + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%find_lang %{name} + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post +%{_bindir}/update-mime-database %{_datadir}/mime 2>&1 > /dev/null +update-desktop-database &> /dev/null || : +exit 0 + +%postun +if [ "$1" -eq "0" ]; then + %{_bindir}/update-mime-database %{_datadir}/mime 2>&1 > /dev/null + update-desktop-database &> /dev/null || : +fi +exit 0 + +%files -f %{name}.lang +%defattr(-,root,root) +%{_bindir}/mdtool +%{_bindir}/monodevelop +%dir %{_libdir}/monodevelop +%{_libdir}/monodevelop/AddIns +%{_libdir}/monodevelop/bin +%{_libdir}/monodevelop/data +%dir %{_libdir}/monodevelop/locale +%dir %{_libdir}/monodevelop/locale/* +%dir %{_libdir}/monodevelop/locale/*/LC_MESSAGES +%{_libdir}/monodevelop/locale/*/LC_MESSAGES/monodevelop.mo +%{_datadir}/applications/monodevelop.desktop +%{_datadir}/icons/hicolor/*/apps/monodevelop.png +%{_datadir}/icons/hicolor/scalable/apps/monodevelop.svg +%{_datadir}/mime/packages/monodevelop.xml +%{_libdir}/pkgconfig/monodevelop-core-addins.pc +%{_libdir}/pkgconfig/monodevelop.pc +%{_mandir}/man1/mdtool.1* +%{_mandir}/man1/monodevelop.1* +%doc AUTHORS COPYING +#ChangeLog README + +%changelog +* Tue Jul 16 2013 Automatic Build System 4.0.9-1mamba +- automatic version update by autodist + +* Mon Feb 25 2013 Automatic Build System 4.0-1mamba +- automatic version update by autodist + +* Fri Jan 11 2013 Automatic Build System 3.1.1-1mamba +- automatic version update by autodist + +* Mon Aug 06 2012 Automatic Build System 3.0.3.5-1mamba +- update to 3.0.3.5 + +* Sun Jun 19 2011 Automatic Build System 2.5.91-1mamba +- automatic update by autodist + +* Mon Mar 28 2011 Silvan Calarco 2.4.2-1mamba +- package created by autospec