%define version 0.2.2 %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 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 * Tue Apr 24 2012 Daniel Berteaud 0.2.2-1 - CReate log dir /var/log/ejabberd.run * Fri Mar 30 2012 Daniel Berteaud 0.2.1-1 - use cn as NickNames in LDAP Shared Roster * Wed Mar 14 2012 Daniel Berteaud 0.2.0-1 - Migrate to git * Tue Dec 20 2011 Daniel Berteaud 0.1-5 - Turn on CAS auth for Jappix - Cleanup * Thu Oct 20 2011 Daniel Berteaud 0.1-4 - Enable http-bind * Mon Jul 11 2011 Daniel Berteaud 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 0.1-2 - Fix some typo in fr locale of the panel * Thu Jan 20 2011 Daniel Berteaud 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 %files -f %{name}-%{version}-filelist %defattr(-,root,root) %clean rm -rf $RPM_BUILD_ROOT %post %preun