packages: ejabberd/ejabberd.spec - include the pgsql module - Release: 2
jajcus
jajcus at pld-linux.org
Tue Apr 26 11:02:00 CEST 2011
Author: jajcus Date: Tue Apr 26 09:02:00 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- include the pgsql module
- Release: 2
---- Files affected:
packages/ejabberd:
ejabberd.spec (1.67 -> 1.68)
---- Diffs:
================================================================
Index: packages/ejabberd/ejabberd.spec
diff -u packages/ejabberd/ejabberd.spec:1.67 packages/ejabberd/ejabberd.spec:1.68
--- packages/ejabberd/ejabberd.spec:1.67 Wed Feb 2 18:29:01 2011
+++ packages/ejabberd/ejabberd.spec Tue Apr 26 11:01:55 2011
@@ -7,11 +7,13 @@
%define realname ejabberd
+%define pgsql_module_rev 1105
+
Summary: Fault-tolerant distributed Jabber/XMPP server
Summary(pl.UTF-8): Odporny na awarie rozproszony serwer Jabbera/XMPP
Name: %{realname}
Version: 2.1.6
-Release: 1
+Release: 2
License: GPL
Group: Applications/Communications
Source0: http://www.process-one.net/downloads/ejabberd/%{version}/%{realname}-%{version}.tar.gz
@@ -21,6 +23,9 @@
Source3: %{realname}.sh
Source4: %{realname}ctl.sh
Source5: %{realname}-inetrc
+# svn export -r %{pgsql_module_rev} https://svn.process-one.net/ejabberd-modules/pgsql/trunk/src ejabberd-module-pgsql-%{pgsql_module_rev}
+Source6: ejabberd-module-pgsql-%{pgsql_module_rev}.tar.bz2
+# Source6-md5: 7a8ba920a508f5180284699610789c14
Patch0: %{realname}-makefile.patch
Patch1: %{realname}-config.patch
Patch2: %{realname}-mod_muc.patch
@@ -65,7 +70,7 @@
Server-side logging module.
%prep
-%setup -q
+%setup -q -a 6
%patch0 -p1
%patch1 -p1
%patch2 -p1
@@ -85,6 +90,11 @@
--enable-odbc
%{__make} -j1
cd ..
+cd ejabberd-module-pgsql-%{pgsql_module_rev}
+for f in *.erl ; do
+ erlc $f
+done
+cd ..
%install
rm -rf $RPM_BUILD_ROOT
@@ -103,6 +113,12 @@
chmod 755 $RPM_BUILD_ROOT%{_libdir}/ejabberd/priv/lib/*.so
+cd ejabberd-module-pgsql-%{pgsql_module_rev}
+for f in *.beam ; do
+ install $f $RPM_BUILD_ROOT%{_libdir}/ejabberd/ebin
+done
+cd ..
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -157,6 +173,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.68 2011/04/26 09:01:55 jajcus
+- include the pgsql module
+- Release: 2
+
Revision 1.67 2011/02/02 17:29:01 sparky
- BR: automake
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/ejabberd/ejabberd.spec?r1=1.67&r2=1.68&f=u
More information about the pld-cvs-commit
mailing list