summaryrefslogtreecommitdiffstats
path: root/pykolab.spec.in
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-03-06 10:41:54 +0000
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-03-06 10:41:54 +0000
commit4daf6124d0a72fe8227d3b9e6035e7050e550f6b (patch)
treede582f7e51ec6c45cfab3e7822f4d604ce2f3e84 /pykolab.spec.in
parent372eb6cdd8396be35bb86ec145c4881ff393c76b (diff)
downloadpykolab-4daf6124d0a72fe8227d3b9e6035e7050e550f6b.tar.gz
Update Makefiles
Diffstat (limited to 'pykolab.spec.in')
-rw-r--r--pykolab.spec.in32
1 files changed, 32 insertions, 0 deletions
diff --git a/pykolab.spec.in b/pykolab.spec.in
index 7b408b6..3752bac 100644
--- a/pykolab.spec.in
+++ b/pykolab.spec.in
@@ -96,6 +96,19 @@ Requires: MySQL-python
%description -n postfix-kolab
Kolab SMTP Access Policy for Postfix
+##
+## Wallace
+##
+%package -n wallace
+Summary: Kolab Content-Filter
+Group: Applications/System
+Requires: pykolab = %{version}-%{release}
+Requires: python-sqlalchemy
+Requires: MySQL-python
+
+%description -n wallace
+This is the Kolab Content Filter, with plugins
+
%prep
%setup -q
@@ -174,6 +187,19 @@ if [ $1 = 0 ]; then
/sbin/chkconfig --del kolabd
fi
+%post -n wallace
+if [ $1 -eq 1 ] ; then
+ chkconfig --add wallace
+else
+ /sbin/service wallace condrestart
+fi
+
+%preun -n wallace
+if [ $1 = 0 ]; then
+ /sbin/service wallace stop > /dev/null 2>&1
+ /sbin/chkconfig --del wallace
+fi
+
%clean
rm -rf %{buildroot}
@@ -247,6 +273,12 @@ rm -rf %{buildroot}
%doc AUTHORS ChangeLog COPYING
%{_libexecdir}/postfix/kolab_smtp_access_policy
+%files -n wallace
+%defattr(-,root,root,-)
+%doc AUTHORS ChangeLog COPYING
+%{_sbindir}/wallaced
+%{python_sitelib}/wallace
+
%changelog
* @DATESTAMP@ Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> @VERSION@-@RELEASE@
- Initial package of new upstream version