Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37434982
en ru br
ALT Linux repos
5.0: 1.6-alt2.001
4.1: 1.6-alt0.001.M41.3

Group :: Networking/WWW
RPM: eGroupWare

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define packagename eGroupWare
%define egwdirname egroupware
%define egwversion 1.6
%define httpdconfd %_sysconfdir/httpd2/conf/addon.d
%define php php5

Name: eGroupWare
Version: %egwversion
Release: alt2.001
Epoch: 1
Summary: eGroupWare is a web-based groupware suite written in php
Summary(ru_RU.UTF-8): eGroupWare - это сервер групповой работы, написанный на php

Group: Networking/WWW
License: GPL/LGPL
Url: http://www.egroupware.org/
Source: %packagename-%egwversion.tar.bz2
Source1: %packagename-egw-pear-%egwversion.tar.bz2
Source2: %packagename-icalsrv-%egwversion.tar.bz2
Source3: %packagename-mydms-%egwversion.tar.bz2
Source4: %packagename-gallery-%egwversion.tar.bz2
Source5: egroupware_alt.tar.bz2
Source6: %packagename-workflow-%egwversion.tar.bz2
#Patch0: class.phpmailer.inc.php.patch
Patch1: class.uiasyncservice.inc.php.patch

BuildRequires: perl-Text-Iconv perl-CGI perl-String-CRC32 perl-DBI
Requires: apache2-httpd-prefork apache2
Requires: php-engine %php-libs %php-mysql %php-pdo_mysql %php-ldap %php-mbstring %php-imap %php-gd2 pear-core pear-Auth_SASL %php-xmlrpc %php-dom apache2-mod_php5 %packagename-egw-pear = %egwversion-%release %packagename-core = %egwversion-%release %packagename-emailadmin = %egwversion-%release

%add_findreq_skiplist /usr/share/egroupware/doc/rpm-build/build-egw-rpms.sh

BuildArch: noarch
Packager: Aeliya Grevnyov <gray_graff at altlinux.org>

%description
eGroupWare is a web-based groupware suite written in PHP.

This package provides the eGroupWare default applications:

egroupware core with: admin, api, docs, etemplate, prefereces and setup,
addressbook, bookmarks, calendar, translation-tools, emailadmin, felamimail,
filemanager, infolog, manual, mydms, 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 avalible in single packages.

%description -l ru_RU.UTF-8
eGroupWare - это свободное, готовое к использованию в компаниях,
групповое программное обеспечение для вашей сети.
Оно позволит вам управлять контактами, назначенными встречами,
задачами и многим другим для всей вашей работы.

eGroupWare - это сервер групповой работы. Он укомплектован собственным веб-интерфейсом,
который обеспечивает доступ к вашим данным с любой платформы по всей планете.
Более того, вы также можете выбрать для доступа к серверу eGroupWare свой любимый клиент
групповой работы (Kontact, Evolution, Outlook) и даже мобильный телефон или КПК посредством SyncML.

%package core
Summary: The eGroupWare contrib package
Group: Networking/WWW
Provides: %packagename-core
Requires: %packagename = %egwversion-%release
%description core
This package provides the eGroupWare contrib applications.
%post core

%package addressbook
Version: %egwversion
Summary: The eGroupWare addressbook application
Group: Networking/WWW
Requires: %packagename-core = %egwversion-%release
Provides: %packagename-addressbook
%description addressbook
Contact manager with Vcard support.
addressbook is the egroupware default contact application.
It makes use of the egroupware contacts class to store and retrieve
contact information via SQL, LDAP or Active Directory.

%package bookmarks
Version: %egwversion
Summary: The eGroupWare bookmarks application
Group: Networking/WWW
Requires: %packagename-core = %egwversion-%release
%description bookmarks
Manage your bookmarks with eGroupWare. Has Netscape plugin.

%package calendar
Version: %egwversion
Summary: The eGroupWare calendar application
Group: Networking/WWW
Requires: %packagename-core = %egwversion-%release
%description calendar
Powerful calendar with meeting request system, Alarms, ICal and E-Mail support,
and ACL security.

%package developer_tools
Version: %egwversion
Summary: The eGroupWare developer_tools application
Group: Networking/WWW
Requires: %packagename-core = %egwversion-%release
%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 egw-pear
Version: %egwversion
Summary: The eGroupWare egw-pear application
Group: Networking/WWW
Requires: pear-core
Requires: %packagename-core = %egwversion-%release
%description egw-pear
egw-pear contains the pear classes modified to work with eGroupWare

%package emailadmin
Version: %egwversion
Summary: The eGroupWare emailadmin application
Group: Networking/WWW
Requires: %packagename-core = %egwversion-%release, %packagename-egw-pear = %egwversion-%release, %php-openssl
%description emailadmin
EmailAdmin allow to maintain User email accounts

%package felamimail
Version: %egwversion
Summary: The eGroupWare felamimail application
Group: Networking/WWW
Requires: %packagename-core = %egwversion-%release, %packagename-emailadmin = %egwversion-%release, %packagename-egw-pear = %egwversion-%release
%description felamimail
The Email application for eGroupWare.

