2009-06-01 22:56:17 +02:00
|
|
|
Name: egroupware-epl
|
|
|
|
Version: 9.1.20090601
|
2009-06-01 21:50:45 +02:00
|
|
|
Release:
|
|
|
|
Summary: EGroupware is a web-based groupware suite written in php.
|
|
|
|
Distribution: %{distribution}
|
|
|
|
Group: Web/Database
|
|
|
|
License: GPLv2 with exception of stylite module, which is proprietary
|
|
|
|
URL: http://www.stylite.de/EPL
|
2009-06-01 22:56:17 +02:00
|
|
|
Vendor: Stylite GmbH [http://www.stylite.de/]
|
|
|
|
Packager: Ralf Becker <rb@stylite.de>
|
2009-06-01 21:50:45 +02:00
|
|
|
Prefix: /usr/share
|
2009-06-01 22:56:17 +02:00
|
|
|
%define egwdir %{prefix}/egroupware
|
2009-06-01 21:50:45 +02:00
|
|
|
%define egwdatadir /var/lib/egroupware
|
2009-06-01 22:56:17 +02:00
|
|
|
%define egw_packagename eGroupware
|
2009-06-01 21:50:45 +02:00
|
|
|
|
|
|
|
%if 0%{?suse_version}
|
|
|
|
%define httpdconfd /etc/apache2/conf.d
|
|
|
|
%define source5 egroupware_suse.tar.bz2
|
|
|
|
%define distribution SUSE Linux %{?suse_version}
|
|
|
|
%define php php5
|
|
|
|
%define extra_requires apache2 apache2-mod_php5 php_any_db php5-dom
|
|
|
|
%define cron cron
|
2009-06-01 22:56:17 +02:00
|
|
|
%define rpm_post_install /usr/bin/php5 %{egwdir}/doc/rpm-build/rpm_post_install.php --php /usr/bin/php5 --start_db /etc/init.d/mysql --autostart_db /sbin/chkconfig --level 3 mysql on --start_webserver /etc/init.d/apache2 --autostart_webserver /sbin/chkconfig --level 3 apache2 on
|
2009-06-01 21:50:45 +02:00
|
|
|
%else
|
|
|
|
%define php php
|
|
|
|
%define httpdconfd /etc/httpd/conf.d
|
|
|
|
%define source5 egroupware_fedora.tar.bz2
|
|
|
|
%define cron crontabs
|
2009-06-01 22:56:17 +02:00
|
|
|
%define rpm_post_install /usr/bin/php %{egwdir}/doc/rpm-build/rpm_post_install.php
|
2009-06-01 21:50:45 +02:00
|
|
|
%endif
|
|
|
|
%if 0%{?fedora_version}
|
|
|
|
%define osversion %{?fedora_version}
|
|
|
|
%define distribution Fedora Core %{?fedora_version}
|
|
|
|
%define extra_requires httpd php-mysql php-xml
|
|
|
|
%endif
|
|
|
|
%if 0%{?mandriva_version}
|
|
|
|
%define osversion %{?mandriva_version}
|
|
|
|
%define distribution Mandriva %{?mandriva_version}
|
|
|
|
%define extra_requires apache php-mysql php-dom
|
|
|
|
%endif
|
|
|
|
%if 0%{?rhel_version}
|
|
|
|
%define osversion %{?rhel_version}
|
|
|
|
%define distribution Red Hat %{?rhel_version}
|
|
|
|
%define extra_requires httpd php-mysql php-xml
|
|
|
|
%endif
|
|
|
|
%if 0%{?centos_version}
|
|
|
|
%define osversion %{?centos_version}
|
|
|
|
%define distribution CentOS %{?centos_version}
|
|
|
|
%define extra_requires httpd php-mysql php-xml
|
|
|
|
%endif
|
|
|
|
|
2009-06-01 22:56:17 +02:00
|
|
|
Source0: %{name}-%{version}.tar.bz2
|
|
|
|
Source1: %{name}-egw-pear-%{version}.tar.bz2
|
|
|
|
Source2: %{name}-stylite-%{version}.tar.bz2
|
|
|
|
Source3: %{name}-gallery-%{version}.tar.bz2
|
2009-06-01 21:50:45 +02:00
|
|
|
Source4: %{?source5}
|
2009-06-01 22:56:17 +02:00
|
|
|
Source5: %{name}-rpmlintrc
|
2009-06-01 21:50:45 +02:00
|
|
|
Patch0: class.uiasyncservice.inc.php.patch
|
2009-06-01 22:56:17 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-buildroot
|
|
|
|
|
|
|
|
#otherwise build fails because of jar files in G2
|
|
|
|
BuildRequires: unzip
|
|
|
|
|
|
|
|
Buildarch: noarch
|
|
|
|
AutoReqProv: no
|
2009-06-01 21:50:45 +02:00
|
|
|
|
|
|
|
Requires: %{php} >= 5.1.2
|
|
|
|
Requires: %{php}-mbstring %{php}-imap %{php}-gd %{php}-pear %{extra_requires} %{cron}
|
2009-06-01 22:56:17 +02:00
|
|
|
Requires: %{name}-core = %{version}
|
|
|
|
Requires: %{name}-egw-pear = %{version}
|
|
|
|
Requires: %{name}-stylite = %{version}
|
|
|
|
#Requires: %{name}-addressbook = %{version}
|
|
|
|
Requires: %{name}-bookmarks = %{version}
|
|
|
|
Requires: %{name}-calendar = %{version}
|
|
|
|
Requires: %{name}-developer_tools = %{version}
|
|
|
|
Requires: %{name}-emailadmin = %{version}
|
|
|
|
Requires: %{name}-felamimail = %{version}
|
|
|
|
Requires: %{name}-filemanager = %{version}
|
|
|
|
Requires: %{name}-infolog = %{version}
|
|
|
|
Requires: %{name}-importexport = %{version}
|
|
|
|
Requires: %{name}-manual = %{version}
|
|
|
|
Requires: %{name}-news_admin = %{version}
|
|
|
|
Requires: %{name}-notifications = %{version}
|
|
|
|
Requires: %{name}-phpbrain = %{version}
|
|
|
|
Requires: %{name}-polls = %{version}
|
|
|
|
Requires: %{name}-projectmanager = %{version}
|
|
|
|
Requires: %{name}-registration = %{version}
|
|
|
|
Requires: %{name}-resources = %{version}
|
|
|
|
Requires: %{name}-sambaadmin = %{version}
|
|
|
|
Requires: %{name}-sitemgr = %{version}
|
|
|
|
Requires: %{name}-syncml = %{version}
|
|
|
|
Requires: %{name}-timesheet = %{version}
|
|
|
|
Requires: %{name}-wiki = %{version}
|
2009-06-01 21:50:45 +02:00
|
|
|
Provides: %{egw_packagename}
|
|
|
|
Obsoletes: %{egw_packagename} %{egw_packagename}-core %{egw_packagename}-addressbook %{egw_packagename}-bookmarks %{egw_packagename}-calendar %{egw_packagename}-developer_tools %{egw_packagename}-emailadmin %{egw_packagename}-felamimail %{egw_packagename}-filemanager %{egw_packagename}-infolog %{egw_packagename}-importexport %{egw_packagename}-manual %{egw_packagename}-news_admin %{egw_packagename}-notifications %{egw_packagename}-phpbrain %{egw_packagename}-polls %{egw_packagename}-projectmanager %{egw_packagename}-registration %{egw_packagename}-resources %{egw_packagename}-sambaadmin %{egw_packagename}-sitemgr %{egw_packagename}-syncml %{egw_packagename}-timesheet %{egw_packagename}-wiki
|
|
|
|
%post
|
|
|
|
%if 0%{?rhel_version} || 0%{?fedora_version} || 0%{?centos_version}
|
|
|
|
chcon -R -u user_u -r object_r -t httpd_sys_content_t %{egwdatadir}
|
|
|
|
setsebool -P httpd_can_network_connect=1
|
|
|
|
%endif
|
2009-06-01 22:56:17 +02:00
|
|
|
%define install_log /root/%{name}-%{version}-install.log
|
|
|
|
%{rpm_post_install} 2>&1 | tee -a %{install_log}
|
|
|
|
echo EGroupware install log saved to %{install_log}
|
2009-06-01 21:50:45 +02:00
|
|
|
|
|
|
|
%description
|
|
|
|
EGroupware is a web-based groupware suite written in PHP.
|
|
|
|
|
|
|
|
EGroupware EPL combines Stylite's actual EGroupware enhancements and the recent development of the EGroupware open source project in one software package.
|
|
|
|
- Brand new Stylite features, which are not available publicly in the community edition of EGroupware
|
|
|
|
- The latest possible state of open source community features.
|
|
|
|
|
|
|
|
This package automatically requires the EGroupware default applications:
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
It also provides an API for developing additional applications.
|
|
|
|
|
|
|
|
Further contributed applications are available as separate packages.
|
|
|
|
|
|
|
|
%package core
|
|
|
|
Summary: The EGroupware core
|
|
|
|
Group: Web/Database
|
2009-06-01 22:56:17 +02:00
|
|
|
Provides: egw-core %{version}
|
2009-06-01 21:50:45 +02:00
|
|
|
%description core
|
|
|
|
This package provides the EGroupware core applications.
|
|
|
|
|
|
|
|
%package egw-pear
|
2009-06-01 22:56:17 +02:00
|
|
|
Version: %{version}
|
2009-06-01 21:50:45 +02:00
|
|
|
Summary: The EGroupware egw-pear application
|
|
|
|
Group: Web/Database
|
|
|
|
Requires: %{php}-pear
|
|
|
|
AutoReqProv: no
|
2009-06-01 22:56:17 +02:00
|
|
|
Requires: egw-core = %{version}
|
2009-06-01 21:50:45 +02:00
|
|
|
%description egw-pear
|
|
|
|
egw-pear contains modified pear classes necessary for EGroupware
|
|
|
|
|
|
|
|
# addressbook is part of core now, as it contains required classes for accounts
|
|
|
|
#%package addressbook
|
2009-06-01 22:56:17 +02:00
|
|
|
#Version: %{version}
|
2009-06-01 21:50:45 +02:00
|
|
|
#Summary: The EGroupware addressbook application
|
|
|
|
#Group: Web/Database
|
|
|
|
#AutoReqProv: no
|
2009-06-01 22:56:17 +02:00
|
|
|
#Requires: egw-core = %{version}
|
2009-06-01 21:50:45 +02:00
|
|
|
#%description addressbook
|
|
|
|
#Contact manager with Vcard support.
|
|
|
|
#Addressbook is the egroupware contact application.
|
|
|
|
#It has different backends to store and retrive contacts
|
|
|
|
#from SQL or LDAP.
|
|
|
|
|
|
|
|
%package bookmarks
|
2009-06-01 22:56:17 +02:00
|
|
|
Version: %{version}
|
2009-06-01 21:50:45 +02:00
|
|
|
Summary: The EGroupware bookmarks application
|
|
|
|
Group: Web/Database
|
|
|
|
AutoReqProv: no
|
2009-06-01 22:56:17 +02:00
|
|
|
Requires: egw-core = %{version}
|
2009-06-01 21:50:45 +02:00
|
|
|
%description bookmarks
|
|
|
|
Manage your bookmarks with EGroupware. Has Netscape plugin.
|
|
|
|
|
|
|
|
%package calendar
|
2009-06-01 22:56:17 +02:00
|
|
|
Version: %{version}
|
2009-06-01 21:50:45 +02:00
|
|
|
Summary: The EGroupware calendar application
|
|
|
|
Group: Web/Database
|
|
|
|
AutoReqProv: no
|
2009-06-01 22:56:17 +02:00
|
|
|
Requires: egw-core = %{version}
|
2009-06-01 21:50:45 +02:00
|
|
|
%description calendar
|
|
|
|
Powerful calendar with meeting request system, Alarms, ICal and E-Mail support,
|
|
|
|
and ACL security.
|
|
|
|
|
|
|
|
%package developer_tools
|
2009-06-01 22:56:17 +02:00
|
|
|
Version: %{version}
|
2009-06-01 21:50:45 +02:00
|
|
|
Summary: The EGroupware developer_tools application
|
|
|
|
Group: Web/Database
|
|
|
|
AutoReqProv: no
|
2009-06-01 22:56:17 +02:00
|
|
|
Requires: egw-core = %{version}
|
2009-06-01 21:50:45 +02:00
|
|
|
%description developer_tools
|
|
|
|
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.
|
|
|
|
|
|
|
|
%package emailadmin
|
2009-06-01 22:56:17 +02:00
|
|
|
Version: %{version}
|
2009-06-01 21:50:45 +02:00
|
|
|
Summary: The EGroupware emailadmin application
|
|
|
|
Group: Web/Database
|
|
|
|
AutoReqProv: no
|
2009-06-01 22:56:17 +02:00
|
|
|
Requires: egw-core = %{version}
|
|
|
|
Requires: %{name}-egw-pear = %{version}
|
2009-06-01 21:50:45 +02:00
|
|
|
%description emailadmin
|
|
|
|
EmailAdmin allow to maintain User email accounts
|
|
|
|
|
|
|
|
%package felamimail
|
2009-06-01 22:56:17 +02:00
|
|
|
Version: %{version}
|
2009-06-01 21:50:45 +02:00
|
|
|
Summary: The EGroupware Webmail application
|
|
|
|
Group: Web/Database
|
|
|
|
AutoReqProv: no
|
2009-06-01 22:56:17 +02:00
|
|
|
Requires: egw-core = %{version}
|
|
|
|
Requires: %{name}-emailadmin = %{version}
|
|
|
|
Requires: %{name}-egw-pear = %{version}
|
2009-06-01 21:50:45 +02:00
|
|
|
%description felamimail
|
|
|
|
The Email application for EGroupware.
|
|
|
|
|
|
|
|
%package filemanager
|
2009-06-01 22:56:17 +02:00
|
|
|
Version: %{version}
|
2009-06-01 21:50:45 +02:00
|
|
|
Summary: The EGroupware filemanager application
|
|
|
|
Group: Web/Database
|
|
|
|
AutoReqProv: no
|
2009-06-01 22:56:17 +02:00
|
|
|
Requires: egw-core = %{version}
|
|
|
|
Requires: %{name}-egw-pear = %{version}
|
2009-06-01 21:50:45 +02:00
|
|
|
%description filemanager
|
|
|
|
This is the filemanager app for EGroupware.
|
|
|
|
|
|
|
|
%package gallery
|
2009-06-01 22:56:17 +02:00
|
|
|
Version: %{version}
|
2009-06-01 21:50:45 +02:00
|
|
|
Summary: The EGroupware gallery application
|
|
|
|
Group: Web/Database
|
|
|
|
AutoReqProv: no
|
2009-06-01 22:56:17 +02:00
|
|
|
Requires: egw-core = %{version}
|
2009-06-01 21:50:45 +02:00
|
|
|
%description gallery
|
|
|
|
An embedded Gallery2 for EGroupware.
|
|
|
|
|
|
|
|
%package infolog
|
2009-06-01 22:56:17 +02:00
|
|
|
Version: %{version}
|
2009-06-01 21:50:45 +02:00
|
|
|
Summary: The EGroupware infolog application
|
|
|
|
Group: Web/Database
|
|
|
|
AutoReqProv: no
|
2009-06-01 22:56:17 +02:00
|
|
|
Requires: egw-core = %{version}
|
2009-06-01 21:50:45 +02:00
|
|
|
%description infolog
|
|
|
|
This is the infolog app for EGroupware (Notes, ToDo, Phonelogs, CRM).
|
|
|
|
|
|
|
|
%package importexport
|
2009-06-01 22:56:17 +02:00
|
|
|
Version: %{version}
|
2009-06-01 21:50:45 +02:00
|
|
|
Summary: The EGroupware importexport application
|
|
|
|
Group: Web/Database
|
|
|
|
AutoReqProv: no
|
2009-06-01 22:56:17 +02:00
|
|
|
Requires: egw-core = %{version}
|
2009-06-01 21:50:45 +02:00
|
|
|
%description importexport
|
|
|
|
This is the importexport app for EGroupware. It includes a comandline client.
|
|
|
|
|
|
|
|
%package manual
|
2009-06-01 22:56:17 +02:00
|
|
|
Version: %{version}
|
2009-06-01 21:50:45 +02:00
|
|
|
Summary: The EGroupware manual application
|
|
|
|
Group: Web/Database
|
|
|
|
AutoReqProv: no
|
2009-06-01 22:56:17 +02:00
|
|
|
Requires: egw-core = %{version}
|
|
|
|
Requires: %{name}-wiki = %{version}
|
2009-06-01 21:50:45 +02:00
|
|
|
%description manual
|
|
|
|
This is the manual app for EGroupware: online help system.
|
|
|
|
|
|
|
|
#%package mydms
|
2009-06-01 22:56:17 +02:00
|
|
|
#Version: %{version}
|
2009-06-01 21:50:45 +02:00
|
|
|
#Summary: The EGroupware mydms application
|
|
|
|
#Group: Web/Database
|
|
|
|
#AutoReqProv: no
|
2009-06-01 22:56:17 +02:00
|
|
|
#Requires: egw-core = %{version}
|
|
|
|
#Requires: %{name}-egw-pear = %{version}
|
2009-06-01 21:50:45 +02:00
|
|
|
#%description mydms
|
|
|
|
#This is a mydms port to EGroupware.
|
|
|
|
|
|
|
|
%package news_admin
|
2009-06-01 22:56:17 +02:00
|
|
|
Version: %{version}
|
2009-06-01 21:50:45 +02:00
|
|
|
Summary: The EGroupware news_admin application
|
|
|
|
Group: Web/Database
|
|
|
|
AutoReqProv: no
|
2009-06-01 22:56:17 +02:00
|
|
|
Requires: egw-core = %{version}
|
2009-06-01 21:50:45 +02:00
|
|
|
%description news_admin
|
|
|
|
This is the news_admin app for EGroupware.
|
|
|
|
|
|
|
|
%package notifications
|
2009-06-01 22:56:17 +02:00
|
|
|
Version: %{version}
|
2009-06-01 21:50:45 +02:00
|
|
|
Summary: The EGroupware notifications application
|
|
|
|
Group: Web/Database
|
|
|
|
AutoReqProv: no
|
2009-06-01 22:56:17 +02:00
|
|
|
Requires: egw-core = %{version}
|
2009-06-01 21:50:45 +02:00
|
|
|
%description notifications
|
|
|
|
This is the notifications app for EGroupware.
|
|
|
|
|
|
|
|
%package phpbrain
|
2009-06-01 22:56:17 +02:00
|
|
|
Version: %{version}
|
2009-06-01 21:50:45 +02:00
|
|
|
Summary: The EGroupware phpbrain application
|
|
|
|
Group: Web/Database
|
|
|
|
AutoReqProv: no
|
2009-06-01 22:56:17 +02:00
|
|
|
Requires: egw-core = %{version}
|
2009-06-01 21:50:45 +02:00
|
|
|
%description phpbrain
|
|
|
|
This is a knowledgebase for EGroupware.
|
|
|
|
|
|
|
|
%package phpsysinfo
|
2009-06-01 22:56:17 +02:00
|
|
|
Version: %{version}
|
2009-06-01 21:50:45 +02:00
|
|
|
Summary: The EGroupware phpsysinfo application
|
|
|
|
Group: Web/Database
|
|
|
|
AutoReqProv: no
|
2009-06-01 22:56:17 +02:00
|
|
|
Requires: egw-core = %{version}
|
2009-06-01 21:50:45 +02:00
|
|
|
%description phpsysinfo
|
|
|
|
This is the phpsysinfo app for EGroupware.
|
|
|
|
|
|
|
|
%package polls
|
2009-06-01 22:56:17 +02:00
|
|
|
Version: %{version}
|
2009-06-01 21:50:45 +02:00
|
|
|
Summary: The EGroupware polls application
|
|
|
|
Group: Web/Database
|
|
|
|
AutoReqProv: no
|
2009-06-01 22:56:17 +02:00
|
|
|
Requires: egw-core = %{version}
|
2009-06-01 21:50:45 +02:00
|
|
|
%description polls
|
|
|
|
This is the polls app for EGroupware.
|
|
|
|
|
|
|
|
%package projectmanager
|
2009-06-01 22:56:17 +02:00
|
|
|
Version: %{version}
|
2009-06-01 21:50:45 +02:00
|
|
|
Summary: The EGroupware projectmanager application
|
|
|
|
Group: Web/Database
|
|
|
|
AutoReqProv: no
|
2009-06-01 22:56:17 +02:00
|
|
|
Requires: egw-core = %{version},
|
2009-06-01 21:50:45 +02:00
|
|
|
%description projectmanager
|
|
|
|
The projectmanager is EGroupware's new project management application.
|
|
|
|
It's fully integrated into EGroupware and use the data of InfoLog and Calendar.
|
|
|
|
Plugable datasources allow to support and manage further applications.
|
|
|
|
|
|
|
|
%package registration
|
2009-06-01 22:56:17 +02:00
|
|
|
Version: %{version}
|
2009-06-01 21:50:45 +02:00
|
|
|
Summary: The EGroupware registration application
|
|
|
|
Group: Web/Database
|
|
|
|
AutoReqProv: no
|
2009-06-01 22:56:17 +02:00
|
|
|
Requires: egw-core = %{version}
|
2009-06-01 21:50:45 +02:00
|
|
|
%description registration
|
|
|
|
This is the registration app for EGroupware.
|
|
|
|
|
|
|
|
%package resources
|
2009-06-01 22:56:17 +02:00
|
|
|
Version: %{version}
|
2009-06-01 21:50:45 +02:00
|
|
|
Summary: The EGroupware resources application
|
|
|
|
Group: Web/Database
|
|
|
|
AutoReqProv: no
|
2009-06-01 22:56:17 +02:00
|
|
|
Requires: egw-core = %{version}
|
2009-06-01 21:50:45 +02:00
|
|
|
%description resources
|
|
|
|
resources is a resource booking sysmtem for EGroupware.
|
|
|
|
Which integrates into the calendar.
|
|
|
|
|
|
|
|
%package sambaadmin
|
2009-06-01 22:56:17 +02:00
|
|
|
Version: %{version}
|
2009-06-01 21:50:45 +02:00
|
|
|
Summary: The EGroupware sambaadmin application
|
|
|
|
Group: Web/Database
|
|
|
|
AutoReqProv: no
|
2009-06-01 22:56:17 +02:00
|
|
|
Requires: egw-core = %{version}
|
2009-06-01 21:50:45 +02:00
|
|
|
%description sambaadmin
|
|
|
|
Manage LDAP based sambaacounts and workstations.
|
|
|
|
|
|
|
|
%package sitemgr
|
2009-06-01 22:56:17 +02:00
|
|
|
Version: %{version}
|
2009-06-01 21:50:45 +02:00
|
|
|
Summary: The EGroupware Sitemanager CMS application
|
|
|
|
Group: Web/Database
|
|
|
|
AutoReqProv: no
|
2009-06-01 22:56:17 +02:00
|
|
|
Requires: egw-core = %{version}
|
2009-06-01 21:50:45 +02:00
|
|
|
%description sitemgr
|
|
|
|
This is the Sitemanager CMS app for EGroupware.
|
|
|
|
|
|
|
|
%package stylite
|
2009-06-01 22:56:17 +02:00
|
|
|
Version: %{version}
|
2009-06-01 21:50:45 +02:00
|
|
|
Summary: Stylite EPL enhancements
|
|
|
|
License: proprietary, see http://www.stylite.de/EPL
|
|
|
|
Group: Web/Database
|
|
|
|
AutoReqProv: no
|
2009-06-01 22:56:17 +02:00
|
|
|
Requires: egw-core = %{version}
|
2009-06-01 21:50:45 +02:00
|
|
|
%description stylite
|
|
|
|
The package contains Stylite proprietary EPL enhancements:
|
|
|
|
- stylite.links stream wrapper allows browsing of app directories
|
|
|
|
- filemanger favorites
|
|
|
|
|
|
|
|
%package syncml
|
2009-06-01 22:56:17 +02:00
|
|
|
Version: %{version}
|
2009-06-01 21:50:45 +02:00
|
|
|
Summary: The EGroupware syncml application
|
|
|
|
Group: Web/Database
|
|
|
|
AutoReqProv: no
|
2009-06-01 22:56:17 +02:00
|
|
|
Requires: egw-core = %{version}
|
|
|
|
Requires: %{name}-egw-pear = %{version}
|
2009-06-01 21:50:45 +02:00
|
|
|
%description syncml
|
|
|
|
This is the syncml app for EGroupware.
|
|
|
|
|
|
|
|
%package timesheet
|
2009-06-01 22:56:17 +02:00
|
|
|
Version: %{version}
|
2009-06-01 21:50:45 +02:00
|
|
|
Summary: The EGroupware timesheet application
|
|
|
|
Group: Web/Database
|
|
|
|
AutoReqProv: no
|
2009-06-01 22:56:17 +02:00
|
|
|
Requires: egw-core = %{version}
|
2009-06-01 21:50:45 +02:00
|
|
|
%description timesheet
|
|
|
|
Simple timesheet application, which allow to record and report
|
|
|
|
the times and other expenses. It can be uses as well standalone
|
|
|
|
as together with the ProjectManager application.
|
|
|
|
|
|
|
|
%package tracker
|
2009-06-01 22:56:17 +02:00
|
|
|
Version: %{version}
|
2009-06-01 21:50:45 +02:00
|
|
|
Summary: The EGroupware trouble ticket system application
|
|
|
|
Group: Web/Database
|
|
|
|
AutoReqProv: no
|
2009-06-01 22:56:17 +02:00
|
|
|
Requires: egw-core = %{version}
|
2009-06-01 21:50:45 +02:00
|
|
|
%description tracker
|
|
|
|
This is the trouble ticket system app for EGroupware.
|
|
|
|
|
|
|
|
%package wiki
|
2009-06-01 22:56:17 +02:00
|
|
|
Version: %{version}
|
2009-06-01 21:50:45 +02:00
|
|
|
Summary: The EGroupware wiki application
|
|
|
|
Group: Web/Database
|
|
|
|
AutoReqProv: no
|
2009-06-01 22:56:17 +02:00
|
|
|
Requires: egw-core = %{version},
|
2009-06-01 21:50:45 +02:00
|
|
|
%description wiki
|
|
|
|
This is the wiki app for EGroupware.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup0 -c -n %{egwdirname}
|
|
|
|
%setup1 -T -D -a 1 -n %{egwdirname}
|
|
|
|
%setup2 -T -D -a 2 -n %{egwdirname}
|
|
|
|
%setup3 -T -D -a 3 -n %{egwdirname}
|
|
|
|
%setup4 -T -D -a 4 -n %{egwdirname}
|
|
|
|
%setup5 -T -D -a 5 -n %{egwdirname}
|
|
|
|
%patch0 -p 0
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
|
2009-06-01 22:56:17 +02:00
|
|
|
mkdir -p $RPM_BUILD_ROOT%{egwdir}
|
2009-06-01 21:50:45 +02:00
|
|
|
cp -aRf etc var $RPM_BUILD_ROOT
|
2009-06-01 22:56:17 +02:00
|
|
|
cp -aRf egroupware/* $RPM_BUILD_ROOT%{egwdir}
|
2009-06-01 21:50:45 +02:00
|
|
|
|
2009-06-01 22:56:17 +02:00
|
|
|
cd %{buildroot}%{egwdir}
|
2009-06-01 21:50:45 +02:00
|
|
|
ln -s ../../..%{egwdatadir}/header.inc.php
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
|
|
|
|
|
|
|
|
# egroupware metapackage seems to need some files to be build ...
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2009-06-01 22:56:17 +02:00
|
|
|
%dir %{egwdir}
|
2009-06-01 21:50:45 +02:00
|
|
|
%dir %{egwdatadir}
|
|
|
|
|
|
|
|
%files core
|
|
|
|
%defattr(-,root,root)
|
2009-06-01 22:56:17 +02:00
|
|
|
%dir %{egwdir}
|
2009-06-01 21:50:45 +02:00
|
|
|
%dir %{egwdatadir}
|
2009-06-01 22:56:17 +02:00
|
|
|
%{egwdir}/about.php
|
|
|
|
%{egwdir}/anon_wrapper.php
|
|
|
|
%{egwdir}/header.inc.php
|
|
|
|
%{egwdir}/header.inc.php.template
|
|
|
|
%{egwdir}/index.php
|
|
|
|
%{egwdir}/login.php
|
|
|
|
%{egwdir}/logout.php
|
|
|
|
%{egwdir}/notify.php
|
|
|
|
%{egwdir}/notify_simple.php
|
|
|
|
%{egwdir}/notifyxml.php
|
|
|
|
%{egwdir}/redirect.php
|
|
|
|
%{egwdir}/rpc.php
|
|
|
|
%{egwdir}/set_box.php
|
|
|
|
%{egwdir}/soap.php
|
|
|
|
%{egwdir}/svn-helper.php
|
|
|
|
%{egwdir}/xajax.php
|
|
|
|
%{egwdir}/xmlrpc.php
|
|
|
|
%{egwdir}/groupdav.php
|
|
|
|
%{egwdir}/webdav.php
|
|
|
|
%{egwdir}/addressbook
|
|
|
|
%{egwdir}/admin
|
|
|
|
%{egwdir}/doc
|
|
|
|
%{egwdir}/etemplate
|
|
|
|
%{egwdir}/home
|
|
|
|
%{egwdir}/phpgwapi
|
|
|
|
%{egwdir}/preferences
|
|
|
|
%{egwdir}/setup
|
2009-06-01 21:50:45 +02:00
|
|
|
%attr(0644,root,root) /etc/cron.d/egroupware
|
|
|
|
%config %attr(0644,root,root) %{httpdconfd}/egroupware.conf
|
|
|
|
%if 0%{?suse_version}
|
|
|
|
%dir %attr(0755,root,root) /etc/apache2
|
|
|
|
%dir %attr(0755,root,root) %{httpdconfd}
|
|
|
|
%dir %attr(0755,wwwrun,www) %{egwdatadir}/default
|
|
|
|
%dir %attr(0755,wwwrun,www) %{egwdatadir}/default/files
|
|
|
|
%dir %attr(0755,wwwrun,www) %{egwdatadir}/default/backup
|
|
|
|
%config %attr(0640,wwwrun,www) %{egwdatadir}/header.inc.php
|
|
|
|
%endif
|
|
|
|
%if 0%{?rhel_version} || 0%{?fedora_version} || 0%{?centos_version}
|
|
|
|
%dir %attr(0755,apache,apache) %{egwdatadir}/default
|
|
|
|
%dir %attr(0755,apache,apache) %{egwdatadir}/default/files
|
|
|
|
%dir %attr(0755,apache,apache) %{egwdatadir}/default/backup
|
|
|
|
%config %attr(0640,apache,apache) %{egwdatadir}/header.inc.php
|
|
|
|
%endif
|
|
|
|
%if 0%{?mandriva_version}
|
|
|
|
%dir %attr(0755,apache,apache) %{egwdatadir}/default
|
|
|
|
%dir %attr(0755,apache,apache) %{egwdatadir}/default/files
|
|
|
|
%dir %attr(0755,apache,apache) %{egwdatadir}/default/backup
|
|
|
|
%config %attr(0640,apache,apache) %{egwdatadir}/header.inc.php
|
|
|
|
%endif
|
|
|
|
|
|
|
|
# addressbook is part of core now, as it contains required classes for accounts
|
|
|
|
#%files addressbook
|
|
|
|
#%defattr(-,root,root)
|
2009-06-01 22:56:17 +02:00
|
|
|
#%{egwdir}/addressbook
|
2009-06-01 21:50:45 +02:00
|
|
|
|
|
|
|
%files bookmarks
|
|
|
|
%defattr(-,root,root)
|
2009-06-01 22:56:17 +02:00
|
|
|
%{egwdir}/bookmarks
|
2009-06-01 21:50:45 +02:00
|
|
|
|
|
|
|
%files calendar
|
|
|
|
%defattr(-,root,root)
|
2009-06-01 22:56:17 +02:00
|
|
|
%{egwdir}/calendar
|
2009-06-01 21:50:45 +02:00
|
|
|
|
|
|
|
%files developer_tools
|
|
|
|
%defattr(-,root,root)
|
2009-06-01 22:56:17 +02:00
|
|
|
%{egwdir}/developer_tools
|
2009-06-01 21:50:45 +02:00
|
|
|
|
|
|
|
%files egw-pear
|
|
|
|
%defattr(-,root,root)
|
2009-06-01 22:56:17 +02:00
|
|
|
%{egwdir}/egw-pear
|
2009-06-01 21:50:45 +02:00
|
|
|
|
|
|
|
%files emailadmin
|
|
|
|
%defattr(-,root,root)
|
2009-06-01 22:56:17 +02:00
|
|
|
%{egwdir}/emailadmin
|
2009-06-01 21:50:45 +02:00
|
|
|
|
|
|
|
%files felamimail
|
|
|
|
%defattr(-,root,root)
|
2009-06-01 22:56:17 +02:00
|
|
|
%{egwdir}/felamimail
|
2009-06-01 21:50:45 +02:00
|
|
|
|
|
|
|
%files filemanager
|
|
|
|
%defattr(-,root,root)
|
2009-06-01 22:56:17 +02:00
|
|
|
%{egwdir}/filemanager
|
2009-06-01 21:50:45 +02:00
|
|
|
|
|
|
|
%files gallery
|
|
|
|
%defattr(-,root,root)
|
2009-06-01 22:56:17 +02:00
|
|
|
%{egwdir}/gallery
|
2009-06-01 21:50:45 +02:00
|
|
|
|
|
|
|
%files infolog
|
|
|
|
%defattr(-,root,root)
|
2009-06-01 22:56:17 +02:00
|
|
|
%{egwdir}/infolog
|
2009-06-01 21:50:45 +02:00
|
|
|
|
|
|
|
%files importexport
|
|
|
|
%defattr(-,root,root)
|
2009-06-01 22:56:17 +02:00
|
|
|
%{egwdir}/importexport
|
2009-06-01 21:50:45 +02:00
|
|
|
|
|
|
|
%files manual
|
|
|
|
%defattr(-,root,root)
|
2009-06-01 22:56:17 +02:00
|
|
|
%{egwdir}/manual
|
2009-06-01 21:50:45 +02:00
|
|
|
|
|
|
|
#%files mydms
|
|
|
|
#%defattr(-,root,root)
|
2009-06-01 22:56:17 +02:00
|
|
|
#%{egwdir}/mydms
|
2009-06-01 21:50:45 +02:00
|
|
|
|
|
|
|
%files news_admin
|
|
|
|
%defattr(-,root,root)
|
2009-06-01 22:56:17 +02:00
|
|
|
%{egwdir}/news_admin
|
2009-06-01 21:50:45 +02:00
|
|
|
|
|
|
|
%files notifications
|
|
|
|
%defattr(-,root,root)
|
2009-06-01 22:56:17 +02:00
|
|
|
%{egwdir}/notifications
|
2009-06-01 21:50:45 +02:00
|
|
|
|
|
|
|
%files phpbrain
|
|
|
|
%defattr(-,root,root)
|
2009-06-01 22:56:17 +02:00
|
|
|
%{egwdir}/phpbrain
|
2009-06-01 21:50:45 +02:00
|
|
|
|
|
|
|
%files phpsysinfo
|
|
|
|
%defattr(-,root,root)
|
2009-06-01 22:56:17 +02:00
|
|
|
%{egwdir}/phpsysinfo
|
2009-06-01 21:50:45 +02:00
|
|
|
|
|
|
|
%files polls
|
|
|
|
%defattr(-,root,root)
|
2009-06-01 22:56:17 +02:00
|
|
|
%{egwdir}/polls
|
2009-06-01 21:50:45 +02:00
|
|
|
|
|
|
|
%files projectmanager
|
|
|
|
%defattr(-,root,root)
|
2009-06-01 22:56:17 +02:00
|
|
|
%{egwdir}/projectmanager
|
2009-06-01 21:50:45 +02:00
|
|
|
|
|
|
|
%files registration
|
|
|
|
%defattr(-,root,root)
|
2009-06-01 22:56:17 +02:00
|
|
|
%{egwdir}/registration
|
2009-06-01 21:50:45 +02:00
|
|
|
|
|
|
|
%files resources
|
|
|
|
%defattr(-,root,root)
|
2009-06-01 22:56:17 +02:00
|
|
|
%{egwdir}/resources
|
2009-06-01 21:50:45 +02:00
|
|
|
|
|
|
|
%files sambaadmin
|
|
|
|
%defattr(-,root,root)
|
2009-06-01 22:56:17 +02:00
|
|
|
%{egwdir}/sambaadmin
|
2009-06-01 21:50:45 +02:00
|
|
|
|
|
|
|
%files sitemgr
|
|
|
|
%defattr(-,root,root)
|
2009-06-01 22:56:17 +02:00
|
|
|
%{egwdir}/sitemgr
|
2009-06-01 21:50:45 +02:00
|
|
|
|
|
|
|
%files syncml
|
|
|
|
%defattr(-,root,root)
|
2009-06-01 22:56:17 +02:00
|
|
|
%{egwdir}/syncml
|
2009-06-01 21:50:45 +02:00
|
|
|
|
|
|
|
%files stylite
|
|
|
|
%defattr(-,root,root)
|
2009-06-01 22:56:17 +02:00
|
|
|
%{egwdir}/stylite
|
2009-06-01 21:50:45 +02:00
|
|
|
|
|
|
|
%files timesheet
|
|
|
|
%defattr(-,root,root)
|
2009-06-01 22:56:17 +02:00
|
|
|
%{egwdir}/timesheet
|
2009-06-01 21:50:45 +02:00
|
|
|
|
|
|
|
%files tracker
|
|
|
|
%defattr(-,root,root)
|
2009-06-01 22:56:17 +02:00
|
|
|
%{egwdir}/tracker
|
2009-06-01 21:50:45 +02:00
|
|
|
|
|
|
|
%files wiki
|
|
|
|
%defattr(-,root,root)
|
2009-06-01 22:56:17 +02:00
|
|
|
%{egwdir}/wiki
|
2009-06-01 21:50:45 +02:00
|
|
|
|
|
|
|
#%files workflow
|
|
|
|
#%defattr(-,root,root)
|
2009-06-01 22:56:17 +02:00
|
|
|
#%{egwdir}/workflow
|
2009-06-01 21:50:45 +02:00
|
|
|
|
|
|
|
%changelog
|
|
|
|
* Mon Jun 1 2009 Ralf Becker <rb@stylite.de> 9.1.20090601
|
|
|
|
- EGroupware EPL release 9.1 preview
|