Package eGroupWare: Specfile

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
%define packagename eGroupWare
%define egwdirname egroupware
%define egwversion 1.8
%define httpdconfd %_sysconfdir/httpd2/conf/addon.d
%define php php5

Name: eGroupWare
Version: %egwversion
Release: alt2
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
Source2: %packagename-icalsrv-%egwversion.tar
Source3: %packagename-mydms-%egwversion.tar
Source4: %packagename-gallery-%egwversion.tar
Source5: egroupware_alt.tar
Source6: %packagename-workflow-%egwversion.tar
Source7: README.ALT
Patch1: class.asyncservice.inc.php.patch
Patch2: class.phpmailer.inc.php.patch

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

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

BuildArch: noarch
Packager: Aeliya Grevnyov <gray_graff@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 = %epoch:%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 = %epoch:%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 = %epoch:%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 = %epoch:%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 = %epoch:%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 = %epoch:%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 = %epoch:%egwversion-%release, %packagename-egw-pear = %epoch:%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 = %epoch:%egwversion-%release, %packagename-emailadmin = %epoch:%egwversion-%release, %packagename-egw-pear = %epoch:%egwversion-%release
%description felamimail
The Email application for eGroupWare.

%package filemanager
Version: %egwversion
Summary: The eGroupWare filemanager application
Group: Networking/WWW
Requires: %packagename-core = %epoch:%egwversion-%release, %packagename-egw-pear = %epoch:%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 = %epoch:%egwversion-%release, %packagename-egw-pear = %epoch:%egwversion-%release
%description gallery
An embedded Gallery2 for eGroupWare.

%package icalsrv
Version: %egwversion
Summary: The eGroupWare icalsrv application
Group: Networking/WWW
Requires: %packagename-core = %epoch:%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 = %epoch:%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 = %epoch:%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 = %epoch:%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 = %epoch:%egwversion-%release, %packagename-egw-pear = %epoch:%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 = %epoch:%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 = %epoch:%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 = %epoch:%egwversion-%release, %packagename-addressbook = %epoch:%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 = %epoch:%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 = %epoch:%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 = %epoch:%egwversion-%release
Requires: fonts-ttf-vera
%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 = %epoch:%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 = %epoch:%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 = %epoch:%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 = %epoch:%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 = %epoch:%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 = %epoch:%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 = %epoch:%egwversion-%release
Requires: %packagename-notifications = %epoch:%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 = %epoch:%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 = %epoch:%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
%patch2 -p 1

