Projects
Kolab:3.4
kolab-syncroton
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 19
View file
kolab-syncroton.spec
Changed
@@ -1,3 +1,11 @@ +# Needed for opensuse build system +%if 0%{?opensuse_bs} +#!BuildIgnore: cherokee +#!BuildIgnore: nginx +#!BuildIgnore: httpd-itk +#!BuildIgnore: lighttpd +%endif + %{!?php_inidir: %global php_inidir %{_sysconfdir}/php.d} %if 0%{?suse_version} @@ -14,7 +22,7 @@ Name: kolab-syncroton Version: 2.2.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: ActiveSync for Kolab Groupware Group: Applications/Internet @@ -27,9 +35,15 @@ BuildArch: noarch +# Use this build requirement to make sure we are using +# up to date vendorized copies of the plugins. +BuildRequires: roundcubemail-plugins-kolab + %if 0%{?suse_version} BuildRequires: roundcubemail -BuildRequires: roundcubemail-plugins-kolab +Requires: php +%else +Requires: php-common >= 5.3 %endif Requires: logrotate @@ -60,7 +74,9 @@ lib/ext/Net/IDNA2.php \ lib/ext/Net/SMTP.php \ lib/ext/Net/Socket.php \ - lib/ext/Zend/ + lib/ext/Roundcube/ \ + lib/ext/Zend/ \ + lib/plugins/ %build @@ -80,6 +96,21 @@ pushd %{buildroot}/%{_datadir}/%{name} ln -s ../../..%{_sysconfdir}/roundcubemail config ln -s ../../..%{_var}/log/%{name} logs +pushd lib/ext +ln -s ../../../roundcubemail/program/lib/Roundcube +popd +for plugin in kolab_auth kolab_folders libkolab; do + mkdir -p lib/plugins/$plugin + pushd lib/plugins/$plugin + if [ -d "/usr/share/roundcubemail/plugins/" ]; then + find /usr/share/roundcubemail/plugins/$plugin/ -maxdepth 1 ! -name "config.inc.php" | while read link_target; do + ln -sv "$(echo ${link_target} | sed -e 's|/usr/share/roundcubemail/|../../../../roundcubemail/|g')" + done + else + find ../../../../roundcubemail/plugins/$plugin/ -maxdepth 1 ! -name "config.inc.php" -exec ln -sv {} \; + fi + popd +done popd # Kolab Authentication plugin
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.