]> git.pld-linux.org Git - packages/libkolabxml.git/blobdiff - libkolabxml.spec
- release 9 (by relup.sh)
[packages/libkolabxml.git] / libkolabxml.spec
index efa2040094d32fd4c3c60e74c94c35b8edbc8a4e..992990fdb59b13f8eb122ade81c5b2463f4f9051 100644 (file)
@@ -1,26 +1,24 @@
 #
 # 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.0.1
-Release:       5
+Version:       1.1.6
+Release:       9
 License:       LGPL v3+
 Group:         Libraries
 Source0:       http://mirror.kolabsys.com/pub/releases/%{name}-%{version}.tar.gz
-# Source0-md5: 7adccfa0ed91ac954c815e8d13f334ee
+# 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
@@ -34,6 +32,10 @@ BuildRequires:       swig-python
 %endif
 %if %{with php}
 BuildRequires: %{php_name}-cli
+%if %{with tests}
+BuildRequires: %{php_name}-pcre
+%endif
+BuildRequires: %{php_name}-program
 BuildRequires: %{php_name}-devel
 BuildRequires: swig-php
 %endif
@@ -53,8 +55,6 @@ Requires:     boost-devel
 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
@@ -121,13 +121,13 @@ cd ..
 %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
 
This page took 0.033092 seconds and 4 git commands to generate.