# TODO
# - new unpackaged files:
# /usr/bin/sieve-filter
-# /usr/share/man/man1/sieve-filter.1.gz
+#%{_mandir}/man1/sieve-filter.1.gz
# - fix mess with dovecot libraries (symlinks in package that shouldn't be here)
-%define dovecot_series 2.1
-%define pigeonhole_version 0.3.4
+%define dovecot_series 2.2
+%define pigeonhole_version 0.4.0
Summary: Sieve plugin for dovecot
Summary(pl.UTF-8): Wtyczka Sieve i Managesieve dla dovecota
Name: dovecot-pigeonhole
License: LGPL
Group: Daemons
Source0: http://www.rename-it.nl/dovecot/%{dovecot_series}/dovecot-%{dovecot_series}-pigeonhole-%{pigeonhole_version}.tar.gz
-# Source0-md5: dc553f5979f24a5a6c1c16b952b6d45b
+# Source0-md5: 2e20bee26e259d1f6d3ac869b3202e44
Patch0: %{name}-config.patch
URL: http://www.dovecot.org/
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: bison
-BuildRequires: dovecot-devel >= 1:2.1
+BuildRequires: dovecot-devel >= 1:2.2
BuildRequires: flex
BuildRequires: libtool
%requires_eq_to dovecot dovecot-devel
%defattr(644,root,root,755)
%doc doc/example-config/conf.d/90-sieve.conf
%doc doc/extensions doc/script-location-dict.txt
+%attr(755,root,root) %{_bindir}/sieve-filter
%attr(755,root,root) %{_bindir}/sieve-test
%attr(755,root,root) %{_bindir}/sievec
%attr(755,root,root) %{_bindir}/sieve-dump
%attr(755,root,root) %{_libdir}/dovecot/plugins/lib90_sieve_plugin.so
%attr(755,root,root) %{_libdir}/dovecot/libdovecot-sieve.so*
+%attr(755,root,root) %{_libdir}/dovecot/plugins/doveadm/lib10_doveadm_sieve_plugin.so
+%attr(755,root,root) %{_libdir}/dovecot/sieve/lib90_sieve_extprograms_plugin.so
# ??? - why is this in this package?
%attr(755,root,root) %{_libdir}/libdovecot.so.0
%{_mandir}/man1/sieve-test.1*
%{_mandir}/man1/sievec.1*
%{_mandir}/man1/sieved.1*
+%{_mandir}/man1/sieve-filter.1*
%{_mandir}/man1/sieve-dump.1*
%{_mandir}/man7/pigeonhole.7*