|
@@ -1,54 +1,93 @@
|
|
-%define mono_dir %(/usr/bin/monodir)
|
|
+Summary: A Full-Featured IDE for Mono and Gtk#
|
|
-Summary: A Full-Featured IDE for Mono and Gtk#
|
|
+Summary(ja): Gtk# 版 Mono 統合開発環境
|
|
-Summary(ja): Gtk# 版 Mono 統合開発環境
|
|
+Name: monodevelop
|
|
-Name: monodevelop
|
|
+Version: 5.9
|
|
-Version: 2.4.2
|
|
+Release: 1%{?_dist_release}
|
|
-Release: 2%{?_dist_release}
|
|
+License: LGPLv2.1 and MIT
|
|
-License: LGPL2.1
|
|
+Group: Applications/Development
|
|
-Group: Applications/Development
|
|
+URL: http://www.monodevelop.org/
|
|
-BuildArch: noarch
|
|
+
|
|
-URL: http://www.monodevelop.org/
|
|
+Source0: http://download.mono-project.com/sources/%{name}/%{name}-%{version}.0.431.tar.bz2
|
|
-Source: http://ftp.novell.com/pub/mono/sources/%{name}/%{name}-%{version}.tar.bz2
|
|
+Patch0: downgrade_to_mvc3.patch
|
|
-BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
+
|
|
-Requires: mono-core >= 2.6.1
|
|
+# Vine patch(es)
|
|
-Requires: monodoc >= 2.6.1
|
|
+Patch70: monodevelop-5.9-exec.patch
|
|
-Requires: gtk-sharp2 >= 2.12.8
|
|
+
|
|
-Requires: gtksourceview-sharp2 >= 0.10
|
|
+BuildArch: noarch
|
|
-Requires: mono-addins
|
|
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
-Requires: mono-basic
|
|
+BuildRequires: gconf-sharp2-devel
|
|
-Requires: mono-web
|
|
+BuildRequires: gnome-sharp2-devel
|
|
-Requires: xsp
|
|
+BuildRequires: gnome-vfs-sharp2-devel
|
|
-Requires: pkgconfig
|
|
+BuildRequires: gtk-sharp2-devel
|
|
-PreReq: shared-mime-info
|
|
+BuildRequires: gtksourceview-sharp2-devel
|
|
-BuildRequires: mono-devel mono-basic mono-nunit monodoc
|
|
+BuildRequires: libgnomeui-devel
|
|
-BuildRequires: gconf-sharp2 gtk-sharp2-gapi gtksourceview-sharp2
|
|
+
|
|
-BuildRequires: xsp mono-addins
|
|
+BuildRequires: mono-addins-devel
|
|
-BuildRequires: intltool perl-XML-Parser shared-mime-info
|
|
+BuildRequires: mono-data
|
|
|
|
+BuildRequires: mono-devel
|
|
|
|
+BuildRequires: mono-mvc-devel
|
|
|
|
+BuildRequires: mono-nuget-devel
|
|
|
|
+BuildRequires: mono-wcf-devel
|
|
|
|
+BuildRequires: monodoc
|
|
|
|
+BuildRequires: nunit-devel
|
|
|
|
+
|
|
|
|
+BuildRequires: intltool perl-XML-Parser shared-mime-info
|
|
|
|
+BuildRequires: dos2unix shared-mime-info desktop-file-utils
|
|
|
|
+BuildRequires: git
|
|
|
|
+# Mono.Cecil.dll requires rsync after it's build
|
|
|
|
+BuildRequires: rsync
|
|
|
|
+
|
|
|
|
+Requires: mono-basic
|
|
|
|
+Requires: mono-web
|
|
|
|
+Requires: nunit
|
|
|
|
+Requires: xsp
|
|
|
|
+Requires: mono-devel
|
|
|
|
+Requires: mono-tools
|
|
|
|
+Requires: git
|
|
|
|
+Requires: pkgconfig
|
|
|
|
+Requires(post,postun): shared-mime-info
|
|
|
|
|
|
%description
|
|
%description
|
|
-MonoDevelop is intended to be a full-featured integrated development
|
|
+MonoDevelop is a full-featured integrated development
|
|
-environment (IDE) for mono and Gtk#. It was originally a port of
|
|
+environment (IDE) for Mono and Gtk# primarily designed
|
|
-SharpDevelop 0.98. See http://monodevelop.com/ for more information.
|
|
+for C-Sharp and other .NET languages. It allows to quickly
|
|
|
|
+create desktop and ASP.NET Web applications. Support
|
|
|
|
+for Visual Studio file formats eases porting to Linux.
|
|
|
|
|
|
%description -l ja
|
|
%description -l ja
|
|
-MonoDevelop は mono と Gtk# のすべての機能を取り込んだ統合 IDE 環境を
|
|
+MonoDevelop は主として C# やその他の .NET 言語向けの、mono 及び Gtk# の
|
|
-提供しようと考えてます。元は SharpDevelop 0.98 です。
|
|
+すべての機能を取り込んだ統合 IDE 環境です.デスクトップアプリケーション及び
|
|
-より詳しい説明は http://monodevelop.com/ をご覧ください。
|
|
+ASP.NET ウェブアプリケーションを迅速に作成することができます.Visual Studio
|
|
|
|
+形式のファイルをサポートしており、Linux へのポーティングを簡易にします.
|
|
|
|
|
|
|
|
+%package devel
|
|
|
|
+Summary: Development files for MonoDevelop
|
|
|
|
+Summary(ja): MonoDevelop の開発用ファイル
|
|
|
|
+Group: Development/Libraries
|
|
|
|
+Requires: monodevelop = %{version}-%{release}
|
|
|
|
+
|
|
|
|
+%description devel
|
|
|
|
+This package contains development files for the IDE and plugins.
|
|
|
|
|
|
%prep
|
|
%prep
|
|
%setup -q
|
|
%setup -q
|
|
-
|
|
+%patch0 -p1
|
|
|
|
+%patch70 -p1
|
|
|
|
|
|
%build
|
|
%build
|
|
export MONO_SHARED_DIR=%{_builddir}/%{?buildsubdir}
|
|
export MONO_SHARED_DIR=%{_builddir}/%{?buildsubdir}
|
|
-./configure \
|
|
+%configure \
|
|
- --prefix=%{_prefix} \
|
|
+ --libdir=%{_prefix}/lib \
|
|
- --enable-subversion \
|
|
|
|
- --enable-monoextensions \
|
|
|
|
- --enable-aspnet \
|
|
|
|
--disable-update-mimedb \
|
|
--disable-update-mimedb \
|
|
--disable-update-desktopdb
|
|
--disable-update-desktopdb
|
|
|
|
+
|
|
|
|
+#./configure \
|
|
|
|
+# --prefix=%{_prefix} \
|
|
|
|
+# --enable-subversion \
|
|
|
|
+# --enable-monoextensions \
|
|
|
|
+# --enable-aspnet \
|
|
|
|
+# --disable-update-mimedb \
|
|
|
|
+# --disable-update-desktopdb
|
|
make
|
|
make
|
|
|
|
|
|
|
|
|
|
@@ -56,11 +95,21 @@ make
|
|
rm -rf $RPM_BUILD_ROOT
|
|
rm -rf $RPM_BUILD_ROOT
|
|
export MONO_SHARED_DIR=%{_builddir}/%{?buildsubdir}
|
|
export MONO_SHARED_DIR=%{_builddir}/%{?buildsubdir}
|
|
make install DESTDIR=$RPM_BUILD_ROOT \
|
|
make install DESTDIR=$RPM_BUILD_ROOT \
|
|
- GACUTIL_FLAGS="/package monodevelop /root ${RPM_BUILD_ROOT}%{_libdif}"
|
|
+ GACUTIL_FLAGS="/package monodevelop /root ${RPM_BUILD_ROOT}%{_prefix}/lib"
|
|
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/pkgconfig
|
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/pkgconfig
|
|
mv $RPM_BUILD_ROOT%{_prefix}/lib/pkgconfig/* $RPM_BUILD_ROOT%{_datadir}/pkgconfig
|
|
mv $RPM_BUILD_ROOT%{_prefix}/lib/pkgconfig/* $RPM_BUILD_ROOT%{_datadir}/pkgconfig
|
|
|
|
|
|
|
|
+cp -a %{_prefix}/lib/mono/nuget/NuGet.Core.dll $RPM_BUILD_ROOT%{_prefix}/lib/monodevelop/AddIns/MonoDevelop.PackageManagement/
|
|
|
|
+cp -a %{_prefix}/lib/mono/nuget/Microsoft.Web.XmlTransform.dll $RPM_BUILD_ROOT%{_prefix}/lib/monodevelop/AddIns/MonoDevelop.PackageManagement/
|
|
|
|
+
|
|
|
|
+ln -s %{_prefix}/lib/mono/nunit/nunit.core.dll $RPM_BUILD_ROOT%{_prefix}/lib/monodevelop/AddIns/NUnit/
|
|
|
|
+ln -s %{_prefix}/lib/mono/nunit/nunit.core.interfaces.dll $RPM_BUILD_ROOT%{_prefix}/lib/monodevelop/AddIns/NUnit/
|
|
|
|
+ln -s %{_prefix}/lib/mono/nunit/nunit.framework.dll $RPM_BUILD_ROOT%{_prefix}/lib/monodevelop/AddIns/NUnit/
|
|
|
|
+ln -s %{_prefix}/lib/mono/nunit/nunit.util.dll $RPM_BUILD_ROOT%{_prefix}/lib/monodevelop/AddIns/NUnit/
|
|
|
|
+
|
|
|
|
+rm -rf $RPM_BUILD_ROOT%{_prefix}/lib/monodevelop/locale
|
|
|
|
+
|
|
%find_lang %{name}
|
|
%find_lang %{name}
|
|
|
|
|
|
|
|
|
|
@@ -69,28 +118,47 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
%post
|
|
%post
|
|
-update-mime-database /usr/share/mime >/dev/null || :
|
|
+touch --no-create %{_datadir}/icons/hicolor || :
|
|
-
|
|
|
|
|
|
|
|
%postun
|
|
%postun
|
|
-update-mime-database /usr/share/mime >/dev/null || :
|
|
+if [ $1 -eq 0 ] ; then
|
|
|
|
+ touch --no-create %{_datadir}/icons/hicolor &>/dev/null
|
|
|
|
+ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
|
+ update-desktop-database -q &> /dev/null
|
|
|
|
+ update-mime-database %{_datadir}/mime &> /dev/null
|
|
|
|
+fi
|
|
|
|
+
|
|
|
|
+%posttrans
|
|
|
|
+gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
|
|
|
|
+update-desktop-database -q &> /dev/null
|
|
|
|
+update-mime-database %{_datadir}/mime &> /dev/null
|
|
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
%files -f %{name}.lang
|
|
%defattr(-,root,root)
|
|
%defattr(-,root,root)
|
|
|
|
+%doc AUTHORS ChangeLog COPYING README
|
|
%{_prefix}/bin/*
|
|
%{_prefix}/bin/*
|
|
%{_prefix}/lib/monodevelop
|
|
%{_prefix}/lib/monodevelop
|
|
%{_datadir}/applications/monodevelop.desktop
|
|
%{_datadir}/applications/monodevelop.desktop
|
|
%{_datadir}/mime/packages/monodevelop.xml
|
|
%{_datadir}/mime/packages/monodevelop.xml
|
|
%{_datadir}/icons/hicolor/*/apps/monodevelop.png
|
|
%{_datadir}/icons/hicolor/*/apps/monodevelop.png
|
|
%{_datadir}/icons/hicolor/scalable/apps/monodevelop.svg
|
|
%{_datadir}/icons/hicolor/scalable/apps/monodevelop.svg
|
|
-%{_datadir}/pkgconfig/monodevelop.pc
|
|
|
|
-%{_datadir}/pkgconfig/monodevelop-core-addins.pc
|
|
|
|
%{_mandir}/man1/mdtool.1.gz
|
|
%{_mandir}/man1/mdtool.1.gz
|
|
%{_mandir}/man1/monodevelop.1.gz
|
|
%{_mandir}/man1/monodevelop.1.gz
|
|
|
|
|
|
|
|
+%files devel
|
|
|
|
+%defattr(-,root,root)
|
|
|
|
+%{_datadir}/pkgconfig/monodevelop.pc
|
|
|
|
+%{_datadir}/pkgconfig/monodevelop-core-addins.pc
|
|
|
|
+
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Tue May 26 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 5.9-1
|
|
|
|
+- new upstream release
|
|
|
|
+- added Patch0 from OpenSUSE
|
|
|
|
+- added Patch70 for launching monodevelop
|
|
|
|
+- split pkgconfig file into devel subpackage
|
|
|
|
+
|
|
* Mon Apr 25 2011 Shu KONNO <owa@bg.wakwak.com> 2.4.2-2
|
|
* Mon Apr 25 2011 Shu KONNO <owa@bg.wakwak.com> 2.4.2-2
|
|
- rebuilt with mono-2.10.1-3
|
|
- rebuilt with mono-2.10.1-3
|
|
|
|
|