2024-01-05 21:55:43 +01:00
%define dovecot_majver %(echo %version | cut -d. -f1-2)
2024-08-20 10:19:31 +02:00
%define dovecot_ver %(echo %version | cut -d. -f1-2,5-)
%define pigeonhole_ver %(echo %version | cut -d. -f3-)
2024-01-05 21:55:43 +01:00
Name : dovecot-pigeonhole
2024-08-20 10:19:31 +02:00
Version : 2.3.0.5.21.1
2024-01-05 21:55:43 +01:00
Release : 1mamba
Summary : Provides Sieve support as a plugin to Dovecot's Local Delivery Agent (LDA)
Group : System/Servers
Vendor : openmamba
Distribution : openmamba
Packager : Silvan Calarco <silvan.calarco@mambasoft.it>
2024-01-05 21:55:43 +01:00
URL : https://pigeonhole.dovecot.org/
2024-01-05 21:55:43 +01:00
Source : https://pigeonhole.dovecot.org/releases/%{dovecot_majver} /dovecot-%{dovecot_majver} -pigeonhole-%{pigeonhole_ver} .tar.gz
2024-01-05 21:55:43 +01:00
License : LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires : glibc-devel
2024-01-05 21:55:43 +01:00
BuildRequires : libdovecot-devel
2024-01-05 21:55:43 +01:00
BuildRequires : libopenssl-devel
## AUTOBUILDREQ-END
2024-01-05 21:55:43 +01:00
BuildRequires : libdovecot-devel = %{dovecot_ver}
2024-01-05 21:55:43 +01:00
Requires : dovecot = %{dovecot_ver}
2024-01-05 21:55:43 +01:00
%description
The Pigeonhole project provides Sieve support as a plugin to Dovecot's Local Delivery Agent (LDA). The ManageSieve protocol is provided is an additional service, next to Dovecot' s own POP3 and IMAP services.
2024-01-05 21:55:43 +01:00
%debug_package
2024-01-05 21:55:43 +01:00
%prep
2024-01-05 21:55:43 +01:00
%setup -q -n dovecot-%{dovecot_majver} -pigeonhole-%{pigeonhole_ver}
2024-01-05 21:55:43 +01:00
%build
%configure \
--with-dovecot=%{_libdir} /dovecot
%make
%install
[ " %{buildroot} " != / ] && rm -rf " %{buildroot} "
%makeinstall
install -d -m0755 %{buildroot} %{_sysconfdir} /dovecot/
cp -a %{buildroot} %{_docdir} /dovecot/example-config/* %{buildroot} %{_sysconfdir} /dovecot/
%clean
[ " %{buildroot} " != / ] && rm -rf " %{buildroot} "
%files
%defattr (-,root,root)
2024-01-05 21:55:43 +01:00
%config %{_sysconfdir} /dovecot/sieve-ldap.conf
2024-01-05 21:55:43 +01:00
%config %{_sysconfdir} /dovecot/conf.d/20-managesieve.conf
%config %{_sysconfdir} /dovecot/conf.d/90-sieve.conf
%config %{_sysconfdir} /dovecot/conf.d/90-sieve-extprograms.conf
%{_bindir} /sieve-dump
%{_bindir} /sieve-filter
%{_bindir} /sieve-test
%{_bindir} /sievec
%dir %{_includedir} /dovecot/sieve
%{_includedir} /dovecot/sieve/*.h
%{_libdir} /dovecot/lib90_sieve_plugin.a
%{_libdir} /dovecot/lib90_sieve_plugin.so
2024-01-05 21:55:43 +01:00
%{_libdir} /dovecot/lib95_imap_filter_sieve_plugin.a
%{_libdir} /dovecot/lib95_imap_filter_sieve_plugin.so
2024-01-05 21:55:43 +01:00
%{_libdir} /dovecot/lib95_imap_sieve_plugin.a
%{_libdir} /dovecot/lib95_imap_sieve_plugin.so
2024-01-05 21:55:43 +01:00
%{_libdir} /dovecot/libdovecot-sieve.a
%{_libdir} /dovecot/libdovecot-sieve.so
%{_libdir} /dovecot/libdovecot-sieve.so.*
%{_libdir} /dovecot/doveadm/lib10_doveadm_sieve_plugin.a
%{_libdir} /dovecot/doveadm/lib10_doveadm_sieve_plugin.so
%{_libdir} /dovecot/settings/libmanagesieve_login_settings.a
%{_libdir} /dovecot/settings/libmanagesieve_login_settings.so
%{_libdir} /dovecot/settings/libmanagesieve_settings.a
%{_libdir} /dovecot/settings/libmanagesieve_settings.so
2024-01-05 21:55:43 +01:00
%{_libdir} /dovecot/settings/libpigeonhole_settings.a
%{_libdir} /dovecot/settings/libpigeonhole_settings.so
2024-01-05 21:55:43 +01:00
%{_libdir} /dovecot/sieve/lib90_sieve_extprograms_plugin.a
%{_libdir} /dovecot/sieve/lib90_sieve_extprograms_plugin.so
2024-01-05 21:55:43 +01:00
%{_libdir} /dovecot/sieve/lib90_sieve_imapsieve_plugin.a
%{_libdir} /dovecot/sieve/lib90_sieve_imapsieve_plugin.so
2024-01-05 21:55:43 +01:00
%{_libexecdir} /dovecot/managesieve
%{_libexecdir} /dovecot/managesieve-login
2024-01-05 21:55:43 +01:00
%{_datadir} /aclocal/dovecot-pigeonhole.m4
2024-01-05 21:55:43 +01:00
%{_datadir} /doc/dovecot/example-config/sieve-ldap.conf
2024-01-05 21:55:43 +01:00
%{_datadir} /doc/dovecot/example-config/conf.d/20-managesieve.conf
%{_datadir} /doc/dovecot/example-config/conf.d/90-sieve.conf
%dir %{_datadir} /doc/dovecot
%dir %{_datadir} /doc/dovecot/example-config
%dir %{_datadir} /doc/dovecot/example-config/conf.d
%{_datadir} /doc/dovecot/example-config/conf.d/90-sieve-extprograms.conf
%dir %{_datadir} /doc/dovecot/sieve
2024-01-05 21:55:43 +01:00
%{_datadir} /doc/dovecot/sieve/*
2024-01-05 21:55:43 +01:00
%{_mandir} /man1/doveadm-sieve.1*
%{_mandir} /man1/sieve-dump.1*
%{_mandir} /man1/sieve-filter.1*
%{_mandir} /man1/sieve-test.1*
%{_mandir} /man1/sievec.1*
%{_mandir} /man1/sieved.1*
%{_mandir} /man7/pigeonhole.7*
2024-01-05 21:55:43 +01:00
%doc AUTHORS COPYING
%changelog
2024-08-20 10:19:31 +02:00
* Mon Aug 19 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3.0.5.21.1-1mamba
- update to 2.3.0.5.21.1
2024-01-05 21:55:43 +01:00
* Tue Oct 10 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3.0.5.21-1mamba
- update to 2.3.0.5.21
2024-01-05 21:55:43 +01:00
* Thu Mar 02 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3.0.5.20-1mamba
- update to 2.3.0.5.20
2024-01-05 21:55:43 +01:00
* Wed May 25 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3.0.5.19-1mamba
- update to 2.3.0.5.19
2024-01-05 21:55:43 +01:00
* Sat Sep 25 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3.0.5.16-1mamba
- update to 2.3.0.5.16
2024-01-05 21:55:43 +01:00
* Tue Mar 23 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3.0.5.14-1mamba
- update to 2.3.0.5.14
2024-01-05 21:55:43 +01:00
* Sat Sep 09 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.0.4.20-1mamba
- update to 2.2.0.4.20
2024-01-05 21:55:43 +01:00
* Sat Nov 19 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.0.4.16-1mamba
- update to 2.2.0.4.16
2024-01-05 21:55:43 +01:00
* Tue Apr 19 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.0.4.13-1mamba
- update to 2.2.0.4.13
2024-01-05 21:55:43 +01:00
* Sat May 02 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.0.4.7-1mamba
- update to 2.2.0.4.7
2024-01-05 21:55:43 +01:00
* Wed Dec 31 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.0.4.6-1mamba
- update to 2.2.0.4.6
2024-01-05 21:55:43 +01:00
* Tue May 21 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.0.4.0-1mamba
- update to 2.2.0.4.0
* Wed Apr 11 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.0.3.0-1mamba
- package created by autospec