SPECS: egroupware.spec - initial components split, based on spec f...
glen
glen at pld-linux.org
Wed May 31 01:29:41 CEST 2006
Author: glen Date: Tue May 30 23:29:41 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- initial components split, based on spec found from svn
---- Files affected:
SPECS:
egroupware.spec (1.22 -> 1.23)
---- Diffs:
================================================================
Index: SPECS/egroupware.spec
diff -u SPECS/egroupware.spec:1.22 SPECS/egroupware.spec:1.23
--- SPECS/egroupware.spec:1.22 Tue May 30 23:50:40 2006
+++ SPECS/egroupware.spec Wed May 31 01:29:35 2006
@@ -1,11 +1,10 @@
# $Revision$, $Date$
# TODO
-# - subpackages for applications
# - separate htdocs and includedirs
# - list of bundled software (to use pld packages instead):
# - everything
-%define _rel 0.3
+%define _rel 0.11
Summary: eGroupWare - a web-based groupware suite written in PHP
Summary(pl): eGroupWAre - oparte na WWW oprogramowanie do pracy grupowej napisane w PHP
Name: egroupware
@@ -15,24 +14,37 @@
Group: Applications/WWW
Source0: http://dl.sourceforge.net/egroupware/eGroupWare-%{version}-2.tar.bz2
# Source0-md5: 2758792188125086f815e0e412a30904
-Source1: %{name}.conf
-Source2: %{name}.cron
+Source1: http://dl.sourceforge.net/egroupware/eGroupWare-contrib-%{version}-2.tar.bz2
+# Source1-md5: 574b71590449f7650aecd61cda496aec
+Source2: %{name}.conf
+Source3: %{name}.cron
Patch0: %{name}-setup.patch
Patch1: %{name}-ttfdir.patch
URL: http://www.egroupware.org/
BuildRequires: rpmbuild(macros) >= 1.268
BuildRequires: sed >= 4.0
-Requires: %{name}(DB_Driver) = %{version}-%{release}
-Requires: /usr/bin/php
-Requires: crondaemon
-Requires: fonts-TTF-bitstream-vera
-Requires: php >= 3:4.3
-Requires: php-cli
-Requires: php-gd
-Requires: php-imap
-Requires: php-mbstring
-Requires: php-pcre
-Requires: webapps
+Requires: %{name}-addressbook = %{version}-%{release}
+Requires: %{name}-bookmarks = %{version}-%{release}
+Requires: %{name}-calendar = %{version}-%{release}
+Requires: %{name}-core = %{version}-%{release}
+Requires: %{name}-developer_tools = %{version}-%{release}
+Requires: %{name}-emailadmin = %{version}-%{release}
+Requires: %{name}-felamimail = %{version}-%{release}
+Requires: %{name}-filemanager = %{version}-%{release}
+Requires: %{name}-infolog = %{version}-%{release}
+Requires: %{name}-manual = %{version}-%{release}
+Requires: %{name}-mydms = %{version}-%{release}
+Requires: %{name}-news_admin = %{version}-%{release}
+Requires: %{name}-phpbrain = %{version}-%{release}
+Requires: %{name}-polls = %{version}-%{release}
+Requires: %{name}-projectmanager = %{version}-%{release}
+Requires: %{name}-registration = %{version}-%{release}
+Requires: %{name}-resources = %{version}-%{release}
+Requires: %{name}-sambaadmin = %{version}-%{release}
+Requires: %{name}-sitemgr = %{version}-%{release}
+Requires: %{name}-syncml = %{version}-%{release}
+Requires: %{name}-timesheet = %{version}-%{release}
+Requires: %{name}-wiki = %{version}-%{release}
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -43,9 +55,18 @@
%description
eGroupWare is a multi-user, web-based groupware suite developed on a
-custom set of PHP-based APIs. Currently available modules include:
-email, addressbook, calendar, infolog (notes, to-do's, phone calls),
-content management, forum, bookmarks, wiki.
+custom set of PHP-based APIs.
+
+This package provides the eGroupWare default applications:
+
+egroupware core with: admin, api, docs, etemplate, preferences, addressbook,
+bookmarks, calendar, translation-tools, emailadmin, felamimail, filemanager,
+infolog, manual, mydms, news admin, knowledgebase, polls, projectmanager,
+resources, sambaadmin, sitemgr, syncml, timesheet, wiki, workflow
+
+It also provides an API for developing additional applications.
+
+Further contributed applications are avalible in single packages.
%description -l pl
eGroupWare to wieloużytkownikowe, oparte na WWW oprogramowanie do
@@ -54,11 +75,373 @@
adresową, kalendarz, infolog (notatki, rzeczy do zrobienia, rozmowy
telefoniczne), zarządzanie treścią, forum, zakładki, wiki.
+%package core
+Summary: The eGroupWare core package
+Group: Applications/WWW
+Requires: %{name}(DB_Driver) = %{version}-%{release}
+Requires: /usr/bin/php
+Requires: crondaemon
+Requires: fonts-TTF-bitstream-vera
+Requires: php >= 3:4.3
+Requires: php-cli
+Requires: php-gd
+Requires: php-imap
+Requires: php-mbstring
+Requires: php-pcre
+Requires: webapps
+Provides: %{name}-etemplate = %{version}-%{release}
+Provides: %{name}-syncml = %{version}-%{release}
+
+%description core
+This package provides the eGroupWare core applications.
+
+%package addressbook
+Summary: The eGroupWare addressbook application
+Group: Applications/WWW
+Requires: %{name}-core = %{version}-%{release}
+
+%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 backup
+Summary: The eGroupWare backup application
+Group: Applications/WWW
+Requires: %{name}-core = %{version}-%{release}
+
+%description backup
+An online configurable backup app to store data offline. Can store
+files in zip, tar.gz and tar.bz2 on the local machine or Remote via
+FTP, SMBMOUNT or NFS
+
+%package browser
+Summary: The eGroupWare browser application
+Group: Applications/WWW
+Requires: %{name}-core = %{version}-%{release}
+
+%description browser
+Intergrated browser to surf the web within eGroupWare.
+
+%package bookmarks
+Summary: The eGroupWare bookmarks application
+Group: Applications/WWW
+Requires: %{name}-core = %{version}-%{release}
+
+%description bookmarks
+Manage your bookmarks with eGroupWare. Has Netscape plugin.
+
+%package calendar
+Summary: The eGroupWare calendar application
+Group: Applications/WWW
+Requires: %{name}-core = %{version}-%{release}
+
+%description calendar
+Powerful calendar with meeting request system, Alarms, ICal and E-Mail
+support, and ACL security.
+
+%package chatty
+Summary: Instant messenger for eGroupWare
+Group: Applications/WWW
+Requires: %{name}-core = %{version}-%{release}
+
+%description chatty
+Instant messenger application using AJAX.
+
+%package comic
+Summary: The eGroupWare comic application
+Group: Applications/WWW
+Requires: %{name}-core = %{version}-%{release}
+
+%description comic
+This application display comic strips.
+
+%package developer_tools
+Summary: The eGroupWare developer_tools application
+Group: Applications/WWW
+
+%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 email
+Summary: The eGroupWare email application
+Group: Applications/WWW
+Requires: %{name}-addressbook = %{version}-%{release}
+Requires: %{name}-core = %{version}-%{release}
+
+%description email
+AngleMail for eGroupWare at www.anglemail.org is an Email reader with
+multiple accounts and mailbox filtering. Also Anglemail support IMAP,
+IMAPS, POP3 and POP3S accounts.
+
+%package emailadmin
+Summary: The eGroupWare emailadmin application
+Group: Applications/WWW
+Requires: %{name}-core = %{version}-%{release}
+
+%description emailadmin
+EmailAdmin allow to maintain User email accounts
+
+%package egwical
+Summary: The eGroupWare egwical application
+Group: Applications/WWW
+Requires: %{name}-core = %{version}-%{release}
+
+%description egwical
+This is the egwical app for eGroupWare.
+
+%package felamimail
+Summary: The eGroupWare felamimail application
+Group: Applications/WWW
+Requires: %{name}-core = %{version}-%{release}
+Requires: %{name}-emailadmin = %{version}-%{release}
+
+%description felamimail
+The felamimail Email Reader is a other Email application for
+eGroupWare.
+
+%package filemanager
+Summary: The eGroupWare filemanager application
+Group: Applications/WWW
+Requires: %{name}-core = %{version}-%{release}
+
+%description filemanager
+This is the filemanager app for eGroupWare.
+
+%package filescenter
+Summary: The eGroupWare filescenter application
+Group: Applications/WWW
+Requires: %{name}-core = %{version}-%{release}
+
+%description filescenter
+This is the filescenter app for eGroupWare.
+
+%package forum
+Summary: The eGroupWare forum application
+Group: Applications/WWW
+Requires: %{name}-core = %{version}-%{release}
+
+%description forum
+This is the forum app for eGroupWare.
+
+%package ftp
+Summary: The eGroupWare ftp application
+Group: Applications/WWW
+Requires: %{name}-core = %{version}-%{release}
+
+%description ftp
+This is the ftp app for eGroupWare.
+
+%package fudforum
+Summary: The eGroupWare fudforum application
+Group: Applications/WWW
+Requires: %{name}-core = %{version}-%{release}
+
+%description fudforum
+This is the fudforum app for eGroupWare.
+
+%package headlines
+Summary: The eGroupWare headlines application
+Group: Applications/WWW
+Requires: %{name}-core = %{version}-%{release}
+
+%description headlines
+This is the headlines app for eGroupWare.
+
+%package icalsrv
+Summary: The eGroupWare icalsrv application
+Group: Applications/WWW
+Requires: %{name}-core = %{version}-%{release}
+
+%description icalsrv
+This is the icalsrv app for eGroupWare.
+
+%package infolog
+Summary: The eGroupWare infolog application
+Group: Applications/WWW
+Requires: %{name}-core = %{version}-%{release}
+Requires: %{name}-etemplate = %{version}-%{release}
+
+%description infolog
+This is the infolog app for eGroupWare (Notes, ToDo, Phonelogs, CRM).
+
+%package jinn
+Summary: The eGroupWare jinn application
+Group: Applications/WWW
+Requires: %{name}-core = %{version}-%{release}
+
+%description jinn
+The jinn app is a multi-site, multi-database, multi-user/-group,
+database driven Content Management System written in and for the
+eGroupWare Framework.
+
+%package manual
+Summary: The eGroupWare manual application
+Group: Applications/WWW
+Requires: %{name}-core = %{version}-%{release}
+
+%description manual
+This is the manual app for eGroupWare: online help system.
+
+%package messenger
+Summary: The eGroupWare messenger application
+Group: Applications/WWW
+Requires: %{name}-core = %{version}-%{release}
+
+%description messenger
+This is the messenger app for eGroupWare.
+
+%package mydms
+Summary: The eGroupWare mydms application
+Group: Applications/WWW
+Requires: %{name}-core = %{version}-%{release}
+
+%description mydms
+This is a mydms port to eGroupWare.
+
+%package news_admin
+Summary: The eGroupWare news_admin application
+Group: Applications/WWW
+Requires: %{name}-core = %{version}-%{release}
+
+%description news_admin
+This is the news_admin app for eGroupWare.
+
+%package phpbrain
+Summary: The eGroupWare phpbrain application
+Group: Applications/WWW
+Requires: %{name}-addressbook = %{version}-%{release}
+Requires: %{name}-core = %{version}-%{release}
+
+%description phpbrain
+This is the phpbrain app for eGroupWare.
+
+%package phpldapadmin
+Summary: The eGroupWare phpldapadmin application
+Group: Applications/WWW
+Requires: %{name}-core = %{version}-%{release}
+
+%description phpldapadmin
+This is the cire phpldapadmin of eGroupWare.
+
+%package phpsysinfo
+Summary: The eGroupWare phpsysinfo application
+Group: Applications/WWW
+Requires: %{name}-core = %{version}-%{release}
+
+%description phpsysinfo
+This is the phpsysinfo app for eGroupWare.
+
+%package polls
+Summary: The eGroupWare polls application
+Group: Applications/WWW
+Requires: %{name}-core = %{version}-%{release}
+
+%description polls
+This is the polls app for eGroupWare.
+
+%package projectmanager
+Summary: The eGroupWare projectmanager application
+Group: Applications/WWW
+Requires: %{name}-core = %{version}-%{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 projects
+Summary: The eGroupWare projects application
+Group: Applications/WWW
+Requires: %{name}-core = %{version}-%{release}
+
+%description projects
+This is the projects app for eGroupWare.
+
+%package registration
+Summary: The eGroupWare registration application
+Group: Applications/WWW
+Requires: %{name}-core = %{version}-%{release}
+
+%description registration
+This is the registration app for eGroupWare.
+
+%package resources
+Summary: The eGroupWare resources application
+Group: Applications/WWW
+Requires: %{name}-core = %{version}-%{release}
+
+%description resources
+resources is a resource booking sysmtem for eGroupWare. Which
+integrates into the calendar.
+
+%package sambaadmin
+Summary: The eGroupWare sambaadmin application
+Group: Applications/WWW
+Requires: %{name}-core = %{version}-%{release}
+
+%description sambaadmin
+Manage LDAP based sambaacounts and workstations.
+
+%package sitemgr
+Summary: The eGroupWare Sitemanager CMS application
+Group: Applications/WWW
+Requires: %{name}-core = %{version}-%{release}
+
+%description sitemgr
+This is the Sitemanager CMS app for eGroupWare.
+
+%package stocks
+Summary: The eGroupWare stocks application
+Group: Applications/WWW
+Requires: %{name}-core = %{version}-%{release}
+
+%description stocks
+This is the stocks app for eGroupWare.
+
+%package timesheet
+Summary: The eGroupWare timesheet application
+Group: Applications/WWW
+Requires: %{name}-core = %{version}-%{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 tts
+Summary: The eGroupWare trouble ticket system application
+Group: Applications/WWW
+Requires: %{name}-core = %{version}-%{release}
+
+%description tts
+This is the trouble ticket system} app for eGroupWare.
+
+%package wiki
+Summary: The eGroupWare wiki application
+Group: Applications/WWW
+Requires: %{name}-core = %{version}-%{release}
+
+%description wiki
+This is the wiki app for eGroupWare.
+
+%package workflow
+Summary: The eGroupWare workflow application
+Group: Applications/WWW
+Requires: %{name}-core = %{version}-%{release}
+
+%description workflow
+This is the workflow app for eGroupWare.
+
%package setup
Summary: eGroupware setup package
Summary(pl): Pakiet do wstępnej konfiguracji eGroupware
Group: Applications/WWW
-Requires: %{name} = %{version}-%{release}
+Requires: %{name}-core = %{version}-%{release}
%description setup
Install this package to configure initial eGroupware installation. You
@@ -80,6 +463,8 @@
%description db-mysql
This virtual package provides MySQL database backend for eGroupware.
+You will need MySQL server >= 4.0 to use this driver.
+
%description db-mysql -l pl
Ten wirtualny pakiet dostarcza backend bazy danych MySQL dla
eGroupware.
@@ -114,7 +499,8 @@
eGroupware.
%prep
-%setup -q -n %{name}
+%setup -q -n %{name} -a1
+mv %{name}/* .
# remove CVS control files
find -name .svn -print0 | xargs -0 rm -rf
@@ -135,7 +521,7 @@
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_appdir},%{_sysconfdir},/var/lib/%{name}/{default/{files,backup},sessions}}
+install -d $RPM_BUILD_ROOT{%{_appdir},%{_sysconfdir},/var/{lib/%{name}/default/{files,backup},run/%{name}}}
cp -a *.php $RPM_BUILD_ROOT%{_appdir}
cp -a */ $RPM_BUILD_ROOT%{_appdir}
@@ -143,9 +529,9 @@
> $RPM_BUILD_ROOT%{_sysconfdir}/header.php
ln -s %{_sysconfdir}/header.php $RPM_BUILD_ROOT%{_appdir}/header.inc.php
-install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/apache.conf
-install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
-install -D %{SOURCE2} $RPM_BUILD_ROOT/etc/cron.d/%{name}
+install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/apache.conf
+install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
+install -D %{SOURCE3} $RPM_BUILD_ROOT/etc/cron.d/%{name}
# needed by setup script
install header.inc.php.template $RPM_BUILD_ROOT%{_appdir}
@@ -155,21 +541,24 @@
%clean
rm -rf $RPM_BUILD_ROOT
-%triggerin -- apache1
+%triggerin core -- apache1
%webapp_register apache %{_webapp}
-%triggerun -- apache1
+%triggerun core -- apache1
%webapp_unregister apache %{_webapp}
-%triggerin -- apache < 2.2.0, apache-base
+%triggerin core -- apache < 2.2.0, apache-base
%webapp_register httpd %{_webapp}
-%triggerun -- apache < 2.2.0, apache-base
+%triggerun core -- apache < 2.2.0, apache-base
%webapp_unregister httpd %{_webapp}
%files
%defattr(644,root,root,755)
%doc doc/*
+
+%files core
+%defattr(644,root,root,755)
%dir %attr(750,root,http) %{_sysconfdir}
%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/apache.conf
%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf
@@ -177,33 +566,39 @@
%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/cron.d/%{name}
%dir %{_appdir}
%{_appdir}/*.php
-%{_appdir}/addressbook
+#%{_appdir}/addressbook
%{_appdir}/admin
-%{_appdir}/bookmarks
-%{_appdir}/calendar
-%{_appdir}/developer_tools
-%{_appdir}/emailadmin
+#%{_appdir}/bookmarks
+#%{_appdir}/calendar
+#%{_appdir}/developer_tools
+#%{_appdir}/emailadmin
%{_appdir}/etemplate
-%{_appdir}/felamimail
-%{_appdir}/filemanager
-%{_appdir}/infolog
-%{_appdir}/manual
-%{_appdir}/news_admin
-%{_appdir}/phpbrain
-%{_appdir}/polls
-%{_appdir}/phpsysinfo
+#%{_appdir}/felamimail
+#%{_appdir}/filemanager
+#%{_appdir}/infolog
+#%{_appdir}/manual
+#%{_appdir}/news_admin
+#%{_appdir}/phpbrain
+#%{_appdir}/polls
+#%{_appdir}/phpsysinfo
%{_appdir}/preferences
-%{_appdir}/registration
-%{_appdir}/sitemgr
-%{_appdir}/wiki
+#%{_appdir}/registration
+#%{_appdir}/sitemgr
+#%{_appdir}/wiki
%{_appdir}/home
-%{_appdir}/mydms
-%{_appdir}/projectmanager
-%{_appdir}/resources
-%{_appdir}/sambaadmin
+#%{_appdir}/mydms
+#%{_appdir}/projectmanager
+#%{_appdir}/resources
+#%{_appdir}/sambaadmin
%{_appdir}/syncml
-%{_appdir}/timesheet
-%{_appdir}/workflow
+#%{_appdir}/timesheet
+#%{_appdir}/workflow
+
+# TODO: to -contrib or subpkg
+%{_appdir}/xmlrpc
+%{_appdir}/soap
+%{_appdir}/switchuser
+%{_appdir}/skel
%dir %{_appdir}/phpgwapi
<<Diff was trimmed, longer than 597 lines>>
---- CVS-web:
http://cvs.pld-linux.org/SPECS/egroupware.spec?r1=1.22&r2=1.23&f=u
More information about the pld-cvs-commit
mailing list