automatic version update by autodist [release 2.3.15-1mamba;Wed Jun 23 2021]

This commit is contained in:
Automatic Build System 2024-01-05 21:55:27 +01:00
parent a94e6668f7
commit 44268f5683

View File

@ -5,7 +5,7 @@
%define dovecot_userid 65427
Name: dovecot
Version: 2.3.14
Version: 2.3.15
Release: 1mamba
Summary: An IMAP and POP3 server written with security primarily in mind
Group: System/Servers
@ -21,31 +21,56 @@ BuildRequires: glibc-devel
BuildRequires: libbzip2-devel
BuildRequires: libcap-devel
BuildRequires: libe2fs-devel
BuildRequires: libexttextcat-devel
BuildRequires: libgcc
BuildRequires: libicu-devel
BuildRequires: libkrb5-devel
BuildRequires: libmysql5-devel
BuildRequires: liblz4-devel
BuildRequires: liblzma-devel
BuildRequires: libmariadb-devel
BuildRequires: libopenldap-devel
BuildRequires: libopenssl-devel
BuildRequires: libpam-devel
BuildRequires: libsodium-devel
BuildRequires: libstemmer-devel
BuildRequires: libsystemd-devel
BuildRequires: libtirpc-devel
BuildRequires: libunwind-devel
BuildRequires: libz-devel
BuildRequires: pam-devel
BuildRequires: libzstd-devel
## AUTOBUILDREQ-END
BuildRequires: libsasl-devel >= 2.1.21
BuildRequires: libgssapi-devel >= 0.10
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description
Dovecot is an open source IMAP and POP3 server for Linux/UNIX-like systems, written with security primarily in mind. Although it's written in C, it uses several coding techniques to avoid most of the common pitfalls.
Dovecot can work with standard mbox and Maildir formats and it's fully compatible with UW-IMAP and Courier IMAP servers' implementation of them, as well as mail clients accessing the mailboxes directly. It's easy to migrate from them to Dovecot. Dovecot will also soon have its own high performance mailbox format called dbox. Perhaps some day in future Dovecot will also support storing mails in SQL databases.
%package devel
Group: Development/Libraries
Summary: Static libraries and headers for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%package -n lib%{name}
Group: System/Libraries
Summary: Shared libraries for %{name}
%description devel
%description -n lib%{name}
Dovecot is an open source IMAP and POP3 server for Linux/UNIX-like systems, written with security primarily in mind. Although it's written in C, it uses several coding techniques to avoid most of the common pitfalls.
Dovecot can work with standard mbox and Maildir formats and it's fully compatible with UW-IMAP and Courier IMAP servers' implementation of them, as well as mail clients accessing the mailboxes directly. It's easy to migrate from them to Dovecot. Dovecot will also soon have its own high performance mailbox format called dbox. Perhaps some day in future Dovecot will also support storing mails in SQL databases.
This package contains the shared libraries provided by %{name}.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Static libraries and headers for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Provides: dovecot-devel
Obsoletes: dovecot-devel < 2.3.15
%description -n lib%{name}-devel
Dovecot is an open source IMAP and POP3 server for Linux/UNIX-like systems, written with security primarily in mind. Although it's written in C, it uses several coding techniques to avoid most of the common pitfalls.
Dovecot can work with standard mbox and Maildir formats and it's fully compatible with UW-IMAP and Courier IMAP servers' implementation of them, as well as mail clients accessing the mailboxes directly. It's easy to migrate from them to Dovecot. Dovecot will also soon have its own high performance mailbox format called dbox. Perhaps some day in future Dovecot will also support storing mails in SQL databases.
This package contains the headers and static libraries needed for development with %{name}.
%debug_package
%prep
%setup -q -n %{name}-%{version}%{?append_ver}
sed -i "s|/usr/local/sbin/dovecot|%{_sbindir}/dovecot|" doc/dovecot-initd.sh
@ -66,7 +91,7 @@ LDFLAGS+="-ltirpc" \
cp -a %{buildroot}%{_docdir}/dovecot/example-config/* %{buildroot}%{_sysconfdir}/dovecot/
install -D -m0755 doc/dovecot-initd.sh %{buildroot}%{_initrddir}/dovecot
#install -D -m0755 doc/dovecot-initd.sh %{buildroot}%{_initrddir}/dovecot
install -D -m0755 doc/mkcert.sh %{buildroot}%{_docdir}/dovecot/mkcert.sh
install -D -m0644 doc/dovecot-openssl.cnf %{buildroot}%{_docdir}/dovecot/dovecot-openssl.cnf
@ -92,6 +117,7 @@ fi
:
%post
%systemd_post dovecot.socket
if [ $1 -ge 1 ]; then
[ -e %{_sysconfdir}/ssl/certs/dovecot.pem ] || \
OPENSSLCONFIG=%{_docdir}/dovecot/dovecot-openssl.cnf %{_docdir}/dovecot/mkcert.sh &>/dev/null
@ -99,6 +125,7 @@ fi
:
%preun
%systemd_preun dovecot.socket
# erase
if [ $1 -eq 0 ]; then
/usr/sbin/userdel dovecot 2>/dev/null
@ -108,9 +135,15 @@ if [ $1 -eq 0 ]; then
fi
:
%postun
%systemd_postun dovecot.socket
:
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_initrddir}/dovecot
%dir %{_sysconfdir}/dovecot
%{_sysconfdir}/dovecot/README
%config(noreplace) %{_sysconfdir}/dovecot/dovecot.conf
@ -125,6 +158,15 @@ fi
%{_bindir}/dovecot-sysreport
%{_bindir}/dsync
%{_sbindir}/dovecot
%{_unitdir}/dovecot.service
%{_unitdir}/dovecot.socket
%dir %{_docdir}/dovecot
%{_docdir}/dovecot/*
%{_mandir}/man1/*
%{_mandir}/man7/*
%files -n lib%{name}
%defattr(-,root,root)
%dir %{_libdir}/dovecot/
%{_libdir}/dovecot/lib*_plugin.*
%{_libdir}/dovecot/libdovecot-*.so.*
@ -151,13 +193,9 @@ fi
%{_libdir}/dovecot/old-stats/*
%dir %{_libexecdir}/dovecot
%{_libexecdir}/dovecot/*
%dir %{_docdir}/dovecot
%{_docdir}/dovecot/*
%{_mandir}/man1/*
%{_mandir}/man7/*
%doc AUTHORS COPYING
%files devel
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_includedir}/dovecot
%{_includedir}/dovecot/*.h
@ -176,6 +214,9 @@ fi
%doc ChangeLog NEWS README TODO
%changelog
* Wed Jun 23 2021 Automatic Build System <autodist@mambasoft.it> 2.3.15-1mamba
- automatic version update by autodist
* Fri Mar 05 2021 Automatic Build System <autodist@mambasoft.it> 2.3.14-1mamba
- automatic version update by autodist