1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
|
%{!?python_sitelib: %define python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
Summary: Kolab Groupware Solution
Name: pykolab
Version: @VERSION@
Release: @RELEASE@%{?dist}
License: GPLv3+
Group: Applications/System
URL: http://kolab.org/
Source0: http://files.kolab.org/releases/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildArch: noarch
%description
Kolab enables you to easily build a groupware server as part of a
collaborative environment.
##
## Kolab CLI
##
%package -n kolab-cli
Summary: Kolab CLI components
Group: Applications/System
BuildRequires: intltool, gettext, python
%description -n kolab-cli
Kolab CLI utilities
##
## Kolab SASL Authentication Daemon
##
%package -n kolab-saslauthd
Summary: Kolab SASL Authentication Daemon
Group: Applications/System
BuildRequires: intltool, gettext, python
Requires: pykolab = %{version}-%{release}
%description -n kolab-saslauthd
Kolab SASL Authentication Daemon for multi-domain, multi-authn database deployments
##
## Kolab Server implemented in Python
##
%package -n kolab-server
Summary: Kolab Server implemented in Python
Group: Applications/System
BuildRequires: intltool, gettext, python
Requires: pykolab = %{version}-%{release}
%description -n kolab-server
Kolab Server implemented in Python
##
## Kolab SMTP Access Policy for Postfix
##
%package -n postfix-kolab
Summary: Kolab SMTP Access Policy for Postfix
Group: Applications/System
BuildRequires: intltool, gettext, python
Requires: postfix
Requires: pykolab = %{version}-%{release}
%description -n postfix-kolab
Kolab SMTP Access Policy for Postfix
%prep
%setup -q
%build
%configure
%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot}
%find_lang pykolab
%clean
rm -rf %{buildroot}
%files -f pykolab.lang
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING README README.tests
%{_bindir}/*
%{_sbindir}/kolab
%{_sbindir}/kolab-conf
%config(noreplace) %{_sysconfdir}/kolab/kolab.conf
%{python_sitelib}/pykolab/
%{python_sitelib}/kolab/
%{python_sitelib}/cyruslib.py
%{python_sitelib}/cyruslib.pyc
%{python_sitelib}/cyruslib.pyo
%files -n kolab-saslauthd
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING
%{_sbindir}/kolab-saslauthd
%{python_sitelib}/saslauthd/
%files -n kolab-server
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING
%{_sbindir}/kolabd
%{python_sitelib}/kolabd/
%files -n postfix-kolab
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING
%{_libexecdir}/postfix/kolab_smtp_access_policy
%changelog
* @DATESTAMP@ Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> @VERSION@-@RELEASE@
- Initial package of new upstream version
|