File kolab.spec of Package kolab

#
# spec file for package kolab
#
# Copyright (c) 2014-2015 Aeneas Jaissle <aj@ajaissle.de>
# Copyright (c) 2012 Kolab Systems AG, Zuerich, Switzerland.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://issues.kolab.org/
#


Name:           kolab
Version:        3.4
Release:        0
Summary:        The Kolab Groupware Solution

Group:          Productivity/Networking/Other
License:        GPL-1.0
Url:            http://www.kolab.org
Source0:        README
BuildArch:      noarch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

# Kolab meta-packages
Requires:       %{name}-conf >= %{version}
Requires:       %{name}-imap >= %{version}
Requires:       %{name}-ldap >= %{version}
Requires:       %{name}-mta >= %{version}
Requires:       %{name}-webclient >= %{version}
# PyKolab packages
Requires:       kolab-cli >= 0.7.5
Requires:       kolab-saslauthd >= 0.7.5
Requires:       kolab-server >= 0.7.5
# Other Kolab packages
Requires:       kolab-utils >= 3.0.90
Requires:       kolab-webadmin >= 3.2.0
# Other requirements
%if 0%{?suse_version}
Requires:       mysql
Recommends:     kolab-scripts >= 0.6
%else
Requires:       mysql-server
%endif

%package conf
Summary:        Kolab Groupware Configuration Utilities
Group:          Productivity/Networking/Other
Requires:       kolab-cli >= 0.7.5

%package imap
Summary:        Kolab Groupware IMAP Component
Group:          Productivity/Networking/Other
Requires:       cyrus-imapd >= 2.4
Requires:       kolab-saslauthd >= 0.7.5

%package ldap
Summary:        Kolab Groupware LDAP Component
Group:          Productivity/Networking/Other
Requires:       389-ds
Requires:       kolab-schema >= 3.2

%package mta
Summary:        Kolab Groupware Mail Transfer Agent
Group:          Productivity/Networking/Other
Requires(pre):  postfix
Requires:       amavisd-new
Requires:       clamav
Requires:       postfix
Requires:       postfix-kolab >= 0.7.5
Requires:       spamassassin
Requires:       wallace >= 0.7.5
Obsoletes:      sendmail
Obsoletes:      sendmail-cf

%package webclient
Summary:        Kolab Groupware Server Web Mail Interface
Group:          Productivity/Office/Organizers
Requires:       chwala >= 0.3.0
Requires:       iRony >= 0.3.0
Requires:       kolab-syncroton >= 2.3.0
# Install or /usr/bin/mysql isn't available
Requires:       mysql
Requires:       roundcubemail >= 1.1.0
Requires:       roundcubemail-plugins-kolab >= 3.2.0
%if 0%{?suse_version}
Recommends:     roundcubemail-plugin-contextmenu >= 2.1.0
Recommends:     roundcubemail-plugin-recipient-to-contact >= 0.3
%endif

%description
Kolab is a secure, scalable and reliable groupware server. It is formed by a 
number of well-known and proven components and adds intelligent interaction between them.

This is the meta-package you can use to install it with.


%description conf
Kolab is a secure, scalable and reliable groupware server. It is formed by a
number of well-known and proven components and adds intelligent interaction between them.

This is the meta-package for the Kolab Groupware Configuration Utility packages.


%description imap
Kolab is a secure, scalable and reliable groupware server. It is formed by a
number of well-known and proven components and adds intelligent interaction between them.

This is the Kolab Groupware IMAP component meta-package.


%description ldap
Kolab is a secure, scalable and reliable groupware server. It is formed by a
number of well-known and proven components and adds intelligent interaction between them.

This is the meta-package for the default Kolab Groupware LDAP Component.


%description mta
Kolab is a secure, scalable and reliable groupware server. It is formed by a
number of well-known and proven components and adds intelligent interaction between them.

This is the Kolab Groupware Mail Transfer Agent (MTA) meta-package.


%description webclient
Kolab is a secure, scalable and reliable groupware server. It is formed by a
number of well-known and proven components and adds intelligent interaction between them.

This is the meta-package for the web based mail client for the Kolab Groupware Server.


%prep
cp -a %{SOURCE0} .

%build

%install

%files
%defattr(-, root, root)
%doc README

%files conf
%defattr(-, root, root)
%doc README

%files imap
%defattr(-, root, root)
%doc README

%files ldap
%defattr(-, root, root)
%doc README

%files mta
%defattr(-, root, root)
%doc README

%files webclient
%defattr(-, root, root)
%doc README

%changelog
openSUSE Build Service is sponsored by