|
|
|
%define version 0.2.7
|
|
|
|
%define release 1
|
|
|
|
%define name ipasserelle-im
|
|
|
|
|
|
|
|
|
|
|
|
Summary: Meta-Package to add Instant Messaging capabilities to your iPasserelle
|
|
|
|
Name: %{name}
|
|
|
|
Version: %{version}
|
|
|
|
Release: %{release}%{?dist}
|
|
|
|
License: GPL
|
|
|
|
Group: Networking/Daemons
|
|
|
|
Source: %{name}-%{version}.tar.gz
|
|
|
|
|
|
|
|
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
|
|
|
|
BuildArchitectures: noarch
|
|
|
|
BuildRequires: e-smith-devtools
|
|
|
|
|
|
|
|
Obsoletes: smeserver-ejabberd
|
|
|
|
Provides: smeserver-ejabberd
|
|
|
|
|
|
|
|
Requires: ipasserelle-base
|
|
|
|
Requires: ejabberd >= 2.1.11
|
|
|
|
Requires: ejabberd-modules
|
|
|
|
Requires: smeserver-spectrum
|
|
|
|
Requires: smeserver-webapps-common
|
|
|
|
Requires: smeserver-jappix >= 0.1-3
|
|
|
|
Requires: smeserver-pam_cas
|
|
|
|
|
|
|
|
%description
|
|
|
|
Meta package to configure Instant Messaging features
|
|
|
|
on your iPasserelle.
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
* Thu Feb 21 2013 Daniel Berteaud <daniel@firewall-services.com> 0.2.7-1
|
|
|
|
- Add a conf fragment to configure XMPP accounts on Thunderbird via MCD
|
|
|
|
(requires ipasserelle-gp)
|
|
|
|
|
|
|
|
* Fri Nov 30 2012 Daniel Berteaud <daniel@firewall-services.com> 0.2.6-1
|
|
|
|
- Fix local users ACL
|
|
|
|
|
|
|
|
* Fri Sep 28 2012 Daniel Berteaud <daniel@firewall-services.com> 0.2.5-1
|
|
|
|
- Update the database if it already exist (create missing tables)
|
|
|
|
- Add SRV records for xmpp-server and xmpp-client
|
|
|
|
|
|
|
|
* Thu May 24 2012 Daniel Berteaud <daniel@firewall-services.com> 0.2.4-1
|
|
|
|
- mod_muc_odbc doesn't seem to work, revert to mnesia
|
|
|
|
|
|
|
|
* Wed May 23 2012 Daniel Berteaud <daniel@firewall-services.com> 0.2.3-1
|
|
|
|
- Enable more odbc modules and requires Ejabberd 2.1.11
|
|
|
|
|
|
|
|
* Tue Apr 24 2012 Daniel Berteaud <daniel@firewall-services.com> 0.2.2-1
|
|
|
|
- Create log dir /var/log/ejabberd.run
|
|
|
|
|
|
|
|
* Fri Mar 30 2012 Daniel Berteaud <daniel@firewall-services.com> 0.2.1-1
|
|
|
|
- use cn as NickNames in LDAP Shared Roster
|
|
|
|
|
|
|
|
* Wed Mar 14 2012 Daniel Berteaud <daniel@firewall-services.com> 0.2.0-1
|
|
|
|
- Migrate to git
|
|
|
|
|
|
|
|
* Tue Dec 20 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-5
|
|
|
|
- Turn on CAS auth for Jappix
|
|
|
|
- Cleanup
|
|
|
|
|
|
|
|
* Thu Oct 20 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-4
|
|
|
|
- Enable http-bind
|
|
|
|
|
|
|
|
* Mon Jul 11 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-3
|
|
|
|
- Enable pubsub
|
|
|
|
- Add jappix web frontend support
|
|
|
|
- Add additional vcard fields mapping
|
|
|
|
- Configure shared roster based on LDAP
|
|
|
|
|
|
|
|
* Wed Jun 22 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-2
|
|
|
|
- Fix some typo in fr locale of the panel
|
|
|
|
|
|
|
|
* Thu Jan 20 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-1
|
|
|
|
- initial release
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{name}-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
perl createlinks
|
|
|
|
%{__mkdir_p} root/var/service/ejabberd/ssl
|
|
|
|
%{__mkdir_p} root/var/log/ejabberd.run
|
|
|
|
|
|
|
|
%install
|
|
|
|
/bin/rm -rf $RPM_BUILD_ROOT
|
|
|
|
(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT)
|
|
|
|
/bin/rm -f %{name}-%{version}-filelist
|
|
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
|
|
|
|
--dir '/var/service/ejabberd' 'attr(1755,root,root)' \
|
|
|
|
--file '/var/service/ejabberd/down' 'attr(0644,root,root)' \
|
|
|
|
--file '/var/service/ejabberd/run' 'attr(0755,root,root)' \
|
|
|
|
--dir '/var/service/ejabberd/supervise' 'attr(0700,root,root)' \
|
|
|
|
--file '/var/service/ejabberd/control/1' 'attr(0755,root,root)' \
|
|
|
|
--file '/var/service/ejabberd/control/2' 'attr(0755,root,root)' \
|
|
|
|
--dir '/var/service/ejabberd/log' 'attr(1755,root,root)' \
|
|
|
|
--file '/var/service/ejabberd/log/run' 'attr(0755,root,root)' \
|
|
|
|
--dir '/var/service/ejabberd/log/supervise' 'attr(0700,root,root)' \
|
|
|
|
--dir '/var/log/ejabberd' 'attr(0750,ejabberd,ejabberd)' \
|
|
|
|
--dir '/var/log/ejabberd.run' 'attr(0750,smelog,root)' \
|
|
|
|
--dir '/var/service/ejabberd/ssl' 'attr(0750,root,ejabberd)' \
|
|
|
|
> %{name}-%{version}-filelist
|
|
|
|
echo "%doc CHANGELOG" >> %{name}-%{version}-filelist
|
|
|
|
|
|
|
|
%files -f %{name}-%{version}-filelist
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%post
|
|
|
|
|
|
|
|
%preun
|
|
|
|
|