35 |
Name: cyrus-imapd |
Name: cyrus-imapd |
36 |
Summary: A high-performance mail server with IMAP, POP3, NNTP and SIEVE support |
Summary: A high-performance mail server with IMAP, POP3, NNTP and SIEVE support |
37 |
Version: %{real_version} |
Version: %{real_version} |
38 |
Release: %mkrel 8 |
Release: %mkrel 9 |
39 |
License: BSD |
License: BSD |
40 |
Group: System/Servers |
Group: System/Servers |
41 |
URL: http://www.cyrusimap.org |
URL: http://www.cyrusimap.org |
42 |
|
|
43 |
# Upstream sources |
# Upstream sources |
44 |
Source0: ftp://ftp.cyrusimap.org/cyrus-imapd/%{_name}-%{real_version}.tar.gz |
Source0: ftp://ftp.cyrusimap.org/cyrus-imapd/%{_name}-%{real_version}.tar.gz |
45 |
Source1: cyrus-imapd.imap-2.3.x-conf |
Source1: cyrus-imapd.imap-2.5.x-conf |
46 |
Source2: cyrus-imapd.cvt_cyrusdb_all |
Source2: cyrus-imapd.cvt_cyrusdb_all |
47 |
Source3: cyrus-imapd.magic |
Source3: cyrus-imapd.magic |
48 |
|
|
455 |
|
|
456 |
# These commands may fail in a docker container, which may not |
# These commands may fail in a docker container, which may not |
457 |
# have a /usr/bin/systemctl with a 'preset' command |
# have a /usr/bin/systemctl with a 'preset' command |
458 |
%systemd_post cyrus-imapd || : |
%_post_service cyrus-imapd |
459 |
|
|
460 |
|
|
461 |
%preun |
%preun |
462 |
%systemd_preun cyrus-imapd >/dev/null 2>&1 || : |
%_preun_service cyrus-imapd |
463 |
|
|
464 |
|
|
465 |
%postun |
%postun |