104 lines
3.8 KiB
RPMSpec
104 lines
3.8 KiB
RPMSpec
|
%define dovecot_ver %(echo %version | cut -d. -f1-2)
|
||
|
%define pigeonhole_ver %(echo %version | cut -d. -f3-5)
|
||
|
Name: dovecot-pigeonhole
|
||
|
Version: 2.2.0.4.0
|
||
|
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: http://pigeonhole.dovecot.org/
|
||
|
Source: http://www.rename-it.nl/dovecot/%{dovecot_ver}/dovecot-%{dovecot_ver}-pigeonhole-%{pigeonhole_ver}.tar.gz
|
||
|
License: LGPL
|
||
|
## AUTOBUILDREQ-BEGIN
|
||
|
BuildRequires: dovecot-devel
|
||
|
BuildRequires: glibc-devel
|
||
|
BuildRequires: libopenssl-devel
|
||
|
## AUTOBUILDREQ-END
|
||
|
BuildRequires: dovecot >= %{dovecot_ver}
|
||
|
BuildRequires: dovecot <= %{dovecot_ver}.255
|
||
|
Requires: dovecot >= %{dovecot_ver}
|
||
|
Requires: dovecot <= %{dovecot_ver}.255
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||
|
|
||
|
%debug_package
|
||
|
|
||
|
%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.
|
||
|
|
||
|
%prep
|
||
|
%setup -q -n dovecot-%{dovecot_ver}-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/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.la
|
||
|
%{_libdir}/dovecot/lib90_sieve_plugin.so
|
||
|
%{_libdir}/dovecot/libdovecot-sieve.a
|
||
|
%{_libdir}/dovecot/libdovecot-sieve.la
|
||
|
%{_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.la
|
||
|
%{_libdir}/dovecot/doveadm/lib10_doveadm_sieve_plugin.so
|
||
|
%{_libdir}/dovecot/settings/libmanagesieve_login_settings.a
|
||
|
%{_libdir}/dovecot/settings/libmanagesieve_login_settings.la
|
||
|
%{_libdir}/dovecot/settings/libmanagesieve_login_settings.so
|
||
|
%{_libdir}/dovecot/settings/libmanagesieve_settings.a
|
||
|
%{_libdir}/dovecot/settings/libmanagesieve_settings.la
|
||
|
%{_libdir}/dovecot/settings/libmanagesieve_settings.so
|
||
|
%{_libdir}/dovecot/sieve/lib90_sieve_extprograms_plugin.a
|
||
|
%{_libdir}/dovecot/sieve/lib90_sieve_extprograms_plugin.la
|
||
|
%{_libdir}/dovecot/sieve/lib90_sieve_extprograms_plugin.so
|
||
|
%{_libexecdir}/dovecot/managesieve
|
||
|
%{_libexecdir}/dovecot/managesieve-login
|
||
|
%{_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/script-location-dict.txt
|
||
|
%{_mandir}/man1/sieve-dump.1.gz
|
||
|
%{_mandir}/man1/sieve-filter.1.gz
|
||
|
%{_mandir}/man1/sieve-test.1.gz
|
||
|
%{_mandir}/man1/sievec.1.gz
|
||
|
%{_mandir}/man1/sieved.1.gz
|
||
|
%{_mandir}/man7/pigeonhole.7.gz
|
||
|
%doc AUTHORS COPYING
|
||
|
|
||
|
%changelog
|
||
|
* 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
|
||
|
|