]> git.pld-linux.org Git - packages/ejabberd-mod_shared_roster_ldap.git/commitdiff
- new, works for me
authorzbyniu <zbyniu@pld-linux.org>
Sun, 29 Aug 2010 00:08:08 +0000 (00:08 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    ejabberd-mod_shared_roster_ldap.spec -> 1.1

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

diff --git a/ejabberd-mod_shared_roster_ldap.spec b/ejabberd-mod_shared_roster_ldap.spec
new file mode 100644 (file)
index 0000000..885c7bd
--- /dev/null
@@ -0,0 +1,41 @@
+%define                pname mod_shared_roster_ldap
+
+Summary:       LDAP-based shared roster module for ejabberd server
+Name:          ejabberd-%{pname}
+Version:       0.5.2
+Release:       1
+License:       GPL
+Group:         Applications/Communications
+Source0:       https://alioth.debian.org/frs/download.php/3343/%{pname}-%{version}.tgz
+# Source0-md5: df03ff5c61067fd82eb18c219e05287d
+URL:           http://www.ejabberd.im/mod_shared_roster_ldap
+BuildRequires: ejabberd
+BuildRequires: erlang >= R9C
+BuildRequires: rpmbuild(macros) >= 1.268
+Requires:      ejabberd
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+LDAP-based shared roster module for ejabberd server.
+
+%prep
+%setup -qc -n %{name}
+
+%build
+cd src
+erlc -I%{_libdir}/ejabberd/include mod_shared_roster_ldap_helpers.erl
+erlc -I%{_libdir}/ejabberd/include mod_shared_roster_ldap.erl
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_libdir}/ejabberd/ebin
+
+install src/*.beam $RPM_BUILD_ROOT%{_libdir}/ejabberd/ebin
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%{_libdir}/ejabberd/ebin/*.beam
+%doc doc/*
This page took 0.04856 seconds and 4 git commands to generate.