SPECS: ejabberd-mysql.spec (NEW) - init

shadzik shadzik at pld-linux.org
Wed Sep 26 16:21:48 CEST 2007


Author: shadzik                      Date: Wed Sep 26 14:21:48 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- init

---- Files affected:
SPECS:
   ejabberd-mysql.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/ejabberd-mysql.spec
diff -u /dev/null SPECS/ejabberd-mysql.spec:1.1
--- /dev/null	Wed Sep 26 16:21:48 2007
+++ SPECS/ejabberd-mysql.spec	Wed Sep 26 16:21:43 2007
@@ -0,0 +1,54 @@
+# $Revision$, $Date$
+
+%define		_snap	20070926r390
+
+Summary:	Ejabberds native MySQL drivers
+Summary(pl.UTF-8):	Natywne sterowniki do MySQL dla ejabberda
+Name:		ejabberd-mysql
+Version:	0
+Release:	0.%{_snap}.1
+License:	GPL
+Group:		Applications/Communications
+Source0:	%{name}.tar.gz
+# Source0-md5:	3f3b5c59ebb5a807ec2d6c5ec31e795b
+URL:		http://ejabberd.jabber.ru/
+BuildRequires:	erlang >= R9C
+BuildRequires:	rpmbuild(macros) >= 1.268
+Requires:	ejabberd
+Requires:	rc-scripts
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Ejabberds native MySQL drivers.
+
+%description -l pl.UTF-8
+Natywne sterowniki do MySQL dla ejabberda.
+
+%prep
+%setup -q -n %{name}
+
+%build
+erlc mysql*.erl
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_libdir}/ejabberd/ebin
+
+install *.beam $RPM_BUILD_ROOT%{_libdir}/ejabberd/ebin
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%{_libdir}/ejabberd/ebin/mysql*.beam
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2007/09/26 14:21:43  shadzik
+- init
+
================================================================


More information about the pld-cvs-commit mailing list