enable db backend plugins [release 2.3.2-2mamba;Thu Mar 05 2015]
This commit is contained in:
parent
3e382273ae
commit
68d098ee43
69
jabberd.spec
69
jabberd.spec
@ -1,6 +1,6 @@
|
|||||||
Name: jabberd
|
Name: jabberd
|
||||||
Version: 2.3.2
|
Version: 2.3.2
|
||||||
Release: 1mamba
|
Release: 2mamba
|
||||||
Summary: JabberD XMPP Server
|
Summary: JabberD XMPP Server
|
||||||
Group: System/Servers
|
Group: System/Servers
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -11,11 +11,18 @@ Source: https://github.com/jabberd2/jabberd2/releases/download/jabberd-%{
|
|||||||
License: GPL
|
License: GPL
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
|
BuildRequires: libaudit-devel
|
||||||
BuildRequires: libexpat-devel
|
BuildRequires: libexpat-devel
|
||||||
BuildRequires: libgsasl-devel
|
BuildRequires: libgsasl-devel
|
||||||
BuildRequires: libidn-devel
|
BuildRequires: libidn-devel
|
||||||
|
BuildRequires: libmysql-devel
|
||||||
BuildRequires: libntlm-devel
|
BuildRequires: libntlm-devel
|
||||||
|
BuildRequires: libopenldap-devel
|
||||||
BuildRequires: libopenssl-devel
|
BuildRequires: libopenssl-devel
|
||||||
|
BuildRequires: libpam-devel
|
||||||
|
BuildRequires: libsasl2-devel
|
||||||
|
BuildRequires: libsqlite-devel
|
||||||
|
BuildRequires: libstdc++6-devel
|
||||||
BuildRequires: libudns-devel
|
BuildRequires: libudns-devel
|
||||||
BuildRequires: libz-devel
|
BuildRequires: libz-devel
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
@ -33,6 +40,22 @@ Summary: Shared libraries for %{name}
|
|||||||
%description -n lib%{name}
|
%description -n lib%{name}
|
||||||
This package contains shared libraries for %{name}.
|
This package contains shared libraries for %{name}.
|
||||||
|
|
||||||
|
%package ldap
|
||||||
|
Group: System/Libraries
|
||||||
|
Summary: LDAP storage support for %{name}
|
||||||
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
|
||||||
|
%description ldap
|
||||||
|
LDAP storage support for %{name}.
|
||||||
|
|
||||||
|
%package mysql
|
||||||
|
Group: System/Libraries
|
||||||
|
Summary: MySQL storage support for %{name}
|
||||||
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
|
||||||
|
%description mysql
|
||||||
|
MySQL storage support for %{name}.
|
||||||
|
|
||||||
%debug_package
|
%debug_package
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
@ -40,7 +63,16 @@ This package contains shared libraries for %{name}.
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
%configure \
|
%configure \
|
||||||
--sysconfdir=%{_sysconfdir}/jabberd
|
--sysconfdir=%{_sysconfdir}/jabberd \
|
||||||
|
--enable-sqlite \
|
||||||
|
--enable-mysql \
|
||||||
|
--enable-ldap \
|
||||||
|
--enable-pam \
|
||||||
|
--enable-pipe \
|
||||||
|
--enable-anon \
|
||||||
|
--enable-fs
|
||||||
|
|
||||||
|
# --enable-postgresql \
|
||||||
|
|
||||||
%make \
|
%make \
|
||||||
systemddir=%{_unitdir} \
|
systemddir=%{_unitdir} \
|
||||||
@ -115,10 +147,23 @@ This package contains shared libraries for %{name}.
|
|||||||
%{_mandir}/man8/router.8*
|
%{_mandir}/man8/router.8*
|
||||||
%{_mandir}/man8/s2s.8*
|
%{_mandir}/man8/s2s.8*
|
||||||
%{_mandir}/man8/sm.8*
|
%{_mandir}/man8/sm.8*
|
||||||
|
%doc tools/db-setup.sqlite tools/db-update.sqlite
|
||||||
|
|
||||||
%files -n lib%{name}
|
%files -n lib%{name}
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%dir %{_libdir}/jabberd
|
%dir %{_libdir}/jabberd
|
||||||
|
%{_libdir}/jabberd/authreg_anon.la
|
||||||
|
%{_libdir}/jabberd/authreg_anon.so
|
||||||
|
%{_libdir}/jabberd/authreg_pam.la
|
||||||
|
%{_libdir}/jabberd/authreg_pam.so
|
||||||
|
%{_libdir}/jabberd/authreg_pipe.la
|
||||||
|
%{_libdir}/jabberd/authreg_pipe.so
|
||||||
|
%{_libdir}/jabberd/authreg_sqlite.la
|
||||||
|
%{_libdir}/jabberd/authreg_sqlite.so
|
||||||
|
%{_libdir}/jabberd/storage_fs.la
|
||||||
|
%{_libdir}/jabberd/storage_fs.so
|
||||||
|
%{_libdir}/jabberd/storage_sqlite.la
|
||||||
|
%{_libdir}/jabberd/storage_sqlite.so
|
||||||
%{_libdir}/jabberd/libstorage.la
|
%{_libdir}/jabberd/libstorage.la
|
||||||
%{_libdir}/jabberd/libstorage.so
|
%{_libdir}/jabberd/libstorage.so
|
||||||
%{_libdir}/jabberd/libstorage.so.*
|
%{_libdir}/jabberd/libstorage.so.*
|
||||||
@ -196,6 +241,26 @@ This package contains shared libraries for %{name}.
|
|||||||
%{_libdir}/jabberd/mod_validate.so.*
|
%{_libdir}/jabberd/mod_validate.so.*
|
||||||
%doc AUTHORS COPYING
|
%doc AUTHORS COPYING
|
||||||
|
|
||||||
|
%files ldap
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_libdir}/jabberd/authreg_ldap.la
|
||||||
|
%{_libdir}/jabberd/authreg_ldap.so
|
||||||
|
%{_libdir}/jabberd/authreg_ldapfull.la
|
||||||
|
%{_libdir}/jabberd/authreg_ldapfull.so
|
||||||
|
%{_libdir}/jabberd/storage_ldapvcard.la
|
||||||
|
%{_libdir}/jabberd/storage_ldapvcard.so
|
||||||
|
|
||||||
|
%files mysql
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_libdir}/jabberd/authreg_mysql.la
|
||||||
|
%{_libdir}/jabberd/authreg_mysql.so
|
||||||
|
%{_libdir}/jabberd/storage_mysql.la
|
||||||
|
%{_libdir}/jabberd/storage_mysql.so
|
||||||
|
%doc tools/db-setup.mysql tools/db-update.mysql
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Mar 05 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3.2-2mamba
|
||||||
|
- enable db backend plugins
|
||||||
|
|
||||||
* Tue Mar 03 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3.2-1mamba
|
* Tue Mar 03 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3.2-1mamba
|
||||||
- package created using the webbuild interface
|
- package created using the webbuild interface
|
||||||
|
Loading…
Reference in New Issue
Block a user