Projects
Kolab:3.4
kolab-syncroton
kolab-syncroton.spec
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File kolab-syncroton.spec of Package kolab-syncroton (Revision 10)
Currently displaying revision
10
,
Show latest
%{!?php_inidir: %global php_inidir %{_sysconfdir}/php.d} %if 0%{?suse_version} %global httpd_group www %global httpd_name apache2 %global httpd_user wwwrun %else %global httpd_group apache %global httpd_name httpd %global httpd_user apache %endif %global _ap_sysconfdir %{_sysconfdir}/%{httpd_name} Name: kolab-syncroton Version: 2.2.0 Release: 1%{?dist} Summary: ActiveSync for Kolab Groupware Group: Applications/Internet License: LGPLv2 URL: http://www.syncroton.org Source0: http://mirror.kolabsys.com/pub/releases/%{name}-%{version}.tar.gz Source1: kolab-syncroton.logrotate Patch1: rcube-imap-murder-quoting.patch BuildArch: noarch %if 0%{?suse_version} BuildRequires: roundcubemail BuildRequires: roundcubemail-plugins-kolab %endif Requires: logrotate Requires: roundcubemail Requires: roundcubemail-plugins-kolab Requires: php-kolabformat Requires: php-pear-Auth-SASL Requires: php-pear-MDB2 Requires: php-pear-MDB2-Driver-mysqli Requires: php-pear-Net-IDNA2 Requires: php-pear-Net-SMTP Requires: php-pear-Net-Socket Requires: php-ZendFramework %description Kolab Groupware provides ActiveSync for Calendars, Address Books and Tasks though this package - based on Syncroton technology. %prep %setup -q -n %{name}-%{version} %patch1 -p1 rm -rf \ lib/ext/Auth/ \ lib/ext/MDB2/ \ lib/ext/MDB2.php \ lib/ext/Net/IDNA2/ \ lib/ext/Net/IDNA2.php \ lib/ext/Net/SMTP.php \ lib/ext/Net/Socket.php \ lib/ext/Zend/ %build %install mkdir -p \ %{buildroot}/%{_datadir}/%{name} \ %{buildroot}/%{_ap_sysconfdir}/conf.d/ \ %{buildroot}/%{_sysconfdir}/%{name} \ %{buildroot}/%{_var}/log/%{name} mkdir -p %{buildroot}%{_sysconfdir}/logrotate.d cp -pr %SOURCE1 %{buildroot}%{_sysconfdir}/logrotate.d/kolab-syncroton cp -a lib %{buildroot}/%{_datadir}/%{name}/. cp -a index.php %{buildroot}/%{_datadir}/%{name}/. pushd %{buildroot}/%{_datadir}/%{name} ln -s ../../..%{_sysconfdir}/roundcubemail config ln -s ../../..%{_var}/log/%{name} logs popd # Kolab Authentication plugin pushd %{buildroot}/%{_datadir}/%{name}/lib/plugins/kolab_auth rm -rf config.inc.php.dist ln -s ../../../../../..%{_sysconfdir}/roundcubemail/kolab_auth.inc.php config.inc.php popd # Kolab Folders plugin pushd %{buildroot}/%{_datadir}/%{name}/lib/plugins/kolab_folders rm -rf config.inc.php.dist ln -s ../../../../../..%{_sysconfdir}/roundcubemail/kolab_folders.inc.php config.inc.php popd # Libkolab plugin pushd %{buildroot}/%{_datadir}/%{name}/lib/plugins/libkolab rm -rf config.inc.php.dist ln -s ../../../../../..%{_sysconfdir}/roundcubemail/kolab.inc.php config.inc.php popd cp -a docs/kolab-syncroton.conf %{buildroot}/%{_ap_sysconfdir}/conf.d/ find %{buildroot}/%{_datadir}/%{name}/ -type f -name "*.orig" -delete # Fix anything executable that does not have a shebang for file in `find %{buildroot}/%{_datadir}/%{name}/ -type f -perm /a+x`; do [ -z "`head -n 1 $file | grep \"^#!/\"`" ] && chmod -v 644 $file done # Find files with a shebang that do not have executable permissions for file in `find %{buildroot}/%{_datadir}/%{name}/ -type f ! -perm /a+x`; do [ ! -z "`head -n 1 $file | grep \"^#!/\"`" ] && chmod -v 755 $file done # Find files that have non-standard-executable-perm find %{buildroot}/%{_datadir}/%{name}/ -type f -perm /g+wx -exec chmod -v g-w {} \; # Find files that are not readable find %{buildroot}/%{_datadir}/%{name}/ -type f ! -perm /go+r -exec chmod -v go+r {} \; %post if [ -f "%{php_inidir}/apc.ini" ]; then if [ ! -z "`grep ^apc.enabled=1 %{php_inidir}/apc.ini`" ]; then %if 0%{?fedora} > 15 /sbin/systemctl condrestart %{httpd_name}.service %else /sbin/service %{httpd_name} condrestart %endif fi fi /usr/share/roundcubemail/bin/updatedb.sh \ --dir /usr/share/doc/kolab-syncroton-%{version}/SQL/ \ --package syncroton \ >/dev/null 2>&1 || : exit 0 %files %doc docs/* %if 0%{?suse_version} %dir %{_ap_sysconfdir}/ %dir %{_ap_sysconfdir}/conf.d/ %endif %config(noreplace) %{_ap_sysconfdir}/conf.d/kolab-syncroton.conf %config(noreplace) %{_sysconfdir}/logrotate.d/%{name} %{_datadir}/%{name} %attr(0770,%{httpd_user},%{httpd_group}) %{_var}/log/%{name} %changelog * Sun Sep 8 2013 Jeroen van Meeuwen <vanmeeuwen@kolabsys.com> - 2.2.0-1 - Release version 2.2.0 * Wed Sep 3 2013 Jeroen van Meeuwen <vanmeeuwen@kolabsys.com> - 2.1.0-1 - Bug fixes for #1658, and attachment sending * Tue Mar 12 2013 Jeroen van Meeuwen <vanmeeuwen@kolabsys.com> - 2.1-0.2.rc2 - New upstream release * Tue Feb 12 2013 Jeroen van Meeuwen <vanmeeuwen@kolabsys.com> - 2.1-0.1.rc1 - Check in new release 2.1-rc1 * Sun Dec 9 2012 Jeroen van Meeuwen <vanmeeuwen@kolabsys.com> - 2.0.0-0.2 - Pull in the required configuration * Tue Nov 27 2012 Jeroen van Meeuwen <vanmeeuwen@kolabsys.com> - 2.0.0-0.1 - New snapshot that fixes SMTP Auth (#1380) * Thu Sep 27 2012 Jeroen van Meeuwen <vanmeeuwen@kolabsys.com> - 1.0.1-2 - Apply fix for authentication failing * Fri Sep 21 2012 Jeroen van Meeuwen <vanmeeuwen@kolabsys.com> - 1.0.1-1 - New upstream release * Wed Sep 19 2012 Jeroen van Meeuwen <vanmeeuwen@kolabsys.com> - 1.0-0.1 - On the road to version 1.0, distribute a snapshot * Wed Aug 1 2012 Jeroen van Meeuwen <vanmeeuwen@kolabsys.com> - 0.1-0.2 - New git master snapshot * Wed Jul 25 2012 Jeroen van Meeuwen <vanmeeuwen@kolabsys.com> - 0.1-0.1 - This is a package, too
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
.