# - fix mess with dovecot libraries (symlinks in package that shouldn't be here)
%define dovecot_series 2.2
-%define pigeonhole_version 0.4.3
+%define pigeonhole_version 0.4.6
Summary: Sieve plugin for dovecot
Summary(pl.UTF-8): Wtyczka Sieve i Managesieve dla dovecota
Name: dovecot-pigeonhole
Version: %{dovecot_series}_%{pigeonhole_version}
-Release: 2
+Release: 1
License: LGPL
Group: Daemons
Source0: http://pigeonhole.dovecot.org/releases/%{dovecot_series}/dovecot-%{dovecot_series}-pigeonhole-%{pigeonhole_version}.tar.gz
-# Source0-md5: b52858c0016b9ad7dabccf01f0098dbd
+# Source0-md5: 9c41cfda06129ac85700b5ddce809d95
Patch0: %{name}-config.patch
URL: http://www.dovecot.org/
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: bison
-BuildRequires: dovecot-devel >= 1:2.2.12
+BuildRequires: dovecot-devel >= 1:2.2.14
BuildRequires: flex
BuildRequires: libtool
%requires_eq_to dovecot dovecot-devel
%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
-%dir %{_libdir}/dovecot/sieve
-%attr(755,root,root) %{_libdir}/dovecot/sieve/lib90_sieve_extprograms_plugin.so
+%dir %{_libdir}/dovecot/plugins/sieve
+%dir %{_libdir}/dovecot/plugins/settings
+%attr(755,root,root) %{_libdir}/dovecot/plugins/settings/libpigeonhole_settings.so
+%attr(755,root,root) %{_libdir}/dovecot/plugins/sieve/lib90_sieve_extprograms_plugin.so
# ??? - why is this in this package?
%attr(755,root,root) %{_libdir}/libdovecot.so.0