dovecot-pigeonhole/dovecot-pigeonhole.spec

141 lines
5.1 KiB
RPMSpec
Raw Normal View History

%define dovecot_majver %(echo %version | cut -d. -f1-2)
%define dovecot_ver %(echo %version | cut -d. -f1-2,5-)
%define pigeonhole_ver %(echo %version | cut -d. -f3-)
Name: dovecot-pigeonhole
Version: 2.3.0.5.21.1
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>
URL: https://pigeonhole.dovecot.org/
Source: https://pigeonhole.dovecot.org/releases/%{dovecot_majver}/dovecot-%{dovecot_majver}-pigeonhole-%{pigeonhole_ver}.tar.gz
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libdovecot-devel
BuildRequires: libopenssl-devel
## AUTOBUILDREQ-END
BuildRequires: libdovecot-devel = %{dovecot_ver}
Requires: dovecot = %{dovecot_ver}
%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.
%debug_package
%prep
%setup -q -n dovecot-%{dovecot_majver}-pigeonhole-%{pigeonhole_ver}
%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)
%config %{_sysconfdir}/dovecot/sieve-ldap.conf
%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
%{_libdir}/dovecot/lib95_imap_filter_sieve_plugin.a
%{_libdir}/dovecot/lib95_imap_filter_sieve_plugin.so
%{_libdir}/dovecot/lib95_imap_sieve_plugin.a
%{_libdir}/dovecot/lib95_imap_sieve_plugin.so
%{_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
%{_libdir}/dovecot/settings/libpigeonhole_settings.a
%{_libdir}/dovecot/settings/libpigeonhole_settings.so
%{_libdir}/dovecot/sieve/lib90_sieve_extprograms_plugin.a
%{_libdir}/dovecot/sieve/lib90_sieve_extprograms_plugin.so
%{_libdir}/dovecot/sieve/lib90_sieve_imapsieve_plugin.a
%{_libdir}/dovecot/sieve/lib90_sieve_imapsieve_plugin.so
%{_libexecdir}/dovecot/managesieve
%{_libexecdir}/dovecot/managesieve-login
%{_datadir}/aclocal/dovecot-pigeonhole.m4
%{_datadir}/doc/dovecot/example-config/sieve-ldap.conf
%{_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
%{_datadir}/doc/dovecot/sieve/*
%{_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*
%doc AUTHORS COPYING
%changelog
* 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
* Tue Oct 10 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3.0.5.21-1mamba
- update to 2.3.0.5.21
* Thu Mar 02 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3.0.5.20-1mamba
- update to 2.3.0.5.20
* Wed May 25 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3.0.5.19-1mamba
- update to 2.3.0.5.19
* Sat Sep 25 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3.0.5.16-1mamba
- update to 2.3.0.5.16
* Tue Mar 23 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3.0.5.14-1mamba
- update to 2.3.0.5.14
* Sat Sep 09 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.0.4.20-1mamba
- update to 2.2.0.4.20
* Sat Nov 19 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.0.4.16-1mamba
- update to 2.2.0.4.16
* Tue Apr 19 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.0.4.13-1mamba
- update to 2.2.0.4.13
* Sat May 02 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.0.4.7-1mamba
- update to 2.2.0.4.7
* Wed Dec 31 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.0.4.6-1mamba
- update to 2.2.0.4.6
* 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