SPECS: monodevelop.spec - desktop patch is back, removed obsoleted...

freetz freetz at pld-linux.org
Wed Nov 30 20:57:19 CET 2005


Author: freetz                       Date: Wed Nov 30 19:57:19 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- desktop patch is back, removed obsoleted libdir patch, updated desktop/
  mime databases in post/postun, adapterized
- some binary (!) dlls are installed (from contrib), no idea what to do with
  that crap

---- Files affected:
SPECS:
   monodevelop.spec (1.26 -> 1.27) 

---- Diffs:

================================================================
Index: SPECS/monodevelop.spec
diff -u SPECS/monodevelop.spec:1.26 SPECS/monodevelop.spec:1.27
--- SPECS/monodevelop.spec:1.26	Thu Nov 24 09:05:29 2005
+++ SPECS/monodevelop.spec	Wed Nov 30 20:57:13 2005
@@ -7,20 +7,19 @@
 Release:	1
 License:	GPL
 Group:		Development/Tools
-Source0:	http://go-mono.com/sources/%{name}/%{name}-%{version}.tar.gz
+Source0:	http://go-mono.com/sources/monodevelop/%{name}-%{version}.tar.gz
 # Source0-md5:	c89d5458b0c3b29cd310ebee73b0e595
 Patch0:		%{name}-MOZILLA_FIVE_HOME.patch
 Patch1:		%{name}-locale_names.patch
-#Patch2:		%{name}-libdir.patch
-#Patch3:		%{name}-desktop.patch
-Patch4:		%{name}-install.patch
+Patch2:		%{name}-desktop.patch
+Patch3:		%{name}-install.patch
 URL:		http://www.monodevelop.com/
 BuildRequires:	ORBit2-devel >= 2.8.3
 BuildRequires:	autoconf
 BuildRequires:	automake >= 1:1.7
 BuildRequires:	dotnet-gecko-sharp2-devel >= 0.10
 BuildRequires:	dotnet-gtk-sharp2-devel >= 2.6.0
-BuildRequires:	dotnet-gtksourceview-sharp-devel >= 0.10
+BuildRequires:	dotnet-gtksourceview-sharp2-devel >= 0.10
 BuildRequires:	gettext-devel
 BuildRequires:	intltool
 BuildRequires:	libtool
@@ -32,59 +31,51 @@
 Requires:	mozilla-embedded
 Requires(post,postun):	shared-mime-info
 Obsoletes:	MonoDevelop
-ExcludeArch:	alpha
+ExcludeArch:	alpha i386 sparc sparc64
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 Mono IDE, in the very early stages of development right now, and
 progressing quickly. MonoDevelop has many features. Some of these
 include:
-- Class Management
-  MonoDevelop has a class viewer which allows you to list the classes
-  in your project, their methods, and properties. Your namespaces are
-  also kept track of to keep the classes separated. When you add
-  something to your project, it will automatically be added to the
-  class viewer, even if they're namespaces, classes, methods, or even
-  variables.
-- Code Completion
-  With the .NET and Gtk# frameworks put together, it can be
-  challenging to remember all the classes, methods, or properties that
-  are at your disposal. MonoDevelop's intelligent code completion
-  attempts to complete what you're typing. If it finds a match, just
-  hit tab and MonoDevelop will do the typing for you.
-- Project Support
-  MonoDevelop comes with built in projects that help get you started
-  with your console, Gnome# or Gtk# application.
+- Class Management MonoDevelop has a class viewer which allows you to
+  list the classes in your project, their methods, and properties. Your
+  namespaces are also kept track of to keep the classes separated. When
+  you add something to your project, it will automatically be added to
+  the class viewer, even if they're namespaces, classes, methods, or
+  even variables.
+- Code Completion With the .NET and Gtk# frameworks put together, it
+  can be challenging to remember all the classes, methods, or properties
+  that are at your disposal. MonoDevelop's intelligent code completion
+  attempts to complete what you're typing. If it finds a match, just hit
+  tab and MonoDevelop will do the typing for you.
+- Project Support MonoDevelop comes with built in projects that help
+  get you started with your console, Gnome# or Gtk# application.
 
 %description -l pl
 MonoDevelop to IDE (zintegrowane środowisko programisty) dla Mono we
 wczesnym, ale szybko postępującym stadium rozwoju. Ma wiele
 możliwości, a wśród nich:
