#
# Conditional build:
%bcond_without tests # build without tests
-%bcond_without php # PHP bindings
+%bcond_with php # PHP bindings
%bcond_without python # Python bindings
%define php_name php55
Summary: Kolab XML format collection parser library
Name: libkolabxml
-Version: 1.1.0
-Release: 1
+Version: 1.1.6
+Release: 9
License: LGPL v3+
Group: Libraries
Source0: http://mirror.kolabsys.com/pub/releases/%{name}-%{version}.tar.gz
-# Source0-md5: a7166537c869ec065613f6b15a3ab86a
+# Source0-md5: eec4b8bf117a6e263eed9ee800ae3aa6
URL: http://www.kolab.org/
BuildRequires: QtCore-devel
BuildRequires: boost-devel
BuildRequires: cmake >= 2.6
BuildRequires: curl-devel
BuildRequires: e2fsprogs-devel
-BuildRequires: kde4-kdelibs-devel
-BuildRequires: kde4-kdepimlibs-devel
BuildRequires: libstdc++-devel
BuildRequires: libuuid-devel
BuildRequires: qt4-build
Requires: cmake >= 2.6
Requires: curl-devel
Requires: e2fsprogs-devel
-Requires: kde4-kdelibs-devel
-Requires: kde4-kdepimlibs-devel
Requires: libstdc++-devel
Requires: libuuid-devel
Requires: swig
%if %{with php}
cd src/php
php -d 'enable_dl=On' '-dextension=../../src/php/kolabformat.so' test.php
-cd ..
+cd ../..
%endif
%if %{with python}
-cd python
+cd src/python
# FIXME
%{__python} test.py ||
-cd ..
+cd ../..
%endif
%endif