4 Summary: eGroupWare - a web-based groupware suite written in PHP
5 Summary(pl): eGroupWAre - oparte na WWW oprogramowanie do pracy grupowej napisane w PHP
11 Group: Applications/WWW
12 Source0: http://dl.sourceforge.net/egroupware/eGroupWare-%{version}.tar.bz2
13 # Source0-md5: 2ed2f3041ab4ff235f56ed23dfa7274b
15 URL: http://www.egroupware.org/
16 Requires: php >= 3:4.1.2
19 #Requires: php(pgsql||mysql) <- that would be neat
22 Requires: php-mbstring
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 %define _appdir %{_datadir}/%{name}
27 %define _sysconfdir /etc/%{name}
30 eGroupWare is a multi-user, web-based groupware suite developed on a
31 custom set of PHP-based APIs. Currently available modules include:
32 email, addressbook, calendar, infolog (notes, to-do's, phone calls),
33 content management, forum, bookmarks, wiki.
36 eGroupWare to wielou¿ytkownikowe, oparte na WWW oprogramowanie do
37 pracy grupowej stworzone na w³asnym zestawie API opartych na PHP.
38 Aktualnie dostêpne modu³y obejmuj±: pocztê elektroniczn±, ksi±¿kê
39 adresow±, kalendarz, infolog (notatki, rzeczy do zrobienia, rozmowy
40 telefoniczne), zarz±dzanie tre¶ci±, forum, zak³adki, wiki.
45 # remove CVS control files
46 find -name CVS -print0 | xargs -0 rm -rf
55 rm -rf $RPM_BUILD_ROOT
56 install -d $RPM_BUILD_ROOT{%{_appdir},%{_sysconfdir}}
58 cp -a *.php $RPM_BUILD_ROOT%{_appdir}
59 cp -a addressbook admin backup bookmarks calendar comic developer_tools \
60 email emailadmin etemplate felamimail filemanager forum ftp fudforum headlines \
61 infolog jinn manual messenger news_admin phpbrain phpgwapi phpldapadmin \
62 phpsysinfo polls preferences projects registration setup sitemgr stocks tts \
63 wiki $RPM_BUILD_ROOT%{_appdir}
65 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/apache.conf
68 rm -rf $RPM_BUILD_ROOT
70 %triggerin -- apache1 >= 1.3.33-2
71 %apache_config_install -v 1 -c %{_sysconfdir}/apache.conf
73 %triggerun -- apache1 >= 1.3.33-2
74 %apache_config_uninstall -v 1
76 %triggerin -- apache >= 2.0.0
77 %apache_config_install -v 2 -c %{_sysconfdir}/apache.conf
79 %triggerun -- apache >= 2.0.0
80 %apache_config_uninstall -v 2
83 %defattr(644,root,root,755)
84 %attr(710,root,http) %dir %{_sysconfdir}
85 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/apache.conf
89 %{_appdir}/addressbook
95 %{_appdir}/developer_tools
100 %{_appdir}/filemanager
108 %{_appdir}/news_admin
110 %{_appdir}/phpldapadmin
111 %{_appdir}/phpsysinfo
113 %{_appdir}/preferences
115 %{_appdir}/registration
122 %dir %{_appdir}/phpgwapi
123 %{_appdir}/phpgwapi/*.php
124 %{_appdir}/phpgwapi/cron
125 %{_appdir}/phpgwapi/doc
126 %{_appdir}/phpgwapi/inc
127 %{_appdir}/phpgwapi/js
128 %{_appdir}/phpgwapi/setup
129 %{_appdir}/phpgwapi/templates
130 %{_appdir}/phpgwapi/themes
131 %dir %attr(775,root,http) %{_appdir}/phpgwapi/images
132 %{_appdir}/phpgwapi/images/*
134 %dir %attr(775,root,http) %{_appdir}/fudforum
135 %{_appdir}/fudforum/*.php
136 %{_appdir}/fudforum/inc
137 %{_appdir}/fudforum/setup
138 %{_appdir}/fudforum/templates