You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

95 lines
2.8 KiB

%define version 0.2.1
%define release 1.beta0
%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
* Fri Mar 30 2012 Daniel Berteaud <daniel@firewall-services.com> 0.2.1-1
- Fix 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
%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