]> git.pld-linux.org Git - packages/eventum.git/blame - eventum.spec
- upgrade scripts to %doc
[packages/eventum.git] / eventum.spec
CommitLineData
bb01d732 1# TODO
9748a8c3 2# - php5 is not tested, but not placing hard conflict on it, as it prevents php4 & php coinstallation
bb01d732
ER
3# - discard bundled packages (from INSTALL):
4# - JpGraph 1.5.3 (last GPL version)
5# - Smarty 2.3.0 (http://smarty.php.net)
6# - PEAR packages
7# - dTree 2.0.5 (http://www.destroydrop.com/javascript/tree/)
8# - dynCalendar.js (http://www.phpguru.org/dyncalendar.html)
9# - overLIB 3.5.1 (http://www.bosrup.com/web/overlib/)
10# - A few other small javascript libraries
11# - Mail Queue Process, cron or separate package (misc/process_mail_queue.php)
12# - Email Download (misc/download_emails.php)
13# - Reminder System (misc/check_reminders.php)
14# - Heartbeat Monitor (misc/monitor.php)
15# - Email Routing Script (misc/route_emails.php)
16# - Note Routing Script (misc/route_notes.php)
17# - IRC Notification Bot (misc/irc/bot.php)
18# - Command-line Interface (misc/cli/eventum)
19Summary: Eventum Issue / Bug Tracking System
20Name: eventum
21Version: 1.4
21efb649 22Release: 0.9
6850abd9
ER
23License: GPL
24Group: Applications/WWW
bb01d732
ER
25Source0: http://mysql.wildyou.net/Downloads/%{name}/%{name}-%{version}.tar.gz
26# Source0-md5: 361c1355e46a6bbfa54e420964ec92cf
d36b46b9 27Patch0: %{name}-clock-status.patch
bb01d732
ER
28URL: http://dev.mysql.com/downloads/other/eventum/index.html
29BuildRequires: sed >= 4.0
9cdc5027 30Requires: php >= 4.1.0
bb01d732
ER
31Requires: php-pcre
32Requires: php-mysql
33Requires: php-gd
34Requires: php-imap
bb01d732
ER
35BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
36
9748a8c3 37%define _appdir %{_datadir}/%{name}
bb01d732
ER
38
39%description
40Eventum is a user-friendly and flexible issue tracking system that can
41be used by a support department to track incoming technical support
42requests, or by a software development team to quickly organize tasks
43and bugs. Eventum is used by the MySQL AB Technical Support team, and
44has allowed us to dramatically improve our response times.
45
46%prep
47%setup -q
d36b46b9 48%patch0 -p1
bb01d732
ER
49
50%build
51
52%install
53rm -rf $RPM_BUILD_ROOT
54
9748a8c3 55install -d $RPM_BUILD_ROOT%{_appdir}/locks
bb01d732
ER
56
57# TODO: php4
58sed -i -e 's,/usr/local/bin/php,/usr/bin/php,' misc/cli/eventum
59
9748a8c3 60cp -a . $RPM_BUILD_ROOT%{_appdir}
bb01d732 61
9748a8c3 62> $RPM_BUILD_ROOT%{_appdir}/setup.conf.php
9cdc5027 63
bb01d732 64# in doc
9748a8c3 65rm -f $RPM_BUILD_ROOT%{_appdir}/{COPYING,ChangeLog,FAQ,INSTALL,README,UPGRADE}
21efb649 66rm -rf $RPM_BUILD_ROOT%{_appdir}/misc/upgrade
bb01d732
ER
67
68%clean
69rm -rf $RPM_BUILD_ROOT
70
71%files
72%defattr(644,root,root,755)
21efb649 73%doc ChangeLog FAQ INSTALL README UPGRADE misc/upgrade
9748a8c3
ER
74%dir %{_appdir}
75%attr(640,http,root) %config(noreplace) %{_appdir}/config.inc.php
76%attr(640,http,root) %config(noreplace) %{_appdir}/setup.conf.php
77%{_appdir}/*[!cf].php
78
79%{_appdir}/css
80%{_appdir}/customer
81%{_appdir}/docs
82%{_appdir}/images
83%{_appdir}/js
84%{_appdir}/manage
85%{_appdir}/misc
86%{_appdir}/reports
87%{_appdir}/rpc
88%{_appdir}/setup
89%{_appdir}/templates
90
91%dir %attr(755,http,root) %{_appdir}/locks
92
93%dir %{_appdir}/include
94%{_appdir}/include/customer
95%{_appdir}/include/jpgraph
96%{_appdir}/include/pear
97%{_appdir}/include/Smarty
98%{_appdir}/include/workflow
99%{_appdir}/include/class.*
100%{_appdir}/include/db_access.php
101%{_appdir}/include/jsrsServer.inc.php
102%attr(640,http,root) %{_appdir}/include/private_key.php
103
104%dir %attr(755,http,root) %{_appdir}/logs
105%attr(640,http,root) %{_appdir}/logs/*
106
107%dir %attr(750,http,root) %{_appdir}/templates_c
This page took 0.042351 seconds and 4 git commands to generate.