2008-07-22 14:02:33 +02:00
%define packagename eGroupware
2007-04-30 13:32:10 +02:00
%define egwdirname egroupware
2008-07-22 14:02:33 +02:00
%define egwversion 1.6
2009-07-20 09:58:01 +02:00
%define packaging 002
2009-03-26 19:00:28 +01:00
#define epoch 1
2007-04-30 13:32:10 +02:00
%if 0%{?suse_version}
%define httpdroot /srv/www/htdocs
%define httpdconfd /etc/apache2/conf.d
%define source5 egroupware_suse.tar.bz2
%define distribution SUSE Linux %{?suse_version}
2008-07-22 14:02:33 +02:00
%define php php5
2009-08-14 11:54:07 +02:00
%define extra_requires apache2 apache2-mod_php5 php_any_db php5-dom php5-bz2 php5-openssl php5-ctype
2008-07-22 14:02:33 +02:00
%define cron cron
2007-04-30 13:32:10 +02:00
%endif
%if 0%{?fedora_version}
%define httpdroot /var/www/html
%define httpdconfd /etc/httpd/conf.d
%define osversion %{?fedora_version}
%define source5 egroupware_fedora.tar.bz2
2008-07-22 14:02:33 +02:00
%define distribution Fedora Core %{?fedora_version}
%define php php
2009-08-05 08:53:57 +02:00
%define extra_requires httpd php-mysql php-xml
2008-07-22 14:02:33 +02:00
%define cron crontabs
%endif
%if 0%{?mandriva_version}
%define httpdroot /var/www/html
%define httpdconfd /etc/httpd/conf.d
%define osversion %{?mandriva_version}
%define source5 egroupware_fedora.tar.bz2
%define distribution Mandriva %{?mandriva_version}
%define php php
2009-04-19 14:16:30 +02:00
%define extra_requires apache php-mysql php-dom
2008-07-22 14:02:33 +02:00
%define cron crontabs
%endif
%if 0%{?rhel_version}
%define httpdroot /var/www/html
%define httpdconfd /etc/httpd/conf.d
%define osversion %{?rhel_version}
%define source5 egroupware_fedora.tar.bz2
2009-03-26 19:00:28 +01:00
%define distribution Red Hat %{?rhel_version}
2008-07-22 14:02:33 +02:00
%define php php
2009-08-05 08:53:57 +02:00
%define extra_requires httpd php-mysql php-xml
2008-07-22 14:02:33 +02:00
%define cron crontabs
%endif
%if 0%{?centos_version}
%define httpdroot /var/www/html
%define httpdconfd /etc/httpd/conf.d
%define osversion %{?centos_version}
%define source5 egroupware_fedora.tar.bz2
%define distribution CentOS %{?centos_version}
%define php php
2009-08-05 08:53:57 +02:00
%define extra_requires httpd php-mysql php-xml
2008-07-22 14:02:33 +02:00
%define cron crontabs
2007-04-30 13:32:10 +02:00
%endif
%define addressbook addressbook
%define bookmarks bookmarks
%define calendar calendar
%define developer_tools developer_tools
%define egw-pear egw-pear
%define emailadmin emailadmin
2008-10-13 19:24:05 +02:00
%define etemplate etemplate
2007-04-30 13:32:10 +02:00
%define felamimail felamimail
%define filemanager filemanager
%define gallery gallery
%define icalsrv icalsrv
%define infolog infolog
2008-07-22 14:02:33 +02:00
%define importexport importexport
2007-04-30 13:32:10 +02:00
%define manual manual
%define mydms mydms
%define news_admin news_admin
2008-07-22 14:02:33 +02:00
%define notifications notifications
2007-04-30 13:32:10 +02:00
%define phpbrain phpbrain
%define phpsysinfo phpsysinfo
%define polls polls
%define projectmanager projectmanager
%define registration registration
%define resources resources
%define sambaadmin sambaadmin
%define sitemgr sitemgr
%define syncml syncml
%define timesheet timesheet
%define tracker tracker
%define wiki wiki
Name : %{packagename}
Version : %{egwversion} .%{packaging}
Release :
#Epoch: %{epoch}
2008-07-22 14:02:33 +02:00
Summary : eGroupware is a web-based groupware suite written in php.
2007-04-30 13:32:10 +02:00
Distribution : %{distribution}
2008-07-22 14:02:33 +02:00
2007-04-30 13:32:10 +02:00
Group : Web/Database
License : GPL/LGPL
URL : http://www.egroupware.org/
Source0 : %{packagename} -%{egwversion} .%{packaging} .tar.bz2
Source1 : %{packagename} -egw-pear-%{egwversion} .%{packaging} .tar.bz2
Source2 : %{packagename} -icalsrv-%{egwversion} .%{packaging} .tar.bz2
2008-07-22 14:02:33 +02:00
Source3 : %{packagename} -mydms-%{egwversion} .%{packaging} .tar.bz2
2007-04-30 13:32:10 +02:00
Source4 : %{packagename} -gallery-%{egwversion} .%{packaging} .tar.bz2
Source5 : %{?source5}
2009-07-20 18:08:35 +02:00
Source6 : %{name} -rpmlintrc
2008-10-13 19:24:05 +02:00
Patch0 : class.uiasyncservice.inc.php.patch
2007-04-30 13:32:10 +02:00
BuildRoot : /tmp/%{packagename} -buildroot
2009-08-05 08:53:57 +02:00
Requires : %{php} %{php} -mbstring %{php} -imap %{php} -gd %{php} -pear %{php} -posix %{extra_requires} %{cron} %{packagename} -egw-pear = %{egwversion} .%{packaging}
2007-04-30 13:32:10 +02:00
Provides : egw-core egw-%{addressbook} egw-%{etemplate}
2008-07-22 14:02:33 +02:00
Conflicts : %{packagename} -core %{packagename} -%{addressbook} %{packagename} -%{bookmarks} %{packagename} -%{calendar} %{packagename} -%{developer_tools} %{packagename} -%{emailadmin} %{packagename} -%{felamimail} %{packagename} -%{filemanager} %{packagename} -%{infolog} %{packagename} -%{importexport} %{packagename} -%{manual} %{packagename} -%{news_admin} %{packagename} -%{notifications} %{packagename} -%{phpbrain} %{packagename} -%{polls} %{packagename} -%{projectmanager} %{packagename} -%{registration} %{packagename} -%{resources} %{packagename} -%{sambaadmin} %{packagename} -%{sitemgr} %{packagename} -%{syncml} %{packagename} -%{timesheet} %{packagename} -%{wiki}
Obsoletes : %{packagename} -%{icalsrv}
2009-03-27 22:25:09 +01:00
#otherwise build fails because of jar files in G2
BuildRequires : unzip
2008-07-22 14:02:33 +02:00
2007-04-30 13:32:10 +02:00
Prefix : /usr/share
Buildarch : noarch
AutoReqProv : no
2008-07-22 14:02:33 +02:00
Vendor : eGroupware
Packager : Ralf Becker <RalfBecker@outdoor-training.de>
2007-04-30 13:32:10 +02:00
%description
2008-07-22 14:02:33 +02:00
eGroupware is a web-based groupware suite written in PHP.
2007-04-30 13:32:10 +02:00
2008-07-22 14:02:33 +02:00
This package provides the eGroupware default applications:
2007-04-30 13:32:10 +02:00
2008-07-22 14:02:33 +02:00
egroupware core with: admin, api, docs, etemplate, prefereces and setup,
addressbook, bookmarks, calendar, translation-tools, emailadmin, felamimail,
filemanager, infolog, manual, news admin, knowledgebase, polls,
projectmanager, resources, sambaadmin, sitemgr, syncml, timesheet, tracker, wiki
2007-04-30 13:32:10 +02:00
2008-07-22 14:02:33 +02:00
It also provides an API for developing additional applications.
2007-04-30 13:32:10 +02:00
Further contributed applications are avalible in single packages.
%package core
2008-07-22 14:02:33 +02:00
Summary : The eGroupware contrib package
2007-04-30 13:32:10 +02:00
Group : Web/Database
Provides : egw-core
Conflicts : %{packagename}
%description core
2008-07-22 14:02:33 +02:00
This package provides the eGroupware core applications.
%post core
%if 0%{?rhel_version} || 0%{?fedora_version} || 0%{?centos_version}
2008-10-14 12:14:54 +02:00
chcon -R -u user_u -r object_r -t httpd_sys_content_t /var/lib/egroupware
2008-10-22 10:29:13 +02:00
setsebool -P httpd_can_network_connect=1
2008-07-22 14:02:33 +02:00
%endif
2007-04-30 13:32:10 +02:00
%package %{addressbook}
Version : %{egwversion} .%{packaging}
2008-07-22 14:02:33 +02:00
Summary : The eGroupware %{addressbook} application
2007-04-30 13:32:10 +02:00
Group : Web/Database
Conflicts : %{packagename}
AutoReqProv : no
Requires : egw-core = %{egwversion} .%{packaging}
Provides : egw-%{addressbook}
%description %{addressbook}
Contact manager with Vcard support.
2008-07-22 14:02:33 +02:00
%{addressbook} is the egroupware contact application.
It has different backends to store and retrive contacts
from SQL or LDAP.
2007-04-30 13:32:10 +02:00
%package %{bookmarks}
Version : %{egwversion} .%{packaging}
2008-07-22 14:02:33 +02:00
Summary : The eGroupware %{bookmarks} application
2007-04-30 13:32:10 +02:00
Group : Web/Database
AutoReqProv : no
Requires : egw-core = %{egwversion} .%{packaging}
%description %{bookmarks}
2008-07-22 14:02:33 +02:00
Manage your bookmarks with eGroupware. Has Netscape plugin.
2007-04-30 13:32:10 +02:00
%package %{calendar}
Version : %{egwversion} .%{packaging}
2008-07-22 14:02:33 +02:00
Summary : The eGroupware %{calendar} application
2007-04-30 13:32:10 +02:00
Group : Web/Database
Conflicts : %{packagename}
AutoReqProv : no
Requires : egw-core = %{egwversion} .%{packaging}
%description %{calendar}
2008-07-22 14:02:33 +02:00
Powerful calendar with meeting request system, Alarms, ICal and E-Mail support,
2007-04-30 13:32:10 +02:00
and ACL security.
%package %{developer_tools}
Version : %{egwversion} .%{packaging}
2008-07-22 14:02:33 +02:00
Summary : The eGroupware %{developer_tools} application
2007-04-30 13:32:10 +02:00
Group : Web/Database
Conflicts : %{packagename}
AutoReqProv : no
Requires : egw-core = %{egwversion} .%{packaging}
%description %{developer_tools}
2008-07-22 14:02:33 +02:00
The TranslationTools allow to create and extend translations-files for eGroupware.
They can search the sources for new / added phrases and show you the ones missing in your language.
2007-04-30 13:32:10 +02:00
%package egw-pear
Version : %{egwversion} .%{packaging}
2008-07-22 14:02:33 +02:00
Summary : The eGroupware egw-pear application
2007-04-30 13:32:10 +02:00
Group : Web/Database
2008-07-22 14:02:33 +02:00
Requires : %{php} -pear
2007-04-30 13:32:10 +02:00
#Conflicts: %{packagename}
AutoReqProv : no
Requires : egw-core = %{egwversion} .%{packaging}
%description egw-pear
2008-07-22 14:02:33 +02:00
egw-pear contains modified pear classes necessary for eGroupware
2007-04-30 13:32:10 +02:00
%package %{emailadmin}
Version : %{egwversion} .%{packaging}
2008-07-22 14:02:33 +02:00
Summary : The eGroupware %{emailadmin} application
2007-04-30 13:32:10 +02:00
Group : Web/Database
Conflicts : %{packagename}
AutoReqProv : no
Requires : egw-core = %{egwversion} .%{packaging} , %{packagename} -egw-pear = %{egwversion} .%{packaging} , php-openssl
%description %{emailadmin}
2008-07-22 14:02:33 +02:00
EmailAdmin allow to maintain User email accounts
2007-04-30 13:32:10 +02:00
%package %{felamimail}
Version : %{egwversion} .%{packaging}
2008-07-22 14:02:33 +02:00
Summary : The eGroupware Webmail application
2007-04-30 13:32:10 +02:00
Group : Web/Database
Conflicts : %{packagename}
AutoReqProv : no
Requires : egw-core = %{egwversion} .%{packaging} , %{packagename} -%{emailadmin} = %{egwversion} .%{packaging} , %{packagename} -egw-pear = %{egwversion} .%{packaging}
%description %{felamimail}
2008-07-22 14:02:33 +02:00
The Email application for eGroupware.
2007-04-30 13:32:10 +02:00
%package %{filemanager}
Version : %{egwversion} .%{packaging}
2008-07-22 14:02:33 +02:00
Summary : The eGroupware %{filemanager} application
2007-04-30 13:32:10 +02:00
Group : Web/Database
Conflicts : %{packagename}
AutoReqProv : no
Requires : egw-core = %{egwversion} .%{packaging} , egw-pear = %{egwversion} .%{packaging}
%description %{filemanager}
2008-07-22 14:02:33 +02:00
This is the %{filemanager} app for eGroupware.
2007-04-30 13:32:10 +02:00
%package %{gallery}
Version : %{egwversion} .%{packaging}
2008-07-22 14:02:33 +02:00
Summary : The eGroupware %{gallery} application
2007-04-30 13:32:10 +02:00
Group : Web/Database
Conflicts : %{packagename}
AutoReqProv : no
Requires : egw-core = %{egwversion} .%{packaging} , egw-pear = %{egwversion} .%{packaging}
%description %{gallery}
2008-07-22 14:02:33 +02:00
An embedded Gallery2 for eGroupware.
2007-04-30 13:32:10 +02:00
%package %{icalsrv}
Version : %{egwversion} .%{packaging}
2008-07-22 14:02:33 +02:00
Summary : The eGroupware %{icalsrv} application
2007-04-30 13:32:10 +02:00
Group : Web/Database
AutoReqProv : no
2008-07-22 14:02:33 +02:00
Requires : egw-core = %{egwversion} .%{packaging}
2007-04-30 13:32:10 +02:00
%description %{icalsrv}
2008-07-22 14:02:33 +02:00
This is the old %{icalsrv} app for eGroupware.
It is NOT necessary for GroupDAV, CalDAV or CardDAV,
which is build into the eGroupware core.
2007-04-30 13:32:10 +02:00
%package %{infolog}
Version : %{egwversion} .%{packaging}
2008-07-22 14:02:33 +02:00
Summary : The eGroupware %{infolog} application
2007-04-30 13:32:10 +02:00
Group : Web/Database
Conflicts : %{packagename}
AutoReqProv : no
Requires : egw-core = %{egwversion} .%{packaging} , egw-%{etemplate} = %{egwversion} .%{packaging}
%description %{infolog}
2008-07-22 14:02:33 +02:00
This is the %{infolog} app for eGroupware (Notes, ToDo, Phonelogs, CRM).
%package %{importexport}
Version : %{egwversion} .%{packaging}
Summary : The eGroupware %{importexport} application
Group : Web/Database
Conflicts : %{packagename}
AutoReqProv : no
Requires : egw-core = %{egwversion} .%{packaging} , egw-%{etemplate} = %{egwversion} .%{packaging}
%description %{importexport}
This is the %{importexport} app for eGroupware. It includes a comandline client.
2007-04-30 13:32:10 +02:00
#%package %{jinn}
#Version: %{egwversion}.%{packaging}
2008-07-22 14:02:33 +02:00
#Summary: The eGroupware %{jinn} application
2007-04-30 13:32:10 +02:00
#Group: Web/Database
#AutoReqProv: no
#Requires: egw-core = %{egwversion}.%{packaging}
#%description %{jinn}
2008-07-22 14:02:33 +02:00
#The %{jinn} app is a multi-site, multi-database, multi-user/-group, database driven Content Management System written in and for the eGroupware Framework.
2007-04-30 13:32:10 +02:00
%package %{manual}
Version : %{egwversion} .%{packaging}
2008-07-22 14:02:33 +02:00
Summary : The eGroupware %{manual} application
2007-04-30 13:32:10 +02:00
Group : Web/Database
Conflicts : %{packagename}
AutoReqProv : no
Requires : egw-core = %{egwversion} .%{packaging}
%description %{manual}
2008-07-22 14:02:33 +02:00
This is the %{manual} app for eGroupware: online help system.
2007-04-30 13:32:10 +02:00
%package %{mydms}
Version : %{egwversion} .%{packaging}
2008-07-22 14:02:33 +02:00
Summary : The eGroupware %{mydms} application
2007-04-30 13:32:10 +02:00
Group : Web/Database
Conflicts : %{packagename}
AutoReqProv : no
Requires : egw-core = %{egwversion} .%{packaging} , egw-pear = %{egwversion} .%{packaging}
%description %{mydms}
2008-07-22 14:02:33 +02:00
This is a %{mydms} port to eGroupware.
2007-04-30 13:32:10 +02:00
%package %{news_admin}
Version : %{egwversion} .%{packaging}
2008-07-22 14:02:33 +02:00
Summary : The eGroupware %{news_admin} application
2007-04-30 13:32:10 +02:00
Group : Web/Database
Conflicts : %{packagename}
AutoReqProv : no
2008-07-22 14:02:33 +02:00
Requires : egw-core = %{egwversion} .%{packaging}
2007-04-30 13:32:10 +02:00
%description %{news_admin}
2008-07-22 14:02:33 +02:00
This is the %{news_admin} app for eGroupware.
%package %{notifications}
Version : %{egwversion} .%{packaging}
Summary : The eGroupware %{notifications} application
Group : Web/Database
Conflicts : %{packagename}
AutoReqProv : no
Requires : egw-core = %{egwversion} .%{packaging}
%description %{notifications}
This is the %{notifications} app for eGroupware.
2007-04-30 13:32:10 +02:00
%package %{phpbrain}
Version : %{egwversion} .%{packaging}
2008-07-22 14:02:33 +02:00
Summary : The eGroupware %{phpbrain} application
2007-04-30 13:32:10 +02:00
Group : Web/Database
Conflicts : %{packagename}
AutoReqProv : no
Requires : egw-core = %{egwversion} .%{packaging} , %{packagename} -%{addressbook} = %{egwversion} .%{packaging}
%description %{phpbrain}
2008-07-22 14:02:33 +02:00
This is the %{phpbrain} app for eGroupware.
2007-04-30 13:32:10 +02:00
%package %{phpsysinfo}
Version : %{egwversion} .%{packaging}
2008-07-22 14:02:33 +02:00
Summary : The eGroupware %{phpsysinfo} application
2007-04-30 13:32:10 +02:00
Group : Web/Database
Conflicts : %{packagename}
AutoReqProv : no
Requires : egw-core = %{egwversion} .%{packaging}
%description %{phpsysinfo}
2008-07-22 14:02:33 +02:00
This is the %{phpsysinfo} app for eGroupware.
2007-04-30 13:32:10 +02:00
%package %{polls}
Version : %{egwversion} .%{packaging}
2008-07-22 14:02:33 +02:00
Summary : The eGroupware %{polls} application
2007-04-30 13:32:10 +02:00
Group : Web/Database
AutoReqProv : no
Requires : egw-core = %{egwversion} .%{packaging}
%description %{polls}
2008-07-22 14:02:33 +02:00
This is the %{polls} app for eGroupware.
2007-04-30 13:32:10 +02:00
%package %{projectmanager}
Version : %{egwversion} .%{packaging}
2008-07-22 14:02:33 +02:00
Summary : The eGroupware %{projectmanager} application
2007-04-30 13:32:10 +02:00
Group : Web/Database
Conflicts : %{packagename}
AutoReqProv : no
Requires : egw-core = %{egwversion} .%{packaging} ,
%description %{projectmanager}
2008-07-22 14:02:33 +02:00
The %{projectmanager} is eGroupware's new project management application.
It's fully integrated into eGroupware and use the data of InfoLog and Calendar.
2007-04-30 13:32:10 +02:00
Plugable datasources allow to support and manage further applications.
%package %{registration}
Version : %{egwversion} .%{packaging}
2008-07-22 14:02:33 +02:00
Summary : The eGroupware %{registration} application
2007-04-30 13:32:10 +02:00
Group : Web/Database
Conflicts : %{packagename}
AutoReqProv : no
Requires : egw-core = %{egwversion} .%{packaging}
%description %{registration}
2008-07-22 14:02:33 +02:00
This is the %{registration} app for eGroupware.
2007-04-30 13:32:10 +02:00
%package %{resources}
Version : %{egwversion} .%{packaging}
2008-07-22 14:02:33 +02:00
Summary : The eGroupware %{resources} application
2007-04-30 13:32:10 +02:00
Group : Web/Database
Conflicts : %{packagename}
AutoReqProv : no
Requires : egw-core = %{egwversion} .%{packaging}
%description %{resources}
2008-07-22 14:02:33 +02:00
%{resources} is a resource booking sysmtem for eGroupware.
2007-04-30 13:32:10 +02:00
Which integrates into the calendar.
%package %{sambaadmin}
Version : %{egwversion} .%{packaging}
2008-07-22 14:02:33 +02:00
Summary : The eGroupware %{sambaadmin} application
2007-04-30 13:32:10 +02:00
Group : Web/Database
Conflicts : %{packagename}
AutoReqProv : no
Requires : egw-core = %{egwversion} .%{packaging}
%description %{sambaadmin}
Manage LDAP based sambaacounts and workstations.
%package %{sitemgr}
Version : %{egwversion} .%{packaging}
2008-07-22 14:02:33 +02:00
Summary : The eGroupware Sitemanager CMS application
2007-04-30 13:32:10 +02:00
Group : Web/Database
Conflicts : %{packagename}
AutoReqProv : no
Requires : egw-core = %{egwversion} .%{packaging}
%description %{sitemgr}
2008-07-22 14:02:33 +02:00
This is the Sitemanager CMS app for eGroupware.
2007-04-30 13:32:10 +02:00
%package %{syncml}
Version : %{egwversion} .%{packaging}
2008-07-22 14:02:33 +02:00
Summary : The eGroupware %{syncml} application
2007-04-30 13:32:10 +02:00
Group : Web/Database
Conflicts : %{packagename}
AutoReqProv : no
Requires : egw-core = %{egwversion} .%{packaging} , php >= 5.0.0
%description %{syncml}
2008-07-22 14:02:33 +02:00
This is the %{syncml} app for eGroupware.
2007-04-30 13:32:10 +02:00
%package %{timesheet}
Version : %{egwversion} .%{packaging}
2008-07-22 14:02:33 +02:00
Summary : The eGroupware timesheet application
2007-04-30 13:32:10 +02:00
Group : Web/Database
Conflicts : %{packagename}
AutoReqProv : no
Requires : egw-core = %{egwversion} .%{packaging}
%description %{timesheet}
Simple timesheet application, which allow to record and report
2008-07-22 14:02:33 +02:00
the times and other expenses. It can be uses as well standalone
2007-04-30 13:32:10 +02:00
as together with the ProjectManager application.
%package %{tracker}
Version : %{egwversion} .%{packaging}
2008-07-22 14:02:33 +02:00
Summary : The eGroupware trouble ticket system application
2007-04-30 13:32:10 +02:00
Group : Web/Database
AutoReqProv : no
Requires : egw-core = %{egwversion} .%{packaging}
%description %{tracker}
2008-07-22 14:02:33 +02:00
This is the trouble ticket system app for eGroupware.
2007-04-30 13:32:10 +02:00
%package %{wiki}
Version : %{egwversion} .%{packaging}
2008-07-22 14:02:33 +02:00
Summary : The eGroupware %{wiki} application
2007-04-30 13:32:10 +02:00
Group : Web/Database
Conflicts : %{packagename}
AutoReqProv : no
Requires : egw-core = %{egwversion} .%{packaging} ,
%description %{wiki}
2008-07-22 14:02:33 +02:00
This is the %{wiki} app for eGroupware.
2007-04-30 13:32:10 +02:00
#%package %{workflow}
#Version: %{egwversion}.%{packaging}
2008-07-22 14:02:33 +02:00
#Summary: The eGroupware %{workflow} application
2007-04-30 13:32:10 +02:00
#Group: Web/Database
#AutoReqProv: no
#Requires: egw-core = %{egwversion}.%{packaging},
#%description %{workflow}
2008-07-22 14:02:33 +02:00
#This is the %{workflow} app for eGroupware.
2007-04-30 13:32:10 +02:00
%prep
%setup 0 -c -n %{egwdirname}
%setup 1 -T -D -a 1 -n %{egwdirname}
%setup 2 -T -D -a 2 -n %{egwdirname}
%setup 3 -T -D -a 3 -n %{egwdirname}
%setup 4 -T -D -a 4 -n %{egwdirname}
%setup 5 -T -D -a 5 -n %{egwdirname}
2008-10-13 19:24:05 +02:00
%patch0 -p 0
2007-04-30 13:32:10 +02:00
%build
%install
[ " %{buildroot} " != " / " ] && rm -rf %{buildroot}
mkdir -p $RPM_BUILD_ROOT %{prefix} /%{egwdirname}
cp -aRf etc var $RPM_BUILD_ROOT
cp -aRf egroupware/* $RPM_BUILD_ROOT %{prefix} /%{egwdirname}
rm -f $RPM_BUILD_ROOT %{prefix} /%{egwdirname} /.htaccess
rm -rf $RPM_BUILD_ROOT %{prefix} /%{egwdirname} /switchuser
rm -rf $RPM_BUILD_ROOT %{prefix} /%{egwdirname} /skel
rm -rf $RPM_BUILD_ROOT %{prefix} /%{egwdirname} /soap
rm -rf $RPM_BUILD_ROOT %{prefix} /%{egwdirname} /xmlrpc
rm -rf $RPM_BUILD_ROOT %{prefix} /%{egwdirname} /messenger
rm -rf $RPM_BUILD_ROOT %{prefix} /%{egwdirname} /workflow
rm -rf $RPM_BUILD_ROOT %{prefix} /%{egwdirname} /jinn
2009-03-27 22:25:09 +01:00
rm -f $RPM_BUILD_ROOT %{prefix} /%{egwdirname} /admin/inc/*.orig
2007-04-30 13:32:10 +02:00
find $RPM_BUILD_ROOT %{prefix} /%{egwdirname} -name .svn | xargs rm -rf
cd $RPM_BUILD_ROOT %{prefix} /%{egwdirname}
ln -s ../../../var/lib/egroupware/header.inc.php
%clean
[ " %{buildroot} " != " / " ] && rm -rf %{buildroot}
%post
2008-07-22 14:02:33 +02:00
%if 0%{?rhel_version} || 0%{?fedora_version} || 0%{?centos_version}
2008-11-09 17:51:06 +01:00
chcon -R -u user_u -r object_r -t httpd_sys_content_t /var/lib/egroupware
setsebool -P httpd_can_network_connect=1
2008-07-22 14:02:33 +02:00
%endif
2007-04-30 13:32:10 +02:00
%postun
%files
%defattr (-,root,root)
%dir %attr (0755,root,root) %{prefix} /%{egwdirname}
%dir %attr (0755,root,root) /var/lib/egroupware
%{prefix} /%{egwdirname} /about.php
%{prefix} /%{egwdirname} /anon_wrapper.php
%{prefix} /%{egwdirname} /header.inc.php
%{prefix} /%{egwdirname} /header.inc.php.template
%{prefix} /%{egwdirname} /index.php
%{prefix} /%{egwdirname} /login.php
%{prefix} /%{egwdirname} /logout.php
%{prefix} /%{egwdirname} /notify.php
%{prefix} /%{egwdirname} /notify_simple.php
%{prefix} /%{egwdirname} /notifyxml.php
%{prefix} /%{egwdirname} /redirect.php
%{prefix} /%{egwdirname} /rpc.php
%{prefix} /%{egwdirname} /set_box.php
%{prefix} /%{egwdirname} /soap.php
%{prefix} /%{egwdirname} /xajax.php
%{prefix} /%{egwdirname} /xmlrpc.php
2008-07-22 14:02:33 +02:00
%{prefix} /%{egwdirname} /svn-helper.php
%{prefix} /%{egwdirname} /webdav.php
%{prefix} /%{egwdirname} /groupdav.php
2007-04-30 13:32:10 +02:00
%{prefix} /%{egwdirname} /admin
%{prefix} /%{egwdirname} /doc
%{prefix} /%{egwdirname} /etemplate
%{prefix} /%{egwdirname} /home
%{prefix} /%{egwdirname} /phpgwapi
%{prefix} /%{egwdirname} /preferences
%{prefix} /%{egwdirname} /setup
%{prefix} /%{egwdirname} /addressbook
%{prefix} /%{egwdirname} /bookmarks
%{prefix} /%{egwdirname} /calendar
%{prefix} /%{egwdirname} /developer_tools
%{prefix} /%{egwdirname} /emailadmin
%{prefix} /%{egwdirname} /felamimail
%{prefix} /%{egwdirname} /filemanager
2008-07-22 14:02:33 +02:00
%{prefix} /%{egwdirname} /icalsrv
2007-04-30 13:32:10 +02:00
%{prefix} /%{egwdirname} /infolog
2008-07-22 14:02:33 +02:00
%{prefix} /%{egwdirname} /importexport
2007-04-30 13:32:10 +02:00
%{prefix} /%{egwdirname} /manual
%{prefix} /%{egwdirname} /mydms
%{prefix} /%{egwdirname} /news_admin
2008-07-22 14:02:33 +02:00
%{prefix} /%{egwdirname} /notifications
2007-04-30 13:32:10 +02:00
%{prefix} /%{egwdirname} /phpbrain
%{prefix} /%{egwdirname} /phpsysinfo
%{prefix} /%{egwdirname} /polls
%{prefix} /%{egwdirname} /projectmanager
%{prefix} /%{egwdirname} /registration
%{prefix} /%{egwdirname} /resources
%{prefix} /%{egwdirname} /sambaadmin
%{prefix} /%{egwdirname} /sitemgr
%{prefix} /%{egwdirname} /syncml
%{prefix} /%{egwdirname} /timesheet
%{prefix} /%{egwdirname} /tracker
%{prefix} /%{egwdirname} /wiki
%attr (0644,root,root) /etc/cron.d/egroupware
%config %attr (0644,root,root) %{httpdconfd} /egroupware.conf
%if 0%{?suse_version}
2009-03-27 22:25:09 +01:00
%dir %attr (0755,root,root) /etc/apache2
%dir %attr (0755,root,root) %{httpdconfd}
2007-04-30 13:32:10 +02:00
%dir %attr (0755,wwwrun,www) /var/lib/egroupware/default
%dir %attr (0755,wwwrun,www) /var/lib/egroupware/default/files
%dir %attr (0755,wwwrun,www) /var/lib/egroupware/default/backup
%config %attr (0640,wwwrun,www) /var/lib/egroupware/header.inc.php
%endif
2008-07-22 14:02:33 +02:00
%if 0%{?rhel_version} || 0%{?fedora_version} || 0%{?centos_version}
%dir %attr (0755,apache,apache) /var/lib/egroupware/default
%dir %attr (0755,apache,apache) /var/lib/egroupware/default/files
%dir %attr (0755,apache,apache) /var/lib/egroupware/default/backup
%config %attr (0640,apache,apache) /var/lib/egroupware/header.inc.php
%endif
%if 0%{?mandriva_version}
2007-04-30 13:32:10 +02:00
%dir %attr (0755,apache,apache) /var/lib/egroupware/default
%dir %attr (0755,apache,apache) /var/lib/egroupware/default/files
%dir %attr (0755,apache,apache) /var/lib/egroupware/default/backup
%config %attr (0640,apache,apache) /var/lib/egroupware/header.inc.php
%endif
%files core
%defattr (-,root,root)
%dir %{prefix} /%{egwdirname}
%dir /var/lib/egroupware
%{prefix} /%{egwdirname} /about.php
%{prefix} /%{egwdirname} /anon_wrapper.php
%{prefix} /%{egwdirname} /header.inc.php
%{prefix} /%{egwdirname} /header.inc.php.template
%{prefix} /%{egwdirname} /index.php
%{prefix} /%{egwdirname} /login.php
%{prefix} /%{egwdirname} /logout.php
%{prefix} /%{egwdirname} /notify.php
%{prefix} /%{egwdirname} /notify_simple.php
%{prefix} /%{egwdirname} /notifyxml.php
%{prefix} /%{egwdirname} /redirect.php
%{prefix} /%{egwdirname} /rpc.php
%{prefix} /%{egwdirname} /set_box.php
%{prefix} /%{egwdirname} /soap.php
%{prefix} /%{egwdirname} /xajax.php
%{prefix} /%{egwdirname} /xmlrpc.php
2008-07-22 14:02:33 +02:00
%{prefix} /%{egwdirname} /groupdav.php
%{prefix} /%{egwdirname} /webdav.php
2007-04-30 13:32:10 +02:00
%{prefix} /%{egwdirname} /admin
%{prefix} /%{egwdirname} /doc
%{prefix} /%{egwdirname} /etemplate
%{prefix} /%{egwdirname} /home
%{prefix} /%{egwdirname} /phpgwapi
%{prefix} /%{egwdirname} /preferences
%{prefix} /%{egwdirname} /setup
%attr (0644,root,root) /etc/cron.d/egroupware
%config %attr (0644,root,root) %{httpdconfd} /egroupware.conf
%if 0%{?suse_version}
2009-03-27 22:25:09 +01:00
%dir %attr (0755,root,root) /etc/apache2
%dir %attr (0755,root,root) %{httpdconfd}
2007-04-30 13:32:10 +02:00
%dir %attr (0755,wwwrun,www) /var/lib/egroupware/default
%dir %attr (0755,wwwrun,www) /var/lib/egroupware/default/files
%dir %attr (0755,wwwrun,www) /var/lib/egroupware/default/backup
%config %attr (0640,wwwrun,www) /var/lib/egroupware/header.inc.php
%endif
2008-07-22 14:02:33 +02:00
%if 0%{?rhel_version} || 0%{?fedora_version} || 0%{?centos_version}
%dir %attr (0755,apache,apache) /var/lib/egroupware/default
%dir %attr (0755,apache,apache) /var/lib/egroupware/default/files
%dir %attr (0755,apache,apache) /var/lib/egroupware/default/backup
%config %attr (0640,apache,apache) /var/lib/egroupware/header.inc.php
%endif
%if 0%{?mandriva_version}
2007-04-30 13:32:10 +02:00
%dir %attr (0755,apache,apache) /var/lib/egroupware/default
%dir %attr (0755,apache,apache) /var/lib/egroupware/default/files
%dir %attr (0755,apache,apache) /var/lib/egroupware/default/backup
%config %attr (0640,apache,apache) /var/lib/egroupware/header.inc.php
%endif
%files %{addressbook}
%defattr (-,root,root)
%{prefix} /%{egwdirname} /%{addressbook}
%files %{calendar}
%defattr (-,root,root)
%{prefix} /%{egwdirname} /%{calendar}
%files %{developer_tools}
%defattr (-,root,root)
%{prefix} /%{egwdirname} /%{developer_tools}
%files egw-pear
%defattr (-,root,root)
%{prefix} /%{egwdirname} /egw-pear
%files %{emailadmin}
%defattr (-,root,root)
%{prefix} /%{egwdirname} /%{emailadmin}
%files %{felamimail}
%defattr (-,root,root)
%{prefix} /%{egwdirname} /%{felamimail}
%files %{filemanager}
%defattr (-,root,root)
%{prefix} /%{egwdirname} /%{filemanager}
%files %{gallery}
%defattr (-,root,root)
%{prefix} /%{egwdirname} /%{gallery}
%files %{icalsrv}
%defattr (-,root,root)
%{prefix} /%{egwdirname} /%{icalsrv}
%files %{infolog}
%defattr (-,root,root)
%{prefix} /%{egwdirname} /%{infolog}
2008-07-22 14:02:33 +02:00
%files %{importexport}
%defattr (-,root,root)
%{prefix} /%{egwdirname} /%{importexport}
2007-04-30 13:32:10 +02:00
#%files %{jinn}
#%defattr(-,root,root)
#%{prefix}/%{egwdirname}/%{jinn}
%files %{manual}
%defattr (-,root,root)
%{prefix} /%{egwdirname} /%{manual}
%files %{mydms}
%defattr (-,root,root)
%{prefix} /%{egwdirname} /%{mydms}
%files %{news_admin}
%defattr (-,root,root)
%{prefix} /%{egwdirname} /%{news_admin}
2008-07-22 14:02:33 +02:00
%files %{notifications}
%defattr (-,root,root)
%{prefix} /%{egwdirname} /%{notifications}
2007-04-30 13:32:10 +02:00
%files %{phpbrain}
%defattr (-,root,root)
%{prefix} /%{egwdirname} /%{phpbrain}
%files %{phpsysinfo}
%defattr (-,root,root)
%{prefix} /%{egwdirname} /%{phpsysinfo}
%files %{polls}
%defattr (-,root,root)
%{prefix} /%{egwdirname} /%{polls}
%files %{projectmanager}
%defattr (-,root,root)
%{prefix} /%{egwdirname} /%{projectmanager}
%files %{registration}
%defattr (-,root,root)
%{prefix} /%{egwdirname} /%{registration}
%files %{resources}
%defattr (-,root,root)
%{prefix} /%{egwdirname} /%{resources}
%files %{sambaadmin}
%defattr (-,root,root)
%{prefix} /%{egwdirname} /%{sambaadmin}
%files %{sitemgr}
%defattr (-,root,root)
%{prefix} /%{egwdirname} /%{sitemgr}
%files %{timesheet}
%defattr (-,root,root)
%{prefix} /%{egwdirname} /%{timesheet}
%files %{tracker}
%defattr (-,root,root)
%{prefix} /%{egwdirname} /%{tracker}
%files %{wiki}
%defattr (-,root,root)
%{prefix} /%{egwdirname} /%{wiki}
#%files %{workflow}
#%defattr(-,root,root)
#%{prefix}/%{egwdirname}/%{workflow}
%changelog
2009-07-20 09:58:01 +02:00
* Mon Jul 20 2009 Ralf Becker <RalfBecker@outdoor-training.de> 1.6.002
- eGroupware 1.6.002 security and bugfix release
- fixes 3 security problems:
+ FCKeditor (remote file upload)
+ tracker (XSS problem)
+ knowledgebase (SQL injection)
- added HTML Purifier as preventive measure for FCKeditor content
- tons of bugfixes since initial 1.6.001 release
2008-11-24 15:10:05 +01:00
* Mon Nov 24 2008 Ralf Becker <RalfBecker@outdoor-training.de> 1.6.001
2008-11-24 12:06:59 +01:00
- eGroupware 1.6.001 final 1.6 release
2008-11-16 13:03:33 +01:00
* Sun Nov 16 2008 Ralf Becker <RalfBecker@outdoor-training.de> 1.6.rc5
- eGroupware 1.6.rc5 5. release candidate for 1.6 release
2008-11-09 17:51:06 +01:00
* Sun Nov 9 2008 Ralf Becker <RalfBecker@outdoor-training.de> 1.6.rc4
- eGroupware 1.6.rc4 4. release candidate for 1.6 release
2008-10-29 09:18:48 +01:00
* Wed Oct 29 2008 Ralf Becker <RalfBecker@outdoor-training.de> 1.6.rc3
- eGroupware 1.6.rc3 3. release candidate for 1.6 release
2008-10-22 10:29:13 +02:00
* Wed Oct 22 2008 Ralf Becker <RalfBecker@outdoor-training.de> 1.6.rc2
- eGroupware 1.6.rc2 2. release candidate for 1.6 release
2008-10-10 14:09:37 +02:00
* Fri Oct 10 2008 Ralf Becker <RalfBecker@outdoor-training.de> 1.6.rc1
- eGroupware 1.6.rc1 first release candidate for 1.6 release
2008-07-22 14:02:33 +02:00
* Tue Jul 22 2008 Ralf Becker <RalfBecker@outdoor-training.de> 1.6.pre1
- eGroupware 1.6.pre1 first preview of upcomming 1.6 release
* Mon Apr 15 2008 Ralf Becker <RalfBecker@outdoor-training.de> 1.4.004
- eGroupware 1.4.004 FCKeditor update (2.6) & security release
* Mon Mar 19 2008 Ralf Becker <RalfBecker@outdoor-training.de> 1.4.003
- eGroupware 1.4.003 security & maintainace release
* Mon Sep 24 2007 Ralf Becker <RalfBecker@outdoor-training.de> 1.4.002
- eGroupware 1.4.002 bugfix & maintainace release
2007-04-30 16:10:20 +02:00
2008-07-22 14:02:33 +02:00
* Mon Jun 4 2007 Ralf Becker <RalfBecker@outdoor-training.de> 1.4.001
- final eGroupware 1.4 release