]> git.pld-linux.org Git - packages/eventum.git/blame - eventum.spec
- sample apache config
[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)
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
31Summary: Eventum Issue / Bug Tracking System
32Name: eventum
33Version: 1.4
87d15bba 34Release: %{?_snap:0.%{_snap}.}%{_rel}
6850abd9
ER
35License: GPL
36Group: Applications/WWW
87d15bba 37Source0: %{_source}
bb01d732 38# Source0-md5: 361c1355e46a6bbfa54e420964ec92cf
17a8bd0d
ER
39Patch0: %{name}-rpm.patch
40Patch1: %{name}-clock-status.patch
bb01d732
ER
41URL: http://dev.mysql.com/downloads/other/eventum/index.html
42BuildRequires: sed >= 4.0
9cdc5027 43Requires: php >= 4.1.0
bb01d732
ER
44Requires: php-pcre
45Requires: php-mysql
46Requires: php-gd
47Requires: php-imap
bb01d732
ER
48BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
49
9748a8c3 50%define _appdir %{_datadir}/%{name}
bb01d732
ER
51
52%description
53Eventum is a user-friendly and flexible issue tracking system that can
54be used by a support department to track incoming technical support
55requests, or by a software development team to quickly organize tasks
56and bugs. Eventum is used by the MySQL AB Technical Support team, and
57has 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
67rm -rf $RPM_BUILD_ROOT
68
87d15bba 69install -d $RPM_BUILD_ROOT%{_appdir}/{locks,templates_c}
bb01d732
ER
70
71# TODO: php4
72sed -i -e 's,/usr/local/bin/php,/usr/bin/php,' misc/cli/eventum
73
9748a8c3 74cp -a . $RPM_BUILD_ROOT%{_appdir}
bb01d732 75
9748a8c3 76> $RPM_BUILD_ROOT%{_appdir}/setup.conf.php
9cdc5027 77
bb01d732 78# in doc
9748a8c3 79rm -f $RPM_BUILD_ROOT%{_appdir}/{COPYING,ChangeLog,FAQ,INSTALL,README,UPGRADE}
21efb649 80rm -rf $RPM_BUILD_ROOT%{_appdir}/misc/upgrade
bb01d732
ER
81
82%clean
83rm -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
This page took 0.107181 seconds and 4 git commands to generate.