2 # - separate htdocs and includedirs
3 # - list of bundled software (to use pld packages instead):
7 Summary: eGroupWare - a web-based groupware suite written in PHP
8 Summary(pl): eGroupWAre - oparte na WWW oprogramowanie do pracy grupowej napisane w PHP
13 Group: Applications/WWW
14 Source0: http://dl.sourceforge.net/egroupware/eGroupWare-%{version}-2.tar.bz2
15 # Source0-md5: 2758792188125086f815e0e412a30904
16 Source1: http://dl.sourceforge.net/egroupware/eGroupWare-contrib-%{version}-2.tar.bz2
17 # Source1-md5: 574b71590449f7650aecd61cda496aec
20 Patch0: %{name}-setup.patch
21 Patch1: %{name}-ttfdir.patch
22 URL: http://www.egroupware.org/
23 BuildRequires: rpmbuild(macros) >= 1.268
24 BuildRequires: sed >= 4.0
25 Requires: %{name}-addressbook = %{version}-%{release}
26 Requires: %{name}-bookmarks = %{version}-%{release}
27 Requires: %{name}-calendar = %{version}-%{release}
28 Requires: %{name}-core = %{version}-%{release}
29 Requires: %{name}-developer_tools = %{version}-%{release}
30 Requires: %{name}-emailadmin = %{version}-%{release}
31 Requires: %{name}-felamimail = %{version}-%{release}
32 Requires: %{name}-filemanager = %{version}-%{release}
33 Requires: %{name}-infolog = %{version}-%{release}
34 Requires: %{name}-manual = %{version}-%{release}
35 Requires: %{name}-mydms = %{version}-%{release}
36 Requires: %{name}-news_admin = %{version}-%{release}
37 Requires: %{name}-phpbrain = %{version}-%{release}
38 Requires: %{name}-polls = %{version}-%{release}
39 Requires: %{name}-projectmanager = %{version}-%{release}
40 Requires: %{name}-registration = %{version}-%{release}
41 Requires: %{name}-resources = %{version}-%{release}
42 Requires: %{name}-sambaadmin = %{version}-%{release}
43 Requires: %{name}-sitemgr = %{version}-%{release}
44 Requires: %{name}-syncml = %{version}-%{release}
45 Requires: %{name}-timesheet = %{version}-%{release}
46 Requires: %{name}-wiki = %{version}-%{release}
48 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
50 %define _webapps /etc/webapps
51 %define _webapp %{name}
52 %define _sysconfdir %{_webapps}/%{_webapp}
53 %define _appdir %{_datadir}/%{_webapp}
56 eGroupWare is a multi-user, web-based groupware suite developed on a
57 custom set of PHP-based APIs.
59 This package provides the eGroupWare default applications:
61 egroupware core with: admin, api, docs, etemplate, preferences,
62 addressbook, bookmarks, calendar, translation-tools, emailadmin,
63 felamimail, filemanager, infolog, manual, mydms, news admin,
64 knowledgebase, polls, projectmanager, resources, sambaadmin, sitemgr,
65 syncml, timesheet, wiki, workflow
67 It also provides an API for developing additional applications.
69 Further contributed applications are avalible in single packages.
72 eGroupWare to wielou¿ytkownikowe, oparte na WWW oprogramowanie do
73 pracy grupowej stworzone na w³asnym zestawie API opartych na PHP.
74 Aktualnie dostêpne modu³y obejmuj±: pocztê elektroniczn±, ksi±¿kê
75 adresow±, kalendarz, infolog (notatki, rzeczy do zrobienia, rozmowy
76 telefoniczne), zarz±dzanie tre¶ci±, forum, zak³adki, wiki.
79 Summary: The eGroupWare core package
80 Group: Applications/WWW
81 Requires: %{name}(DB_Driver) = %{version}-%{release}
82 Requires: /usr/bin/php
84 Requires: fonts-TTF-bitstream-vera
85 Requires: php >= 3:4.3
89 Requires: php-mbstring
92 Provides: %{name}-etemplate = %{version}-%{release}
93 Provides: %{name}-syncml = %{version}-%{release}
96 This package provides the eGroupWare core applications.
99 Summary: The eGroupWare addressbook application
100 Group: Applications/WWW
101 Requires: %{name}-core = %{version}-%{release}
103 %description addressbook
104 Contact manager with Vcard support. addressbook is the egroupware
105 default contact application. It makes use of the egroupware contacts
106 class to store and retrieve contact information via SQL, LDAP or
110 Summary: The eGroupWare backup application
111 Group: Applications/WWW
112 Requires: %{name}-core = %{version}-%{release}
115 An online configurable backup app to store data offline. Can store
116 files in zip, tar.gz and tar.bz2 on the local machine or Remote via
120 Summary: The eGroupWare browser application
121 Group: Applications/WWW
122 Requires: %{name}-core = %{version}-%{release}
125 Intergrated browser to surf the web within eGroupWare.
128 Summary: The eGroupWare bookmarks application
129 Group: Applications/WWW
130 Requires: %{name}-core = %{version}-%{release}
132 %description bookmarks
133 Manage your bookmarks with eGroupWare. Has Netscape plugin.
136 Summary: The eGroupWare calendar application
137 Group: Applications/WWW
138 Requires: %{name}-core = %{version}-%{release}
139 Requires: %{name}-etemplate = %{version}-%{release}
141 %description calendar
142 Powerful calendar with meeting request system, Alarms, ICal and E-Mail
143 support, and ACL security.
146 Summary: Instant messenger for eGroupWare
147 Group: Applications/WWW
148 Requires: %{name}-core = %{version}-%{release}
151 Instant messenger application using AJAX.
154 Summary: The eGroupWare comic application
155 Group: Applications/WWW
156 Requires: %{name}-core = %{version}-%{release}
159 This application display comic strips.
161 %package developer_tools
162 Summary: The eGroupWare developer_tools application
163 Group: Applications/WWW
165 %description developer_tools
166 The TranslationTools allow to create and extend translations-files for
167 eGroupWare. They can search the sources for new / added phrases and
168 show you the ones missing in your language.
171 Summary: The eGroupWare email application
172 Group: Applications/WWW
173 Requires: %{name}-addressbook = %{version}-%{release}
174 Requires: %{name}-core = %{version}-%{release}
177 AngleMail for eGroupWare at www.anglemail.org is an Email reader with
178 multiple accounts and mailbox filtering. Also Anglemail support IMAP,
179 IMAPS, POP3 and POP3S accounts.
182 Summary: The eGroupWare emailadmin application
183 Group: Applications/WWW
184 Requires: %{name}-core = %{version}-%{release}
186 %description emailadmin
187 EmailAdmin allow to maintain User email accounts
190 Summary: The eGroupWare egwical application
191 Group: Applications/WWW
192 Requires: %{name}-core = %{version}-%{release}
195 This is the egwical app for eGroupWare.
198 Summary: The eGroupWare felamimail application
199 Group: Applications/WWW
200 Requires: %{name}-core = %{version}-%{release}
201 Requires: %{name}-emailadmin = %{version}-%{release}
203 %description felamimail
204 The felamimail Email Reader is a other Email application for
208 Summary: The eGroupWare filemanager application
209 Group: Applications/WWW
210 Requires: %{name}-core = %{version}-%{release}
212 %description filemanager
213 This is the filemanager app for eGroupWare.
216 Summary: The eGroupWare filescenter application
217 Group: Applications/WWW
218 Requires: %{name}-core = %{version}-%{release}
220 %description filescenter
221 This is the filescenter app for eGroupWare.
224 Summary: The eGroupWare forum application
225 Group: Applications/WWW
226 Requires: %{name}-core = %{version}-%{release}
229 This is the forum app for eGroupWare.
232 Summary: The eGroupWare ftp application
233 Group: Applications/WWW
234 Requires: %{name}-core = %{version}-%{release}
237 This is the ftp app for eGroupWare.
240 Summary: The eGroupWare fudforum application
241 Group: Applications/WWW
242 Requires: %{name}-core = %{version}-%{release}
244 %description fudforum
245 This is the fudforum app for eGroupWare.
248 Summary: The eGroupWare headlines application
249 Group: Applications/WWW
250 Requires: %{name}-core = %{version}-%{release}
252 %description headlines
253 This is the headlines app for eGroupWare.
256 Summary: The eGroupWare icalsrv application
257 Group: Applications/WWW
258 Requires: %{name}-core = %{version}-%{release}
261 This is the icalsrv app for eGroupWare.
264 Summary: The eGroupWare infolog application
265 Group: Applications/WWW
266 Requires: %{name}-core = %{version}-%{release}
267 Requires: %{name}-etemplate = %{version}-%{release}
270 This is the infolog app for eGroupWare (Notes, ToDo, Phonelogs, CRM).
273 Summary: The eGroupWare jinn application
274 Group: Applications/WWW
275 Requires: %{name}-core = %{version}-%{release}
278 The jinn app is a multi-site, multi-database, multi-user/-group,
279 database driven Content Management System written in and for the
280 eGroupWare Framework.
283 Summary: The eGroupWare manual application
284 Group: Applications/WWW
285 Requires: %{name}-core = %{version}-%{release}
288 This is the manual app for eGroupWare: online help system.
291 Summary: The eGroupWare messenger application
292 Group: Applications/WWW
293 Requires: %{name}-core = %{version}-%{release}
295 %description messenger
296 This is the messenger app for eGroupWare.
299 Summary: The eGroupWare mydms application
300 Group: Applications/WWW
301 Requires: %{name}-core = %{version}-%{release}
304 This is a mydms port to eGroupWare.
307 Summary: The eGroupWare news_admin application
308 Group: Applications/WWW
309 Requires: %{name}-core = %{version}-%{release}
311 %description news_admin
312 This is the news_admin app for eGroupWare.
315 Summary: The eGroupWare phpbrain application
316 Group: Applications/WWW
317 Requires: %{name}-addressbook = %{version}-%{release}
318 Requires: %{name}-core = %{version}-%{release}
320 %description phpbrain
321 This is the phpbrain app for eGroupWare.
323 %package phpldapadmin
324 Summary: The eGroupWare phpldapadmin application
325 Group: Applications/WWW
326 Requires: %{name}-core = %{version}-%{release}
328 %description phpldapadmin
329 This is the cire phpldapadmin of eGroupWare.
332 Summary: The eGroupWare phpsysinfo application
333 Group: Applications/WWW
334 Requires: %{name}-core = %{version}-%{release}
336 %description phpsysinfo
337 This is the phpsysinfo app for eGroupWare.
340 Summary: The eGroupWare polls application
341 Group: Applications/WWW
342 Requires: %{name}-core = %{version}-%{release}
345 This is the polls app for eGroupWare.
347 %package projectmanager
348 Summary: The eGroupWare projectmanager application
349 Group: Applications/WWW
350 Requires: %{name}-core = %{version}-%{release}
351 Requires: %{name}-etemplate = %{version}-%{release}
353 %description projectmanager
354 The projectmanager is eGroupWare's new project management application.
355 It's fully integrated into eGroupWare and use the data of InfoLog and
356 Calendar. Plugable datasources allow to support and manage further
360 Summary: The eGroupWare projects application
361 Group: Applications/WWW
362 Requires: %{name}-core = %{version}-%{release}
364 %description projects
365 This is the projects app for eGroupWare.
367 %package registration
368 Summary: The eGroupWare registration application
369 Group: Applications/WWW
370 Requires: %{name}-core = %{version}-%{release}
372 %description registration
373 This is the registration app for eGroupWare.
376 Summary: The eGroupWare resources application
377 Group: Applications/WWW
378 Requires: %{name}-core = %{version}-%{release}
379 Requires: %{name}-etemplate = %{version}-%{release}
381 %description resources
382 resources is a resource booking sysmtem for eGroupWare. Which
383 integrates into the calendar.
386 Summary: The eGroupWare sambaadmin application
387 Group: Applications/WWW
388 Requires: %{name}-core = %{version}-%{release}
390 %description sambaadmin
391 Manage LDAP based sambaacounts and workstations.
394 Summary: The eGroupWare Sitemanager CMS application
395 Group: Applications/WWW
396 Requires: %{name}-core = %{version}-%{release}
399 This is the Sitemanager CMS app for eGroupWare.
402 Summary: The eGroupWare stocks application
403 Group: Applications/WWW
404 Requires: %{name}-core = %{version}-%{release}
407 This is the stocks app for eGroupWare.
410 Summary: The eGroupWare timesheet application
411 Group: Applications/WWW
412 Requires: %{name}-core = %{version}-%{release}
413 Requires: %{name}-etemplate = %{version}-%{release}
415 %description timesheet
416 Simple timesheet application, which allow to record and report the
417 times and other expenses. It can be uses as well standalone as
418 together with the ProjectManager application.
421 Summary: The eGroupWare trouble ticket system application
422 Group: Applications/WWW
423 Requires: %{name}-core = %{version}-%{release}
426 This is the trouble ticket system} app for eGroupWare.
429 Summary: The eGroupWare wiki application
430 Group: Applications/WWW
431 Requires: %{name}-core = %{version}-%{release}
434 This is the wiki app for eGroupWare.
437 Summary: The eGroupWare workflow application
438 Group: Applications/WWW
439 Requires: %{name}-core = %{version}-%{release}
441 %description workflow
442 This is the workflow app for eGroupWare.
445 Summary: eGroupware setup package
446 Summary(pl): Pakiet do wstêpnej konfiguracji eGroupware
447 Group: Applications/WWW
448 Requires: %{name}-core = %{version}-%{release}
451 Install this package to configure initial eGroupware installation. You
452 should uninstall this package when you're done, as it considered
453 insecure to keep the setup files in place.
455 %description setup -l pl
456 Ten pakiet nale¿y zainstalowaæ w celu wstêpnej konfiguracji eGroupware
457 po pierwszej instalacji. Potem nale¿y go odinstalowaæ, jako ¿e
458 pozostawienie plików instalacyjnych mog³oby byæ niebezpieczne.
461 Summary: eGroupware DB Driver for MySQL
462 Summary(pl): Sterownik bazy danych eGroupware dla MySQL-a
463 Group: Applications/WWW
465 Provides: %{name}(DB_Driver) = %{version}-%{release}
467 %description db-mysql
468 This virtual package provides MySQL database backend for eGroupware.
470 You will need MySQL server >= 4.0 to use this driver.
472 %description db-mysql -l pl
473 Ten wirtualny pakiet dostarcza backend bazy danych MySQL dla
477 Summary: eGroupware DB Driver for PostgreSQL
478 Summary(pl): Sterownik bazy danych eGroupware dla PostgreSQL-a
479 Group: Applications/WWW
481 Provides: %{name}(DB_Driver) = %{version}-%{release}
483 %description db-pgsql
484 This virtual package provides PostgreSQL database backend for
487 %description db-pgsql -l pl
488 Ten wirtualny pakiet dostarcza backend bazy danych PostgreSQL dla
492 Summary: eGroupware DB Driver for MS SQL
493 Summary(pl): Sterownik bazy danych eGroupware dla MS SQL-a
494 Group: Applications/WWW
496 Provides: %{name}(DB_Driver) = %{version}-%{release}
498 %description db-mssql
499 This virtual package provides MS SQL database backend for eGroupware.
501 %description db-mssql -l pl
502 Ten wirtualny pakiet dostarcza backend bazy danych MS SQL dla
506 %setup -q -n %{name} -a1
509 # remove as did upstream
516 # remove CVS control files
517 find -name .svn -print0 | xargs -0 rm -rf
519 find -regex '.*\.\(php\|inc\|html\|txt\|js\)$' -print0 | xargs -0 sed -i -e 's,\r$,,'
531 rm -r projectmanager/inc/ttf-bitstream-vera-1.10
534 rm -rf $RPM_BUILD_ROOT
535 install -d $RPM_BUILD_ROOT{%{_appdir},%{_sysconfdir},/var/{lib/%{name}/default/{files,backup},run/%{name}}}
537 cp -a *.php $RPM_BUILD_ROOT%{_appdir}
538 cp -a */ $RPM_BUILD_ROOT%{_appdir}
540 > $RPM_BUILD_ROOT%{_sysconfdir}/header.php
541 ln -s %{_sysconfdir}/header.php $RPM_BUILD_ROOT%{_appdir}/header.inc.php
543 install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/apache.conf
544 install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
545 install -D %{SOURCE3} $RPM_BUILD_ROOT/etc/cron.d/%{name}
547 # needed by setup script
548 install header.inc.php.template $RPM_BUILD_ROOT%{_appdir}
550 rm -rf $RPM_BUILD_ROOT%{_appdir}/doc
553 rm -rf $RPM_BUILD_ROOT
555 %triggerin core -- apache1
556 %webapp_register apache %{_webapp}
558 %triggerun core -- apache1
559 %webapp_unregister apache %{_webapp}
561 %triggerin core -- apache < 2.2.0, apache-base
562 %webapp_register httpd %{_webapp}
564 %triggerun core -- apache < 2.2.0, apache-base
565 %webapp_unregister httpd %{_webapp}
568 %defattr(644,root,root,755)
572 %defattr(644,root,root,755)
573 %dir %attr(750,root,http) %{_sysconfdir}
574 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/apache.conf
575 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf
576 %attr(660,root,http) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/header.php
577 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/cron.d/%{name}
581 %dir %{_appdir}/phpgwapi
582 %{_appdir}/phpgwapi/*.php
583 %{_appdir}/phpgwapi/cron
584 %{_appdir}/phpgwapi/doc
585 %{_appdir}/phpgwapi/inc
586 %{_appdir}/phpgwapi/js
587 %{_appdir}/phpgwapi/setup
588 %{_appdir}/phpgwapi/templates
589 %{_appdir}/phpgwapi/themes
590 %{_appdir}/phpgwapi/tests
591 %dir %attr(775,root,http) %{_appdir}/phpgwapi/images
592 %{_appdir}/phpgwapi/images/*
594 # maybe separate these apps?
598 %{_appdir}/preferences
601 %dir /var/lib/%{name}/default
602 %dir %attr(775,root,http) /var/lib/%{name}/default/backup
603 %dir %attr(775,root,http) /var/lib/%{name}/default/files
604 %dir %attr(775,root,http) /var/run/%{name}
607 %defattr(644,root,root,755)
608 %{_appdir}/addressbook
611 %defattr(644,root,root,755)
615 %defattr(644,root,root,755)
619 %defattr(644,root,root,755)
623 %defattr(644,root,root,755)
627 %defattr(644,root,root,755)
631 %defattr(644,root,root,755)
634 %files developer_tools
635 %defattr(644,root,root,755)
636 %{_appdir}/developer_tools
639 %defattr(644,root,root,755)
643 %defattr(644,root,root,755)
644 %{_appdir}/emailadmin
647 %defattr(644,root,root,755)
651 %defattr(644,root,root,755)
652 %{_appdir}/felamimail
655 %defattr(644,root,root,755)
656 %{_appdir}/filemanager
659 %defattr(644,root,root,755)
660 %{_appdir}/filescenter
663 %defattr(644,root,root,755)
667 %defattr(644,root,root,755)
671 %defattr(644,root,root,755)
675 %defattr(644,root,root,755)
679 %defattr(644,root,root,755)
683 %defattr(644,root,root,755)
687 %defattr(644,root,root,755)
691 %defattr(644,root,root,755)
695 %defattr(644,root,root,755)
699 %defattr(644,root,root,755)
703 %defattr(644,root,root,755)
704 %{_appdir}/news_admin
707 %defattr(644,root,root,755)
711 %defattr(644,root,root,755)
712 %{_appdir}/phpldapadmin
715 %defattr(644,root,root,755)
716 %{_appdir}/phpsysinfo
719 %defattr(644,root,root,755)
722 %files projectmanager
723 %defattr(644,root,root,755)
724 %{_appdir}/projectmanager
727 %defattr(644,root,root,755)
731 %defattr(644,root,root,755)
732 %{_appdir}/registration
735 %defattr(644,root,root,755)
739 %defattr(644,root,root,755)
740 %{_appdir}/sambaadmin
743 %defattr(644,root,root,755)
747 %defattr(644,root,root,755)
751 %defattr(644,root,root,755)
755 %defattr(644,root,root,755)
759 %defattr(644,root,root,755)
763 %defattr(644,root,root,755)
767 %defattr(644,root,root,755)
768 %{_appdir}/header.inc.php.template
772 %defattr(644,root,root,755)
775 %defattr(644,root,root,755)
778 %defattr(644,root,root,755)