]> git.pld-linux.org Git - packages/courier-imap.git/blobdiff - courier-imap.spec
- updated to 5.2.2
[packages/courier-imap.git] / courier-imap.spec
index ff27beb43f94707c7a62591330b2a430fa8d6d05..943c76d2f4303a49ebcb1205c2de6c92b82a174e 100644 (file)
 Summary:       Courier-IMAP server
 Summary(pl.UTF-8):     Serwer Courier-IMAP
 Name:          courier-imap
-Version:       5.0.4
+Version:       5.2.2
 Release:       1
 License:       GPL v3 with OpenSSL exception
 Group:         Networking/Daemons
-Source0:       http://downloads.sourceforge.net/courier/%{name}-%{version}.tar.bz2
-# Source0-md5: cf2689a6896b31058f3932cc4e42cb21
+Source0:       https://downloads.sourceforge.net/courier/%{name}-%{version}.tar.bz2
+# Source0-md5: 7f210160a19ec973ea39d9ef32e25053
 Source1:       %{name}.init
 Source2:       %{name}-ssl.init
 Source3:       %{name}-pop3.init
@@ -36,17 +36,17 @@ Patch5:             %{name}-disable-courierlogger-check.patch
 URL:           http://www.courier-mta.org/imap/
 BuildRequires: autoconf >= 2.59
 BuildRequires: automake
-BuildRequires: courier-authlib-devel >= 0.61.0
+BuildRequires: courier-authlib-devel >= 0.71.0
 %{?with_socks:BuildRequires:   courier-sox-devel}
 BuildRequires: courier-unicode-devel >= 2.1
 BuildRequires: db-devel
-BuildRequires: libidn-devel >= 0.0.0
+BuildRequires: libidn2-devel >= 0.0.0
 %{?with_fam:BuildRequires:     gamin-devel}
 %{?with_gnutls:BuildRequires:  gnutls-devel >= 3.0}
 %{?with_gnutls:BuildRequires:  libgcrypt-devel}
 %{?with_gnutls:BuildRequires:  libgpg-error-devel}
 BuildRequires: libstdc++-devel
-BuildRequires: libtool >= 2:1.5
+BuildRequires: libtool >= 2:2
 %{!?with_gnutls:BuildRequires: openssl-devel >= 0.9.7d}
 BuildRequires: perl-base
 BuildRequires: pkgconfig
@@ -84,7 +84,7 @@ Requires(post,preun): /sbin/chkconfig
 Requires:      /sbin/chkconfig
 # even if using OpenSSL libraries, Courier uses certtool from GnuTLS
 Requires:      /usr/bin/certtool
-Requires:      courier-authlib >= 0.61.0
+Requires:      courier-authlib >= 0.71.0
 Requires:      procps
 Requires:      rc-scripts
 Conflicts:     maildrop < 3
@@ -210,8 +210,6 @@ cp -p %{SOURCE6} $RPM_BUILD_ROOT/etc/pam.d/pop3
 %{__rm} $RPM_BUILD_ROOT%{_sbindir}/mk{dhparams,imapdcert,pop3dcert}
 %{__mv} $RPM_BUILD_ROOT%{_datadir}/mk{dhparams,imapdcert,pop3dcert} $RPM_BUILD_ROOT%{_sbindir}
 
-cp -pf libs/imap/README README.imap
-
 # missing from make install
 cp -p libs/imap/courierpop3d.8 $RPM_BUILD_ROOT%{_mandir}/man8
 cp -p libs/tcpd/couriertls.1 $RPM_BUILD_ROOT%{_mandir}/man1
@@ -250,7 +248,8 @@ if [ "$1" = "0" ]; then
 fi
 
 
-%triggerin -- %{name} < 3.0.5
+%triggerin -- %{name} < 3.0.6
+# 3.0.5
 if [ -f /var/lib/openssl/certs/imapd.pem ]; then
        echo
        echo imapd.pem has been moved automatically to %{_certsdir}
@@ -276,7 +275,7 @@ if [ -f /etc/sysconfig/courier-imap ]; then
 fi
 %service -q courier-imap restart
 
-%triggerin -- %{name} < 3.0.6
+# 3.0.6
 . %{_sysconfdir}/imapd-ssl
 if [ $TLS_CACHEFILE = "/var/couriersslcache" ]; then
        sed -i s/^TLS_CACHEFILE=.*/"TLS_CACHEFILE=\/var\/spool\/courier-imap\/couriersslcache"/ %{_sysconfdir}/imapd-ssl
@@ -330,7 +329,8 @@ if [ "$1" = "0" ]; then
        /sbin/chkconfig --del courier-pop3-ssl
 fi
 
-%triggerin -n %{name}-pop3 -- %{name}-pop3 < 3.0.5
+%triggerin -n %{name}-pop3 -- %{name}-pop3 < 3.0.6
+# 3.0.5
 if [ -f /var/lib/openssl/certs/pop3d.pem ]; then
        echo
        echo pop3d.pem has been moved automatically to %{_certsdir}
@@ -354,7 +354,7 @@ if [ -f /etc/sysconfig/courier-pop3 ]; then
 fi
 %service courier-pop3 restart
 
-%triggerin -n %{name}-pop3 -- %{name}-pop3 < 3.0.6
+# 3.0.6
 . %{_sysconfdir}/pop3d-ssl
 if [ $TLS_CACHEFILE = "/var/couriersslcache" ]; then
        sed -i s/^TLS_CACHEFILE=.*/"TLS_CACHEFILE=\/var\/spool\/courier-imap\/couriersslcache"/ %{_sysconfdir}/pop3d-ssl
@@ -391,7 +391,7 @@ fi
 
 %files common
 %defattr(644,root,root,755)
-%doc AUTHORS COPYING INSTALL NEWS README README.imap libs/imap/{BUGS,ChangeLog} libs/maildir/README.maildirquota.txt
+%doc AUTHORS COPYING INSTALL NEWS README libs/imap/{BUGS,ChangeLog} libs/maildir/README.maildirquota.txt
 %attr(751,root,root) %dir %{_sysconfdir}
 %attr(750,root,root) %dir %{_certsdir}
 %attr(770,daemon,daemon) %dir %{_localstatedir}
This page took 0.061467 seconds and 4 git commands to generate.