Projects
Kolab:3.4
roundcubemail-plugins-kolab
roundcubemail-plugins-kolab.spec
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File roundcubemail-plugins-kolab.spec of Package roundcubemail-plugins-kolab (Revision 5)
Currently displaying revision
5
,
Show latest
%{!?php_inidir: %global php_inidir %{_sysconfdir}/php.d} %if 0%{?suse_version} < 1 && 0%{?fedora} < 1 && 0%{?rhel} < 7 %global with_systemd 0 %else %global with_systemd 1 %endif %global roundcube %{_datadir}/roundcubemail %global roundcube_plugins %{roundcube}/plugins %global roundcube_conf %{_sysconfdir}/roundcubemail %global roundcube_log %{_var}/log/roundcubemail %global roundcube_lib %{_var}/lib/roundcubemail Name: roundcubemail-plugins-kolab Version: 3.1.1 Release: 1%{?dist} Summary: Kolab Groupware plugins for Roundcube Webmail Group: Applications/Internet License: AGPLv3+ and GPLv3+ URL: http://www.kolab.org # Snapshot from http://git.kolab.org/roundcubemail-plugins-kolab/snapshot/1999f794461c6a9447e58bdcd89de98a72a9dfd1.tar.gz #Source0: http://git.kolab.org/%{name}/snapshot/%{name}-%{version}.tar.gz Source0: http://git.kolab.org/%{name}/snapshot/%{name}-%{version}.tar.gz Source1: kolab_logo.png BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) BuildArch: noarch Requires: php-kolabformat >= 1.0 Requires: php-pear(HTTP_Request2) Requires: roundcubemail >= 1.0 Obsoletes: roundcubemail-kolab < %{version}-%{release} Provides: roundcubemail-kolab = %{version}-%{release} %description A collection of Kolab Groupware plugins for Roundcube Webmail %prep #%setup -q %setup -q -n %{name}-%{version} %build %install rm -rf %{buildroot} mkdir -p \ %{buildroot}%{roundcube_conf} \ %{buildroot}%{roundcube_plugins} cp -a plugins/* %{buildroot}%{roundcube_plugins} rm -rf %{buildroot}%{roundcube_plugins}/kolab_zpush mkdir -p %{buildroot}%{roundcube}/skins/kolab/images install -pm 644 %{SOURCE1} %{buildroot}%{roundcube}/skins/kolab/images/kolab_logo.png # Calendar mv %{buildroot}%{roundcube_plugins}/calendar/config.inc.php.dist %{buildroot}%{roundcube_conf}/calendar.inc.php rm -rf %{buildroot}%{roundcube_plugins}/calendar/config.inc.php pushd %{buildroot}%{roundcube_plugins}/calendar/ ln -s ../../../../..%{roundcube_conf}/calendar.inc.php config.inc.php popd # Kolab address book plugin mv %{buildroot}%{roundcube_plugins}/kolab_addressbook/config.inc.php.dist %{buildroot}%{roundcube_conf}/kolab_addressbook.inc.php pushd %{buildroot}%{roundcube_plugins}/kolab_addressbook/ ln -s ../../../../..%{roundcube_conf}/kolab_addressbook.inc.php config.inc.php popd # Kolab auth plugin mv %{buildroot}%{roundcube_plugins}/kolab_auth/config.inc.php.dist %{buildroot}%{roundcube_conf}/kolab_auth.inc.php pushd %{buildroot}%{roundcube_plugins}/kolab_auth/ ln -s ../../../../..%{roundcube_conf}/kolab_auth.inc.php config.inc.php popd # Kolab delegation plugin mv %{buildroot}%{roundcube_plugins}/kolab_delegation/config.inc.php.dist %{buildroot}%{roundcube_conf}/kolab_delegation.inc.php pushd %{buildroot}%{roundcube_plugins}/kolab_delegation/ ln -s ../../../../..%{roundcube_conf}/kolab_delegation.inc.php config.inc.php popd # Kolab files plugin mv %{buildroot}%{roundcube_plugins}/kolab_files/config.inc.php.dist %{buildroot}%{roundcube_conf}/kolab_files.inc.php pushd %{buildroot}%{roundcube_plugins}/kolab_files/ ln -s ../../../../..%{roundcube_conf}/kolab_files.inc.php config.inc.php popd # Kolab folders plugin mv %{buildroot}%{roundcube_plugins}/kolab_folders/config.inc.php.dist %{buildroot}%{roundcube_conf}/kolab_folders.inc.php pushd %{buildroot}%{roundcube_plugins}/kolab_folders/ ln -s ../../../../..%{roundcube_conf}/kolab_folders.inc.php config.inc.php popd # libkolab plugin mv %{buildroot}%{roundcube_plugins}/libkolab/config.inc.php.dist %{buildroot}%{roundcube_conf}/kolab.inc.php pushd %{buildroot}%{roundcube_plugins}/libkolab/ ln -s ../../../../..%{roundcube_conf}/kolab.inc.php config.inc.php popd # LDAP Authentication plugin mv %{buildroot}%{roundcube_plugins}/ldap_authentication/config.inc.php.dist %{buildroot}%{roundcube_conf}/ldap_authentication.inc.php pushd %{buildroot}%{roundcube_plugins}/ldap_authentication/ ln -s ../../../../..%{roundcube_conf}/ldap_authentication.inc.php config.inc.php popd # Logon page plugin mv %{buildroot}%{roundcube_plugins}/logon_page/logon_page.html %{buildroot}%{roundcube_conf}/logon_page.html pushd %{buildroot}%{roundcube_plugins}/logon_page/ ln -s ../../../../..%{roundcube_conf}/logon_page.html logon_page.html popd # odfviewer plugin mkdir -p %{buildroot}%{roundcube_lib}/plugins/odfviewer pushd %{buildroot}%{roundcube_plugins}/odfviewer/ rm -rf files ln -s ../../../../..%{roundcube_lib}/plugins/odfviewer files popd # owncloud plugin mv %{buildroot}%{roundcube_plugins}/owncloud/config.inc.php.dist %{buildroot}%{roundcube_conf}/owncloud.inc.php pushd %{buildroot}%{roundcube_plugins}/owncloud/ ln -s ../../../../..%{roundcube_conf}/owncloud.inc.php config.inc.php popd # Piwik Analytics plugin mv %{buildroot}%{roundcube_plugins}/piwik_analytics/config.inc.php.dist %{buildroot}%{roundcube_conf}/piwik_analytics.inc.php pushd %{buildroot}%{roundcube_plugins}/piwik_analytics/ ln -s ../../../../..%{roundcube_conf}/piwik_analytics.inc.php config.inc.php popd # Tasklist plugin mv %{buildroot}%{roundcube_plugins}/tasklist/config.inc.php.dist %{buildroot}%{roundcube_conf}/tasklist.inc.php pushd %{buildroot}%{roundcube_plugins}/tasklist/ ln -s ../../../../..%{roundcube_conf}/tasklist.inc.php config.inc.php popd %post if [ -f "%{php_inidir}/apc.ini" ]; then if [ ! -z "`grep apc.enabled=1 %{php_inidir}/apc.ini`" ]; then %if 0%{?with_systemd} /sbin/systemctl condrestart %{httpd_name}.service %else /sbin/service %{httpd_name} condrestart %endif fi fi for plugin in calendar kolab_activesync kolab_addressbook \ kolab_auth kolab_config kolab_delegation kolab_files \ kolab_folders libkolab libcalendaring odfviewer \ owncloud piwik_analytics tasklist; do for dir in `find /usr/share/roundcubemail/plugins/ -type d -name "SQL"`; do /usr/share/roundcubemail/bin/updatedb.sh \ --dir $dir \ --package ${plugin} \ >/dev/null 2>&1 || : done done exit 0 %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %if 0%{?suse_version} %dir %{roundcube_conf} %dir %{roundcube} %dir %{roundcube_plugins} %endif %attr(0640,apache,apache) %config(noreplace) %{roundcube_conf}/*.php %attr(0640,apache,apache) %config(noreplace) %{roundcube_conf}/logon_page.html %dir %{roundcube}/skins/ %dir %{roundcube}/skins/kolab/ %dir %{roundcube}/skins/kolab/images/ %{roundcube}/skins/kolab/images/kolab_logo.png %{roundcube_plugins}/calendar %{roundcube_plugins}/kolab_activesync %{roundcube_plugins}/kolab_addressbook %{roundcube_plugins}/kolab_auth %{roundcube_plugins}/kolab_config %{roundcube_plugins}/kolab_delegation %{roundcube_plugins}/kolab_files %{roundcube_plugins}/kolab_folders %{roundcube_plugins}/ldap_authentication %{roundcube_plugins}/libkolab %{roundcube_plugins}/libcalendaring %{roundcube_plugins}/logon_page %{roundcube_plugins}/odfviewer %{roundcube_plugins}/owncloud %{roundcube_plugins}/pdfviewer %{roundcube_plugins}/piwik_analytics %{roundcube_plugins}/tasklist %{roundcube_plugins}/tinymce_config %dir %{roundcube_lib} %dir %{roundcube_lib}/plugins %attr(0750,apache,apache) %{roundcube_lib}/plugins/odfviewer %changelog * Sun Aug 25 2013 Jeroen van Meeuwen <vanmeeuwen@kolabsys.com> - 3.1.1-1 - Release 3.1.1 with bugfixes * Thu Aug 8 2013 Jeroen van Meeuwen <vanmeeuwen@kolabsys.com> - 3.1.0-1 - Release 3.1.0 after initial round of bug fixing * Fri Jul 12 2013 Jeroen van Meeuwen <vanmeeuwen@kolabsys.com> - 3.1-0.6 - A new snapshot with enhanced domain discoery for kolab_auth * Wed May 8 2013 Jeroen van Meeuwen <vanmeeuwen@kolabsys.com> - 3.1-0.5 - Correct kolab_files configuration - Ship new snapshot - Fix apc.ini grep problem * Wed Oct 17 2012 Jeroen van Meeuwen <vanmeeuwen@kolabsys.com> - 3.0-0.24.git20121017.7a8916c2 - New snapshot (0.24) - New snapshot (0.23) - New snapshot (0.22) - Ship activesync plugin (0.19) - Require php-pear(HTTP_Request2) (0.19) - Ship Kolab logo (0.17) - Latest snapshot from git master HEAD (0.17) - Add odfviewer files/ directory (0.17) - Ship correct snapshot sources and indicate where the sources come from (0.14) - Fix some packaging issues (#835617) (0.14) - Actually require Roundcube core to be of version 0.9 or later as well (0.8) - Require php-pear(HTTP_Request) (0.8) - Another snapshot release (0.8) - Add requirement for libkolabxml and php-kolabformat (0.2) - Pre-release of Kolab 3.0 (0.1) * Thu Apr 19 2012 Jeroen van Meeuwen <vanmeeuwen@kolabsys.com> - 0.7.1-2 - Rebuild * Sat Apr 14 2012 Jeroen van Meeuwen <vanmeeuwen@kolabsys.com> - 0.7.1-1 - First package
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
.