SPECS: pidgin.spec - dotnet needs /proc - cosmetics

glen glen at pld-linux.org
Wed Oct 17 13:51:27 CEST 2007


Author: glen                         Date: Wed Oct 17 11:51:27 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- dotnet needs /proc
- cosmetics

---- Files affected:
SPECS:
   pidgin.spec (1.195 -> 1.196) 

---- Diffs:

================================================================
Index: SPECS/pidgin.spec
diff -u SPECS/pidgin.spec:1.195 SPECS/pidgin.spec:1.196
--- SPECS/pidgin.spec:1.195	Wed Oct 17 12:57:01 2007
+++ SPECS/pidgin.spec	Wed Oct 17 13:51:22 2007
@@ -212,12 +212,6 @@
 %description doc -l pl.UTF-8
 Dokumentacja Pidgina dla programistów (format HTML).
 
-%triggerpostun -- gaim < 1:1.3.1-1.10
-%banner -e %{name} <<EOF
-The Ximian Evolution and pidgin-remote plugins have been separated to separate packages.
-If you need then please install %{name}-plugin-evolution and %{name}-plugin-remote
-EOF
-
 %prep
 %setup -q
 %patch0 -p1
@@ -226,6 +220,13 @@
 %patch3 -p1
 
 %build
+%if %{with dotnet}
+if [ ! -f /proc/cpuinfo ]; then
+	echo >&2 "Mono requires /proc to be mounted."
+	exit 1
+fi
+%endif
+
 %{__intltoolize}
 %{__libtoolize}
 %{__aclocal} -I m4macros
@@ -236,10 +237,10 @@
 	--disable-nas \
 	--enable-nss=no \
 	--with-perl-lib=vendor \
-%{!?with_silc:--with-silc-includes=not_existent_directory} \
+	%{!?with_silc:--with-silc-includes=not_existent_directory} \
 	--%{?with_cap:en}%{!?with_cap:dis}able-cap \
 	%{?with_sasl:--enable-cyrus-sasl} \
-%{?with_dbus:--enable-dbus --with-dbus-session-dir=%{_datadir}/dbus-1/services} \
+	%{?with_dbus:--enable-dbus --with-dbus-session-dir=%{_datadir}/dbus-1/services} \
 	%{!?with_dbus:--disable-dbus} \
 	%{!?with_evolution:--disable-gevolution} \
 	%{!?with_gtkspell:--disable-gtkspell} \
@@ -280,6 +281,12 @@
 %post	libs -p /sbin/ldconfig
 %postun	libs -p /sbin/ldconfig
 
+%triggerpostun -- gaim < 1:1.3.1-1.10
+%banner -e %{name} <<EOF
+The Ximian Evolution and pidgin-remote plugins have been separated to separate packages.
+If you need then please install %{name}-plugin-evolution and %{name}-plugin-remote
+EOF
+
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog{,.API} HACKING NEWS PLUGIN_HOWTO README*
@@ -448,6 +455,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.196  2007/10/17 11:51:22  glen
+- dotnet needs /proc
+- cosmetics
+
 Revision 1.195  2007/10/17 10:57:01  glen
 - adapter
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/pidgin.spec?r1=1.195&r2=1.196&f=u



More information about the pld-cvs-commit mailing list