File sipx-kraken.spec of Package sipx-kraken
#!BuildIgnore: post-build-checks
Summary: Kraken XMPP IM Gateway
Name: sipx-kraken
Version: 1.1.2
Release: 1
BuildRoot: %{_builddir}/%{name}-root
Source0: kraken-%{version}.jar
Group: Applications/Communications
Vendor: Douglas Hubler
Packager: Douglas Hubler
License: GPL
AutoReqProv: no
URL: http://kraken.blathersource.org/
BuildRequires: unzip
Requires: sipx-openfire
%define prefix /opt
%define openfire_dir %{prefix}/openfire
# disable JAR repacking just because it's wrong
%define __jar_repack %{nil}
%description
Kraken is a java based XMPP gateway. It provides a mechanism for communicating, via XMPP,
with a large number of "legacy services", such as AIM, ICQ, MSN, etc. The single gateway
implementation houses a number of transport implementations to individual services.
%prep
%build
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p -m 755 $RPM_BUILD_ROOT%{openfire_dir}/plugins
cp %{SOURCE0} $RPM_BUILD_ROOT%{openfire_dir}/plugins
%clean
rm -rf $RPM_BUILD_ROOT
%files
%dir %attr(775,sipxchange,sipxchange) %{openfire_dir}
%dir %attr(775,sipxchange,sipxchange) %{openfire_dir}/plugins
%attr(644,sipxchange,sipxchange) %{openfire_dir}/plugins/*