]>
Commit | Line | Data |
---|---|---|
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) | |
87d15bba ER |
19 | |
20 | # snapshot: DATE | |
21 | #define _snap 20050114 | |
22 | ||
23 | %if 0%{?_snap} | |
24 | %define _source http://downloads.mysql.com/snapshots/%{name}/%{name}-nightly-%{_snap}.tar.gz | |
25 | %else | |
26 | %define _source http://mysql.wildyou.net/Downloads/%{name}/%{name}-%{version}.tar.gz | |
27 | %endif | |
28 | ||
17a8bd0d | 29 | %define _rel 1.10 |
87d15bba | 30 | |
bb01d732 ER |
31 | Summary: Eventum Issue / Bug Tracking System |
32 | Name: eventum | |
33 | Version: 1.4 | |
87d15bba | 34 | Release: %{?_snap:0.%{_snap}.}%{_rel} |
6850abd9 ER |
35 | License: GPL |
36 | Group: Applications/WWW | |
87d15bba | 37 | Source0: %{_source} |
bb01d732 | 38 | # Source0-md5: 361c1355e46a6bbfa54e420964ec92cf |
17a8bd0d ER |
39 | Patch0: %{name}-rpm.patch |
40 | Patch1: %{name}-clock-status.patch | |
bb01d732 ER |
41 | URL: http://dev.mysql.com/downloads/other/eventum/index.html |
42 | BuildRequires: sed >= 4.0 | |
9cdc5027 | 43 | Requires: php >= 4.1.0 |
bb01d732 ER |
44 | Requires: php-pcre |
45 | Requires: php-mysql | |
46 | Requires: php-gd | |
47 | Requires: php-imap | |
bb01d732 ER |
48 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
49 | ||
9748a8c3 | 50 | %define _appdir %{_datadir}/%{name} |
bb01d732 ER |
51 | |
52 | %description | |
53 | Eventum is a user-friendly and flexible issue tracking system that can | |
54 | be used by a support department to track incoming technical support | |
55 | requests, or by a software development team to quickly organize tasks | |
56 | and bugs. Eventum is used by the MySQL AB Technical Support team, and | |
57 | has allowed us to dramatically improve our response times. | |
58 | ||
59 | %prep | |
87d15bba | 60 | %setup -q %{?_snap:-n %{name}-%{_snap}} |
d36b46b9 | 61 | %patch0 -p1 |
17a8bd0d | 62 | %patch1 -p1 |
bb01d732 ER |
63 | |
64 | %build | |
65 | ||
66 | %install | |
67 | rm -rf $RPM_BUILD_ROOT | |
68 | ||
87d15bba | 69 | install -d $RPM_BUILD_ROOT%{_appdir}/{locks,templates_c} |
bb01d732 ER |
70 | |
71 | # TODO: php4 | |
72 | sed -i -e 's,/usr/local/bin/php,/usr/bin/php,' misc/cli/eventum | |
73 | ||
9748a8c3 | 74 | cp -a . $RPM_BUILD_ROOT%{_appdir} |
bb01d732 | 75 | |
9748a8c3 | 76 | > $RPM_BUILD_ROOT%{_appdir}/setup.conf.php |
9cdc5027 | 77 | |
bb01d732 | 78 | # in doc |
9748a8c3 | 79 | rm -f $RPM_BUILD_ROOT%{_appdir}/{COPYING,ChangeLog,FAQ,INSTALL,README,UPGRADE} |
21efb649 | 80 | rm -rf $RPM_BUILD_ROOT%{_appdir}/misc/upgrade |
bb01d732 ER |
81 | |
82 | %clean | |
83 | rm -rf $RPM_BUILD_ROOT | |
84 | ||
85 | %files | |
86 | %defattr(644,root,root,755) | |
21efb649 | 87 | %doc ChangeLog FAQ INSTALL README UPGRADE misc/upgrade |
9748a8c3 ER |
88 | %dir %{_appdir} |
89 | %attr(640,http,root) %config(noreplace) %{_appdir}/config.inc.php | |
90 | %attr(640,http,root) %config(noreplace) %{_appdir}/setup.conf.php | |
91 | %{_appdir}/*[!cf].php | |
92 | ||
93 | %{_appdir}/css | |
94 | %{_appdir}/customer | |
95 | %{_appdir}/docs | |
96 | %{_appdir}/images | |
97 | %{_appdir}/js | |
98 | %{_appdir}/manage | |
99 | %{_appdir}/misc | |
100 | %{_appdir}/reports | |
101 | %{_appdir}/rpc | |
102 | %{_appdir}/setup | |
103 | %{_appdir}/templates | |
104 | ||
105 | %dir %attr(755,http,root) %{_appdir}/locks | |
106 | ||
107 | %dir %{_appdir}/include | |
108 | %{_appdir}/include/customer | |
109 | %{_appdir}/include/jpgraph | |
110 | %{_appdir}/include/pear | |
111 | %{_appdir}/include/Smarty | |
112 | %{_appdir}/include/workflow | |
113 | %{_appdir}/include/class.* | |
114 | %{_appdir}/include/db_access.php | |
115 | %{_appdir}/include/jsrsServer.inc.php | |
116 | %attr(640,http,root) %{_appdir}/include/private_key.php | |
117 | ||
118 | %dir %attr(755,http,root) %{_appdir}/logs | |
119 | %attr(640,http,root) %{_appdir}/logs/* | |
120 | ||
121 | %dir %attr(750,http,root) %{_appdir}/templates_c |