enable db backend plugins [release 2.3.2-2mamba;Thu Mar 05 2015]

This commit is contained in:
Silvan Calarco 2024-01-06 00:00:29 +01:00
parent 3e382273ae
commit 68d098ee43

View File

@ -1,6 +1,6 @@
Name: jabberd
Version: 2.3.2
Release: 1mamba
Release: 2mamba
Summary: JabberD XMPP Server
Group: System/Servers
Vendor: openmamba
@ -11,11 +11,18 @@ Source: https://github.com/jabberd2/jabberd2/releases/download/jabberd-%{
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libaudit-devel
BuildRequires: libexpat-devel
BuildRequires: libgsasl-devel
BuildRequires: libidn-devel
BuildRequires: libmysql-devel
BuildRequires: libntlm-devel
BuildRequires: libopenldap-devel
BuildRequires: libopenssl-devel
BuildRequires: libpam-devel
BuildRequires: libsasl2-devel
BuildRequires: libsqlite-devel
BuildRequires: libstdc++6-devel
BuildRequires: libudns-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
@ -33,6 +40,22 @@ Summary: Shared libraries for %{name}
%description -n lib%{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
%prep
@ -40,7 +63,16 @@ This package contains shared libraries for %{name}.
%build
%configure \
--sysconfdir=%{_sysconfdir}/jabberd
--sysconfdir=%{_sysconfdir}/jabberd \
--enable-sqlite \
--enable-mysql \
--enable-ldap \
--enable-pam \
--enable-pipe \
--enable-anon \
--enable-fs
# --enable-postgresql \
%make \
systemddir=%{_unitdir} \
@ -115,10 +147,23 @@ This package contains shared libraries for %{name}.
%{_mandir}/man8/router.8*
%{_mandir}/man8/s2s.8*
%{_mandir}/man8/sm.8*
%doc tools/db-setup.sqlite tools/db-update.sqlite
%files -n lib%{name}
%defattr(-,root,root)
%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.so
%{_libdir}/jabberd/libstorage.so.*
@ -196,6 +241,26 @@ This package contains shared libraries for %{name}.
%{_libdir}/jabberd/mod_validate.so.*
%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
* 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
- package created using the webbuild interface