#
# Conditional build:
%bcond_with qmail # build the router-qmail subpackage
+%bcond_with order_patch # with custom issue order patch
#define _snap 20060330
-%define _rc RC2
-%define _rel 0.2
+#define _rc RC3
+%define _rel 2.21
%include /usr/lib/rpm/macros.php
Summary: Eventum Issue / Bug tracking system
Release: %{?_snap:0.%{_snap}.}%{?_rc:%{_rc}.}%{_rel}
License: GPL
Group: Applications/WWW
-Source0: http://eventum.mysql.org/downloads/%{name}-%{version}.%{_rc}.tar.gz
-# Source0-md5: 1ca8dd3b9876537ac29c02a549e245e1
#Source0: http://downloads.mysql.com/snapshots/eventum/%{name}-nightly-%{_snap}.tar.gz
+Source0: http://mysql.dataphone.se/Downloads/eventum/%{name}-%{version}.tar.gz
+# Source0-md5: e1845de39b4d9bd30ddec9c26031a7d5
Source1: %{name}-apache.conf
Source2: %{name}-mail-queue.cron
Source3: %{name}-mail-download.cron
Patch5: %{name}-route-mem.patch
Patch6: %{name}-scm-pluscharisbad.patch
Patch7: %{name}-scm-updates.patch
+Patch8: %{name}-close-signature.patch
+Patch9: %{name}-list-sorting.patch
+Patch10: %{name}-workflow-handlenewnote-note_id.patch
+Patch11: %{name}-order4b.patch
+Patch12: %{name}-cli-errorcheck.patch
+Patch13: %{name}-combined.patch
+Patch14: %{name}-xml-inline.patch
+Patch15: %{name}-timetracking-advanced-logic.patch
+Patch16: %{name}-timedisplay.patch
+Patch17: %{name}-bug-17267.patch
+# packaging patches that probably never go upstream
Patch100: %{name}-paths.patch
Patch101: %{name}-cvs-config.patch
Patch102: %{name}-irc-mem.patch
Summary: Eventum IRC Notification Bot
Summary(pl): IRC-owy bot powiadamiaj±cy dla Eventum
Group: Applications/WWW
+Requires(post,preun): /sbin/chkconfig
Requires(triggerpostun): sed >= 4.0
Requires: %{name} = %{version}-%{release}
Requires: php-pear-Net_SmartIRC
Requires: %{name}-base = %{version}-%{release}
Requires: php-cli
Requires: php-common >= 3:4.1.0
-Requires: php-curl
Requires: php-pear-XML_RPC
-Requires: php-xml
%description cli
The Eventum command-line interface allows you to access most of the
%patch5 -p1
%patch6 -p1
%patch7 -p1
+%patch8 -p1
+%patch9 -p1
+%patch10 -p1
+%{?with_order_patch:%patch11 -p1}
+%patch12 -p1
+%patch13 -p1
+%patch14 -p1
+%patch15 -p1
+%patch16 -p1
+%patch17 -p1
# packaging
%patch100 -p1