%package filemanager
Version: %egwversion
Summary: The eGroupWare filemanager application
Group: Networking/WWW
Requires: %packagename-core = %egwversion-%release, %packagename-egw-pear = %egwversion-%release
%description filemanager
This is the filemanager app for eGroupWare.

%package gallery
Version: %egwversion
Summary: The eGroupWare gallery application
Group: Networking/WWW
Requires: %packagename-core = %egwversion-%release, %packagename-egw-pear = %egwversion-%release
%description gallery
An embedded Gallery2 for eGroupWare.

%package icalsrv
Version: %egwversion
Summary: The eGroupWare icalsrv application
Group: Networking/WWW
Requires: %packagename-core = %egwversion-%release
%description icalsrv
This is the icalsrv app for eGroupWare.

%package infolog
Version: %egwversion
Summary: The eGroupWare infolog application
Group: Networking/WWW
Requires: %packagename-core = %egwversion-%release
%description infolog
This is the infolog app for eGroupWare (Notes, ToDo, Phonelogs, CRM).

%package importexport
Version: %egwversion
Summary: The eGroupWare importexport application
Group: Networking/WWW
Requires: %packagename-core = %egwversion-%release
%description importexport
This is the importexport app for eGroupWare. It includes a comandline client.

%package manual
Version: %egwversion
Summary: The eGroupWare manual application
Group: Networking/WWW
Requires: %packagename-core = %egwversion-%release
%description manual
This is the manual app for eGroupWare: online help system.

%package mydms
Version: %egwversion
Summary: The eGroupWare mydms application
Group: Networking/WWW
Requires: %packagename-core = %egwversion-%release, %packagename-egw-pear = %egwversion-%release
%description mydms
This is a mydms port to eGroupWare.

%package news_admin
Version: %egwversion
Summary: The eGroupWare news_admin application
Group: Networking/WWW
Requires: %packagename-core = %egwversion-%release, pear-XML_Feed_Parser
%description news_admin
This is the news_admin app for eGroupWare.

%package notifications
Version: %egwversion
Summary: The eGroupWare notifications application
Group: Networking/WWW
Requires: %packagename-core = %egwversion-%release
%description notifications
This is the notifications app for eGroupWare.

%package phpbrain
Version: %egwversion
Summary: The eGroupWare phpbrain application
Group: Networking/WWW
Requires: %packagename-core = %egwversion-%release, %packagename-addressbook = %egwversion-%release
%description phpbrain
This is the phpbrain app for eGroupWare.

%package phpsysinfo
Version: %egwversion
Summary: The eGroupWare phpsysinfo application
Group: Networking/WWW
Requires: %packagename-core = %egwversion-%release
%description phpsysinfo
This is the phpsysinfo app for eGroupWare.

%package polls
Version: %egwversion
Summary: The eGroupWare polls application
Group: Networking/WWW
Requires: %packagename-core = %egwversion-%release
%description polls
This is the polls app for eGroupWare.

%package projectmanager
Version: %egwversion
Summary: The eGroupWare projectmanager application
Group: Networking/WWW
Requires: %packagename-core = %egwversion-%release
%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
Version: %egwversion
Summary: The eGroupWare registration application
Group: Networking/WWW
Requires: %packagename-core = %egwversion-%release
%description registration
This is the registration app for eGroupWare.

%package resources
Version: %egwversion
Summary: The eGroupWare resources application
Group: Networking/WWW
Requires: %packagename-core = %egwversion-%release
%description resources
resources is a resource booking sysmtem for eGroupWare.
Which integrates into the calendar.

%package sambaadmin
Version: %egwversion
Summary: The eGroupWare sambaadmin application
Group: Networking/WWW
Requires: %packagename-core = %egwversion-%release
%description sambaadmin
Manage LDAP based sambaacounts and workstations.

%package sitemgr
Version: %egwversion
Summary: The eGroupWare Sitemanager CMS application
Group: Networking/WWW
Requires: %packagename-core = %egwversion-%release
%description sitemgr
This is the Sitemanager CMS app for eGroupWare.

%package syncml
Version: %egwversion
Summary: The eGroupWare syncml application
Group: Networking/WWW
Requires: %packagename-core = %egwversion-%release, %php >= 5.0.0
%description syncml
This is the syncml app for eGroupWare.

%package timesheet
Version: %egwversion
Summary: The eGroupWare timesheet application
Group: Networking/WWW
Requires: %packagename-core = %egwversion-%release
%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
Version: %egwversion
Summary: The eGroupWare trouble ticket system application
Group: Networking/WWW
Requires: %packagename-core = %egwversion-%release
%description tracker
This is the trouble ticket system app for eGroupWare.

%package wiki
Version: %egwversion
Summary: The eGroupWare wiki application
Group: Networking/WWW
Requires: %packagename-core = %egwversion-%release
%description wiki
This is the wiki app for eGroupWare.

