]> git.pld-linux.org Git - packages/ejabberd-mysql.git/commitdiff
- init
authorshadzik <shadzik@pld-linux.org>
Wed, 26 Sep 2007 14:21:43 +0000 (14:21 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    ejabberd-mysql.spec -> 1.1

ejabberd-mysql.spec [new file with mode: 0644]

diff --git a/ejabberd-mysql.spec b/ejabberd-mysql.spec
new file mode 100644 (file)
index 0000000..e1e01e9
--- /dev/null
@@ -0,0 +1,43 @@
+
+%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
This page took 0.086652 seconds and 4 git commands to generate.