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