Search
j0ke.net Open Build Service
>
Projects
>
server:php:applications
>
horde-groupware-webmail
> horde-webmail.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File horde-webmail.spec of Package horde-groupware-webmail (Revision 17)
Currently displaying revision
17
,
show latest
# # spec file for package horde-groupware-webmail (Version 1.1-RC4) # # norootforbuild %define _pversion 1.1 Name: horde-webmail %if 0%{?suse_version} >= 1010 || 0%{?sles_version} >= 10 %define _phpdir php5 %define _apxs /usr/sbin/apxs2 BuildRequires: apache2-devel Requires: mod_php_any %endif %if 0%{?suse_version} < 1010 && 0%{?suse_version} > 0 || 0%{?sles_version} == 9 %define _phpdir php %define _apxs /usr/sbin/apxs2 BuildRequires: apache2-devel Requires: mod_php_any %endif %if 0%{?centos_version} || 0%{?fedora_version} || 0%{?rhel_version} %define _phpdir php %define _apxs /usr/sbin/apxs BuildRequires: httpd-devel Requires: mod_php %endif BuildRequires: pcre-devel License: GPL v2 or later Group: Productivity/Networking/Web/Utilities Requires: php-gettext php-mcrypt php-imap php-pear php-pear-log php-session php-dom php Version: 1.1 Release: 5 Source0: %{name}-1.1-rc4.tar.gz Patch0: horde-3.1.2-log.patch Patch1: horde-3.2-rc1-usr_local.patch Patch2: horde-3.1.3-php5_exec.patch Patch3: horde-webmail-php5_exec.patch Patch4: horde-imp-php5_exec.patch Patch5: horde-kronolith-php5_exec.patch URL: http://www.horde.org/ BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch AutoReqProv: off Summary: Horde Groupware Webmail Edition %description Horde Groupware Webmail Edition is a free, enterprise ready, browser based communication suite. Users can read, send and organize email messages and manage and share calendars, contacts, tasks and notes with the standards compliant components from the Horde Project. %define serverroot %(%{_apxs} -q datadir)/htdocs/ %define apache_horde %{serverroot}/horde %debug_package %prep %setup -q -n %{name}-%{_pversion} %patch0 %patch1 %patch2 %patch3 %patch4 %patch5 %build : if the following command fails, then apache dependencies are not met %{_apxs} -q datadir >/dev/null cd config for i in *.dist; do %__cp $i ${i%.dist}; done %install %__mkdir_p %{buildroot}%{apache_horde} %__cp -r ./* %{buildroot}%{apache_horde} cd %{buildroot}%{apache_horde} %__rm -rf docs po COPYING README README* %__install -d %{buildroot}/var/log/horde # remove .orig files from patches find %{buildroot}%{apache_horde} -name \*.orig -exec rm {} \; %clean %__rm -rf %{buildroot} %files %defattr(-, root, root) %doc README COPYING docs %dir %{apache_horde} %{apache_horde}/admin %{apache_horde}/js %{apache_horde}/lib %{apache_horde}/locale %{apache_horde}/scripts %{apache_horde}/services %{apache_horde}/templates %{apache_horde}/themes %{apache_horde}/util %{apache_horde}/dimp %{apache_horde}/imp %{apache_horde}/ingo %{apache_horde}/kronolith %{apache_horde}/mimp %{apache_horde}/mnemo %{apache_horde}/nag %{apache_horde}/turba %{apache_horde}/pear %{apache_horde}/rpc %{apache_horde}/*.php %{apache_horde}/*.html %attr(0750, wwwrun, www) %dir %{apache_horde}/config %attr(0640, root, www) %config(noreplace) %{apache_horde}/config/.htaccess %attr(0640, wwwrun, www) %config(noreplace) %{apache_horde}/config/* %attr(0750, wwwrun, www) %dir %{apache_horde}/config/registry.d %attr(0640, wwwrun, www) %config(noreplace) %{apache_horde}/config/registry.d/* %attr(0750, wwwrun, www) %dir /var/log/horde %changelog * Mon May 26 2008 Carsten Schoene <cs@linux-administrator.com> - update release to final 1.1 * Mon May 12 2008 Carsten Schoene <cs@linux-administrator.com> - update build to 1.1-rc4 * Sun May 11 2008 Carsten Schoene <cs@linux-administrator.com> - initial build