summaryrefslogtreecommitdiffstats
path: root/pykolab.spec.in
blob: 9087949e315cb3e31bd8a4462800ef04c69d9ac5 (plain)
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
%{!?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:        GPLv2
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
Requires:       kolab-python = %{version}-%{release}

%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

%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}/*
%config(noreplace) %{_sysconfdir}/kolab/kolab.conf
%{_datadir}/pykolab/

%changelog
* @DATESTAMP@ Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> @VERSION@-@RELEASE@
- Initial package of new upstream version