%package workflow
Version: %egwversion
Summary: The eGroupWare wiki application
Group: Networking/WWW
Requires: %packagename-core = %egwversion-%release
%description workflow
This is the workflow app for eGroupWare.
This was first a port from Galaxia workflow, a project from the TikiWiki group.

%prep
%setup -c -n %egwdirname
%setup -T -D -a 1 -n %egwdirname
%setup -T -D -a 2 -n %egwdirname
%setup -T -D -a 3 -n %egwdirname
%setup -T -D -a 4 -n %egwdirname
%setup -T -D -a 5 -n %egwdirname
%setup -T -D -a 6 -n %egwdirname
#%%patch0 -p 0
%patch1 -p 0

%build
%install
mkdir -p %buildroot%_datadir/%egwdirname
cp -aRf  etc var %buildroot
cp -aRf egroupware/* %buildroot%_datadir/%egwdirname

rm -f %buildroot%_datadir/%egwdirname/.htaccess

find %buildroot%_datadir/%egwdirname -name .svn | xargs rm -rf
find %buildroot%_datadir/%egwdirname -type f -name "Thumbs.db" -print | xargs /bin/rm -f
find %buildroot%_datadir/%egwdirname -type f -name "*.swp" -print | xargs /bin/rm -f

chmod +x %buildroot%_datadir/%egwdirname/*/*cli.php %buildroot%_datadir/%egwdirname/phpgwapi/cron/*.php

cd %buildroot%_datadir/%egwdirname
ln -s ../../../var/lib/egroupware/header.inc.php

%files

%files core
%dir %_datadir/%egwdirname
%dir /var/lib/egroupware
%_datadir/%egwdirname/about.php
%_datadir/%egwdirname/anon_wrapper.php
%_datadir/%egwdirname/header.inc.php
%_datadir/%egwdirname/header.inc.php.template
%_datadir/%egwdirname/index.php
%_datadir/%egwdirname/login.php
%_datadir/%egwdirname/logout.php
%_datadir/%egwdirname/notify.php
%_datadir/%egwdirname/notify_simple.php
%_datadir/%egwdirname/notifyxml.php
%_datadir/%egwdirname/redirect.php
%_datadir/%egwdirname/rpc.php
%_datadir/%egwdirname/set_box.php
%_datadir/%egwdirname/soap.php
%_datadir/%egwdirname/xajax.php
%_datadir/%egwdirname/xmlrpc.php
%_datadir/%egwdirname/admin
%_datadir/%egwdirname/doc
%_datadir/%egwdirname/etemplate
%_datadir/%egwdirname/home
%_datadir/%egwdirname/phpgwapi
%_datadir/%egwdirname/preferences
%_datadir/%egwdirname/setup
%_datadir/%egwdirname/svn-helper.php
%_datadir/%egwdirname/groupdav.php
%_datadir/%egwdirname/webdav.php
%_sysconfdir/cron.d/egroupware
%config %attr(0644,root,root) %httpdconfd/A.egroupware.conf
%dir %attr(0755,apache2,apache2) /var/lib/egroupware/default
%dir %attr(0755,apache2,apache2) /var/lib/egroupware/default/files
%dir %attr(0755,apache2,apache2) /var/lib/egroupware/default/backup
#%%dir %attr(0755,apache2,apache2) /var/lib/egroupware/sessions
%config %attr(0640,apache2,apache2) /var/lib/egroupware/header.inc.php

%files addressbook
%_datadir/%egwdirname/addressbook
%files calendar
%_datadir/%egwdirname/calendar
%files developer_tools
%_datadir/%egwdirname/developer_tools
%files egw-pear
%_datadir/%egwdirname/egw-pear
%files emailadmin
%_datadir/%egwdirname/emailadmin
%files felamimail
%_datadir/%egwdirname/felamimail
%files filemanager
%_datadir/%egwdirname/filemanager
%files gallery
%_datadir/%egwdirname/gallery
%files icalsrv
%_datadir/%egwdirname/icalsrv
%files infolog
%_datadir/%egwdirname/infolog
%files importexport
%_datadir/%egwdirname/importexport
%files bookmarks
%_datadir/%egwdirname/bookmarks
%files syncml
%_datadir/%egwdirname/syncml
%files manual
%_datadir/%egwdirname/manual
%files mydms
%_datadir/%egwdirname/mydms
%files news_admin
%_datadir/%egwdirname/news_admin
%files notifications
%_datadir/%egwdirname/notifications
%files phpbrain
%_datadir/%egwdirname/phpbrain
%files phpsysinfo
%_datadir/%egwdirname/phpsysinfo
%files polls
%_datadir/%egwdirname/polls
%files projectmanager
%_datadir/%egwdirname/projectmanager
%files registration
%_datadir/%egwdirname/registration
%files resources
%_datadir/%egwdirname/resources
%files sambaadmin
%_datadir/%egwdirname/sambaadmin
%files sitemgr
%_datadir/%egwdirname/sitemgr
%files timesheet
%_datadir/%egwdirname/timesheet
%files tracker
%_datadir/%egwdirname/tracker
%files wiki
%_datadir/%egwdirname/wiki
%files workflow
%_datadir/%egwdirname/workflow

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin