Projects
Kolab:3.4
kolab-freebusy
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 27
View file
kolab-freebusy.spec
Changed
@@ -48,6 +48,8 @@ Requires: logrotate Requires: php-ldap Requires: php-pear(Net_LDAP3) +Requires: roundcubemail +Requires: roundcubemail-plugins-kolab %description This software enables a multi-sourced publication of Free/Busy information @@ -62,7 +64,7 @@ mkdir -p \ %{buildroot}/%{_ap_sysconfdir}/conf.d/ \ %{buildroot}/%{_sysconfdir}/%{name}/ \ - %{buildroot}/%{_datadir}/%{name}/ \ + %{buildroot}/%{_datadir}/%{name}/config \ %{buildroot}/%{_localstatedir}/cache/%{name}/ \ %{buildroot}/%{_localstatedir}/log/%{name}/ @@ -87,13 +89,24 @@ cp -a config/config.ini.sample %{buildroot}/%{_sysconfdir}/%{name}/config.ini +pushd %{buildroot}/%{_datadir}/%{name}/config +ln -s ../../../..%{_sysconfdir}/%{name}/config.ini config.ini +ln -s ../../../..%{_sysconfdir}/roundcubemail/config.inc.php config.inc.php +ln -s ../../../..%{_sysconfdir}/roundcubemail/defaults.inc.php defaults.inc.php +popd + pushd %{buildroot}/%{_datadir}/%{name}/ -ln -s ../../..%{_sysconfdir}/%{name} config ln -s ../../..%{_localstatedir}/log/%{name} logs popd find %{buildroot}/%{_datadir}/%{name} -type f -name ".*" -delete +%pre +# This is replaced by an actual directory +if [ -L "%{_datadir}/kolab-freebusy/config" ]; then + rm -rf "%{_datadir}/kolab-freebusy/config" +fi + %post if [ -f "%{php_inidir}/apc.ini" ]; then if [ ! -z "`grep ^apc.enabled=1 %{php_inidir}/apc.ini`" ]; then
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
.