%bcond_with qmail # build the router-qmail subpackage
# snapshot: DATE
-#define _snap 20051227
+%define _snap 20060118
# release candidate
#define _rc 2
-%define _rel 3.4
+%define _rel 0.2
%if 0%{?_rc:1}
%define _source http://eventum.mysql.org/eventum-1.7.0.tar.gz
Summary(pl): Eventum - system ¶ledzenia spraw/b³êdów
Name: eventum
Version: 1.7.0
-Release: %{?_snap:0.%{_snap}.}%{?_rc:%{_rc}.}%{_rel}
+Release: %{?_snap:4.%{_snap}.}%{?_rc:%{_rc}.}%{_rel}
License: GPL
Group: Applications/WWW
Source0: %{_source}
-# Source0-md5: d0869fd0ceda5f12974e16399493cd64
+# Source0-md5: dafef066667ead53f415c11690033b93
Source1: %{name}-apache.conf
Source2: %{name}-mail-queue.cron
Source3: %{name}-mail-download.cron
Patch8: %{name}-perms.patch
Patch9: http://glen.alkohol.ee/pld/%{name}-httpclient-clientside.patch
Patch10: %{name}-cli-wr-separated.patch
-Patch11: %{name}-php440.patch
Patch12: %{name}-htmloptions-truncate.patch
Patch13: http://glen.alkohol.ee/pld/%{name}-link_filter-updates.patch
Patch14: http://glen.alkohol.ee/pld/%{name}-irc-mem.patch
-Patch15: eventum-reports-fix.patch
Patch16: http://glen.alkohol.ee/pld/eventum-recent_activity-usability.patch
-Patch17: eventum-new-issue.patch
+Patch17: http://glen.alkohol.ee/pld/eventum-upload-error-keep-popup.patch
+Patch18: http://glen.alkohol.ee/pld/eventum-scm-parse-response.patch
URL: http://dev.mysql.com/downloads/other/eventum/
%{?with_pear:BuildRequires: rpm-php-pearprov >= 4.0.2-98}
-BuildRequires: rpmbuild(macros) >= 1.223
+BuildRequires: rpmbuild(macros) >= 1.268
BuildRequires: sed >= 4.0
Requires: %{name}-base = %{version}-%{release}
-Requires: Smarty >= 2.6.2
+Requires: Smarty >= 2.6.10-4
Requires: php >= 3:4.2.0
Requires: php-gd
Requires: php-imap
Requires: php-pear-PEAR-core
Requires: php-pear-Text_Diff
Requires: php-pear-XML_RPC
-#Suggests: php-pear-Net_POP3
%endif
Requires(triggerpostun): /usr/bin/php
Requires(triggerpostun): sed >= 4.0
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-%define _noautoreq 'pear(/etc/webapps/.*)' 'pear(jpgraph_dir.php)' 'pear(.*Smarty.class.php)' 'pear(Net/POP3.php)'
+%define _noautoreq 'pear(/etc/webapps/.*)' 'pear(jpgraph_dir.php)' 'pear(.*Smarty.class.php)'
%define _libdir %{_prefix}/lib/%{name}
%define _appdir %{_datadir}/%{name}
%package route-drafts
Summary: Eventum Draft Routing
+Summary(pl): Przekazywanie szkiców dla Eventum
Group: Applications/WWW
Requires: %{name} = %{version}-%{release}
Requires: /usr/bin/php
%description route-drafts
The draft routing feature is used to automatically associate a thread
-of drafts into an Eventum issue. By setting up qmail (or even postfix)
+of drafts into an Eventum issue. By setting up qmail (or even Postfix)
to deliver emails sent to a specific address (usually
draft-<number>@<domain>) to the above script, users are able to send
drafts written in their mail client to be stored in Eventum. These
drafts will NOT broadcasted to the notification list.
+%description route-drafts -l pl
+Przekazywanie szkiców s³u¿y do automatycznego wi±zania w±tku szkiców z
+problemem w Eventum. Ustawiaj±c qmaila (czy nawet Postfiksa), aby
+dostarcza³ pocztê wys³an± na podany adres (zwykle
+draft-<liczba>@<domena>) do tego skryptu umo¿liwia siê u¿ytkownikom
+wysy³anie szkiców napisanych w ich kliencie pocztowym do zapisania w
+Eventum. Szkice te NIE bêd± wysy³ane na listê powiadomieñ.
+
%package route-emails
Summary: Eventum Email Routing
Summary(pl): Przekazywanie poczty dla Eventum
%patch8 -p1
%patch9 -p1
%patch10 -p1
-%patch11 -p1
%patch12 -p1
%patch13 -p1
-%patch15 -p1
%patch16 -p1
%patch17 -p1
+%patch18 -p1
sed -e '1s,#!.*/bin/php -q,#!%{_bindir}/php,' misc/cli/eventum > %{name}-cli
sed -e '1i#!%{_bindir}/php' misc/scm/process_cvs_commits.php > %{name}-scm
%post irc
/sbin/chkconfig --add eventum-irc
-if [ -f /var/lock/subsys/eventum-irc ]; then
- /etc/rc.d/init.d/eventum-irc restart >&2
-else
- echo "Run \"/etc/rc.d/init.d/eventum-irc start\" to start Eventum IRC Bot." >&2
-fi
+%service eventum-irc restart "Eventum IRC Bot"
%triggerin -- apache1
%webapp_register apache %{_webapp}
if [ -L /etc/apache/conf.d/99_%{_webapp}.conf ]; then
/usr/sbin/webapp register apache %{_webapp}
rm -f /etc/apache/conf.d/99_%{_webapp}.conf
- if [ -f /var/lock/subsys/apache ]; then
- /etc/rc.d/init.d/apache reload 1>&2
- fi
+ %service -q apache reload
fi
if [ -L /etc/httpd/httpd.conf/99_%{_webapp}.conf ]; then
/usr/sbin/webapp register httpd %{_webapp}
rm -f /etc/httpd/httpd.conf/99_%{_webapp}.conf
- if [ -f /var/lock/subsys/httpd ]; then
- /etc/rc.d/init.d/httpd reload 1>&2
- fi
+ %service -q httpd reload
fi
%{_appdir}/upgrade/upgrade.sh %{_appdir}/upgrade/v1.6.1_to_v1.7.0 <<EOF
%files
%defattr(644,root,root,755)
-%doc ChangeLog FAQ INSTALL README UPGRADE
+%doc ChangeLog FAQ INSTALL README UPGRADE CONTRIB
%doc docs/* setup/schema.sql
%attr(751,root,root) %dir %{_webappdir}
%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/apache.conf