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 6)
Currently displaying revision
6
,
show latest
# # spec file for package horde-groupware-webmail (Version 1.1-RC3) # # norootforbuild %define _pversion 1.1-rc3 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.0.99 Release: 3 Source0: %{name}-1.1-rc3.tar.gz URL: http://www.horde.org/ BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch 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} %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 %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}/*.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 * Sun May 11 2008 Carsten Schoene <cs@linux-administrator.com> - initial build