%build
%install
mkdir -p %buildroot%_datadir/%egwdirname
cp -aRf  etc var %buildroot
cp -aRf egroupware/* %buildroot%_datadir/%egwdirname
%__install -p -m 644 %SOURCE7 README.ALT
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

#fonts
pushd %buildroot%_datadir/%egwdirname/projectmanager/inc/ttf-bitstream-vera-1.10
rm -f Vera*.ttf
ln -s /usr/share/fonts/ttf/TrueType-vera/Vera*.ttf .
popd

%post
pear install --nodeps -s --force --register-only /usr/share/php/pear/.pkgxml/Auth_SASL.xml >/dev/null || :

%files
%doc README.ALT

%files core
%dir %_datadir/%egwdirname
%dir /var/lib/egroupware
%_datadir/%egwdirname/*.php
%_datadir/%egwdirname/*.template
%_datadir/%egwdirname/*.htaccess
%_datadir/%egwdirname/admin
%_datadir/%egwdirname/doc
%_datadir/%egwdirname/etemplate
%_datadir/%egwdirname/home
%_datadir/%egwdirname/phpgwapi
%_datadir/%egwdirname/preferences
%_datadir/%egwdirname/setup
%_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
* Tue Apr 05 2011 Aeliya Grevnyov <gray_graff@altlinux.org> 1:1.8-alt2
- Remove fonts from eGroupWare-projectmanager (ALT#25323)

* Fri Feb 25 2011 Aeliya Grevnyov <gray_graff@altlinux.org> 1:1.8-alt1
- Update to 1.8.001.20110216 (ALT#24933)
- Minimal testing! Need maintainer!

* Sat Jul 24 2010 Aeliya Grevnyov <gray_graff@altlinux.org> 1:1.6-alt8
- Added patch class.phpmailer.inc.php.patch (ALT #23218)

* Tue Mar 16 2010 Aeliya Grevnyov <gray_graff@altlinux.org> 1:1.6-alt7
- EGroupware 1.6.003 security and bugfix release
  +  implements SyncML 1.2 support and many SyncML fixes
  +  fix cross-site scripting (XSS)
  +  fix serious remote command execution
  
* Tue Dec 01 2009 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1:1.6-alt6.002.1
- Rebuilt with python 2.6

* Tue Jul 21 2009 gray_graff <gray_graff@altlinux.org> 1:1.6-alt6.002
- EGroupware 1.6.002 security and bugfix release
  +  FCKeditor (remote file upload)
  +  Tracker (XSS problem)
  +  Knowledgebase (SQL injection)
  +  Added HTML Purifier as preventive measure for FCKeditor content

* Tue May 12 2009 gray_graff <gray_graff@altlinux.org> 1:1.6-alt5.001
- Add README.ALT
- Fix Requires (Addressbook must be installed for setup)
- Fix Requires (Notifications need for Tracker)
- Fix bug whis not working php value "mbstring.func_overload"
- Added patch wizard.scrolling_sidebox.patch for pERP
- Added patch class.asyncservice.inc.php.patch (fix crontab)
- Fix Requires (Felamimail need for crontab)

* Mon Apr 27 2009 gray_graff <gray_graff@altlinux.org> 1:1.6-alt4.001
- Update to revision 26892.
- Update translations (ALT #19601, #19604)
- Remove class.uiasyncservice.inc.php.patch

* Tue Mar 31 2009 gray_graff <gray_graff@altlinux.org> 1:1.6-alt3.001
- Update to revision 26706.

* Fri Feb 13 2009 gray_graff <gray_graff@altlinux.org> 1:1.6-alt2.001
- 1:1.6-alt2.001
- Update to revision 26549.

* Thu Nov 27 2008 gray_graff <gray_graff@altlinux.org> 1:1.6-alt1.001
- 1.6 final release
- switch svn from trunk to 1.6 branch

* Wed Nov 19 2008 gray_graff <gray_graff@altlinux.org> 1.6.rc5-alt1
- 1.6.rc5 (revision 26404)

* Wed Nov 12 2008 gray_graff <gray_graff@altlinux.org> 1.6.rc4-alt1
- 1.6.rc4 (revision 26330)

* Thu Oct 30 2008 gray_graff <gray_graff@altlinux.org> 1.6.rc3-alt1
- 1.6.rc3 (revision 26293)
- Update dummy header.inc.php (from upstream)
- Change session.save_path to apache default
- Change open_basedir (add path to php pear)
- Add requred for setup emailadmin
- Spec cleanup

* Thu Oct 23 2008 gray_graff <gray_graff@altlinux.org> 1.6.rc2-alt1
- 1.6.rc2
- Update Requires. added php5-dom
- Update Requires in news_admin (close #17564)
- Added module workflow

* Tue Oct 14 2008 gray_graff <gray_graff@altlinux.org> 1.6.rc1-alt1
- 1.6.rc1

* Thu Oct 09 2008 gray_graff <gray_graff@altlinux.org> 1.6.pre1-alt3.1
- Update to SVN revision 26109

* Tue Oct 07 2008 gray_graff <gray_graff@altlinux.org> 1.6.pre1-alt3
- Update to SVN r26042 (2008-10-05)

* Wed Aug 20 2008 gray_graff <gray_graff@altlinux.org> 1.6.pre1-alt2
- Update to latest cvs
- Support for Russian filenames in Attachments from 1.4
- Update russian in Felamimail
- Update Requires. add php5-pdo_mysql
- Fix asyncservices (cron)

* Mon Aug 18 2008 gray_graff <gray_graff@altlinux.org> 1.6.pre1-alt1
- 1.6.pre1

* Tue Jul 29 2008 gray_graff <gray_graff@altlinux.org> 1.4.004-alt3
- Fix Packager email in spec
- Fix Repocop warnings. "backup-file-in-package" and "windows-thumbnail-database-in-package"
- Support for Russian filenames in Attachments
- Add russian translate for Tracker
- Update russian in Felamimail

* Thu Jun 19 2008 gray_graff <gray_graff@altlinux.org> 1.4.004-alt2
- Fix Requires

* Tue Jun 17 2008 gray_graff <gray_graff@altlinux.org> 1.4.004-alt1
- Initial build