-- zarządzanie klasami
-  MonoDevelop ma przeglądarkę klas pozwalającą wyświetlać klasy w
-  projekcie, ich metody oraz własności. Przestrzenie nazw są
-  uwzględniane, aby zachować separację klas. Przy dodawaniu czegoś do
-  projektu jest to automatycznie dodawane do przeglądarki klas, nawet
-  jeśli są to przestrzenie nazw, klasy, metody, a nawet zmienne.
-- dopełnianie kodu
-  Przy połączeniu szkieletów .NET i Gtk# pamiętanie samemu wszystkich
-  klas, metod i własności mogłoby być nie lada wyzwaniem. MonoDevelop
-  w sposób inteligentny próbuje dopełniać to, co się pisze. Jeśli
-  znajdzie dopasowanie, wystarczy nacisnąć tabulację, aby dokończył
-  pisać za nas.
-- obsługa projektów
-  MonoDevelop przychodzi z wbudowanymi projektami, pomagającymi zacząć
-  tworzyć aplikacje konsolowe, Gnome# albo Gtk#.
+- zarządzanie klasami MonoDevelop ma przeglądarkę klas pozwalającą
+  wyświetlać klasy w projekcie, ich metody oraz własności. Przestrzenie
+  nazw są uwzględniane, aby zachować separację klas. Przy dodawaniu
+  czegoś do projektu jest to automatycznie dodawane do przeglądarki
+  klas, nawet jeśli są to przestrzenie nazw, klasy, metody, a nawet
+  zmienne.
+- dopełnianie kodu Przy połączeniu szkieletów .NET i Gtk# pamiętanie
+  samemu wszystkich klas, metod i własności mogłoby być nie lada
+  wyzwaniem. MonoDevelop w sposób inteligentny próbuje dopełniać to, co
+  się pisze. Jeśli znajdzie dopasowanie, wystarczy nacisnąć tabulację,
+  aby dokończył pisać za nas.
+- obsługa projektów MonoDevelop przychodzi z wbudowanymi projektami,
+  pomagającymi zacząć tworzyć aplikacje konsolowe, Gnome# albo Gtk#.
 
 %prep
 %setup -q
 %patch0 -p1
 %patch1 -p1
-#%patch2 -p1
-#%patch3 -p1
-%patch4	-p1
-# ignore errors from it
-#sed -e 's/update-mime-database/-&/' -i Makefile.am
+%patch2 -p1
+%patch3 -p1
 
 mv po/ja{_JP,}.po
 
@@ -95,7 +86,9 @@
 %{__autoheader}
 %{__automake}
 %{__autoconf}
-%configure
+%configure \
+	--disable-update-mimedb \
+	--disable-update-desktopdb
 %{__make}
 
 %install
@@ -110,10 +103,16 @@
 rm -rf $RPM_BUILD_ROOT
 
 %post
-update-mime-database %{_datadir}/mime ||:
+umask 022
+update-mime-database %{_datadir}/mime >/dev/null 2>&1 ||:
+[ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1 ||:
 
 %postun
-update-mime-database %{_datadir}/mime
+if [ $1 = 0 ]; then
+    umask 022
+    update-mime-database %{_datadir}/mime >/dev/null 2>&1
+    [ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1
+fi
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
@@ -131,6 +130,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.27  2005/11/30 19:57:13  freetz
+- desktop patch is back, removed obsoleted libdir patch, updated desktop/
+  mime databases in post/postun, adapterized
+- some binary (!) dlls are installed (from contrib), no idea what to do with
+  that crap
+
 Revision 1.26  2005/11/24 08:05:29  pawcioos
 - updated to 0.9
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/monodevelop.spec?r1=1.26&r2=1.27&f=u




More information about the pld-cvs-commit mailing list