summaryrefslogtreecommitdiffstats
path: root/zarafa.spec
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2011-12-29 08:11:12 +0100
committerRemi Collet <fedora@famillecollet.com>2011-12-29 08:11:12 +0100
commit794ac435ce14af0e6d7fcbf7ef9e1efd152ecd16 (patch)
treeef3b6830039e66af0049160f586f59a79d2a034e /zarafa.spec
parent2ca5865e2ce27d7b3f4f300773109fa36d553c64 (diff)
zarafa with php 5.4
Diffstat (limited to 'zarafa.spec')
-rw-r--r--zarafa.spec14
1 files changed, 14 insertions, 0 deletions
diff --git a/zarafa.spec b/zarafa.spec
index da829f6..7a40e53 100644
--- a/zarafa.spec
+++ b/zarafa.spec
@@ -42,6 +42,7 @@ Source2: %{name}.logrotate
Source3: %{name}-webaccess.conf
Patch0: zarafa-6.40.5-rpath.patch
+Patch1: zarafa-7.0.3-php54.patch
BuildRequires: bison
BuildRequires: gcc-c++
@@ -365,6 +366,7 @@ to interact with Zarafa.
%prep
%setup -q
%patch0 -p1 -b .rpath
+%patch1 -p1 -b .php54
touch -c -r aclocal.m4.rpath aclocal.m4
%build
@@ -523,6 +525,14 @@ rm -rf $RPM_BUILD_ROOT%{_datadir}/%{name}-webaccess/client/widgets/swfupload/
%find_lang %{name}
+%check
+# minimal load test for the PHP extension
+LD_LIBRARY_PATH=%{buildroot}%{_libdir} php -n \
+ -d extension_dir=%{buildroot}%{php_extdir} \
+ -d extension=mapi.so -m \
+ | grep mapi
+
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -870,6 +880,10 @@ fi
%endif
%changelog
+* Thu Dec 29 2011 Remi Collet <remi@fedoraproject.org> - 7.0.3-1
+- build with php 5.4
+- add minimal load test for PHP extension
+
* Sun Nov 20 2011 Robert Scheck <robert@fedoraproject.org> 7.0.3-1
- Upgrade to 7.0.3