]> git.pld-linux.org Git - packages/courier-imap.git/blobdiff - courier-imap.spec
- make -j1 is required or it will fail to build, release 1
[packages/courier-imap.git] / courier-imap.spec
index dfdc46bba3d641c406474aaea11348e42355d11c..29f47baac573c9db87f8bd50957d7b4a4a5f12a9 100644 (file)
@@ -6,14 +6,14 @@
 %bcond_with    toplevel        # Allow toplevel folders. More info: http://www.ricky-chan.co.uk/courier/
 #
 Summary:       Courier-IMAP server
-Summary(pl):   Serwer Courier-IMAP
+Summary(pl.UTF-8):     Serwer Courier-IMAP
 Name:          courier-imap
-Version:       4.1.1
-Release:       3
+Version:       4.4.1
+Release:       1
 License:       GPL
 Group:         Networking/Daemons
 Source0:       http://dl.sourceforge.net/courier/%{name}-%{version}.tar.bz2
-# Source0-md5: f423a609d9cce0dcf193cac64eb4cbdd
+# Source0-md5: 71482dff367e5161a3c0f9c61bbfd2b1
 Source1:       %{name}.init
 Source2:       %{name}-ssl.init
 Source3:       %{name}-pop3.init
@@ -28,10 +28,11 @@ Patch4:             %{name}-drop-makedat.patch
 URL:           http://www.courier-mta.org/imap/
 BuildRequires: autoconf >= 2.54
 BuildRequires: automake
-BuildRequires: courier-authlib-devel >= 0.57
+BuildRequires: courier-authlib-devel >= 0.59
 BuildRequires: db-devel
 BuildRequires: fam-devel
 BuildRequires: libstdc++-devel
+BuildRequires: libtool
 BuildRequires: openssl-devel >= 0.9.7d
 BuildRequires: procps
 BuildRequires: rpmbuild(macros) >= 1.268
@@ -56,12 +57,12 @@ BuildRoot:  %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %description
 Courier-IMAP is an IMAP server for Maildir mailboxes.
 
-%description -l pl
+%description -l pl.UTF-8
 Courier-IMAP jest serwerem IMAP dla skrzynek pocztowych Maildir.
 
 %package common
 Summary:       Common files for imap and pop3 daemons
-Summary(pl):   Pliki wspólne dla serwerów imap i pop3
+Summary(pl.UTF-8):     Pliki wspólne dla serwerów imap i pop3
 Group:         Networking/Daemons
 Requires(post,preun):  /sbin/chkconfig
 Requires:      /sbin/chkconfig
@@ -72,41 +73,41 @@ Requires:   rc-scripts
 %description common
 Common files for imap and pop3 daemons.
 
-%description common -l pl
-Pliki wspólne dla serwerów imap i pop3.
+%description common -l pl.UTF-8
+Pliki wspólne dla serwerów imap i pop3.
 
 %package deliverquota
 Summary:       Deliver to a Maildir with a quota
-Summary(pl):   Obs³uga quoty przy dostarczaniu poczty do skrzynek Maildir
+Summary(pl.UTF-8):     Obsługa quoty przy dostarczaniu poczty do skrzynek Maildir
 Group:         Networking/Daemons
 
 %description deliverquota
 deliverquota is a temporary hack to implement E-mail delivery to a
 Maildir with a software-imposed quota.
 
-%description deliverquota -l pl
-deliverquota jest tymczasowym rozwi±zaniem implementuj±cym
-dostarczanie e-maili do skrzynek Maildir z programowo narzucon± quot±.
+%description deliverquota -l pl.UTF-8
+deliverquota jest tymczasowym rozwiązaniem implementującym
+dostarczanie e-maili do skrzynek Maildir z programowo narzuconą quotą.
 
 %package maildirmake
 Summary:       Tool for making mail folders in Maildir format
-Summary(pl):   Narzêdzie do tworzenia folderów w formacie Maildir
+Summary(pl.UTF-8):     Narzędzie do tworzenia folderów w formacie Maildir
 Group:         Networking/Daemons
 Conflicts:     qmail-maildirmake
 
 %description maildirmake
 Maildirmake is a tool for making mail folders in Maildir format.
 
-%description maildirmake -l pl
-Maildirmake jest narzêdziem do tworzenia folderów pocztowych w
+%description maildirmake -l pl.UTF-8
+Maildirmake jest narzędziem do tworzenia folderów pocztowych w
 formacie Maildir.
 
 %package pop3
 Summary:       Courier-IMAP POP3 Server
-Summary(pl):   Serwer Courier-IMAP POP3
-Group:         Networking/Daemons
+Summary(pl.UTF-8):     Serwer Courier-IMAP POP3
+Group:         Networking/Daemons/POP3
 Requires:      %{name}-common = %{version}-%{release}
-Requires:      pam >= 0.77.3
+Requires:      pam >= 0.79.0
 Provides:      pop3daemon
 Obsoletes:     pop3daemon
 Conflicts:     cyrus-imapd
@@ -117,7 +118,7 @@ Conflicts:  tpop3d
 %description pop3
 Courier-IMAP POP3 is an POP3 server for Maildir mailboxes.
 
-%description pop3 -l pl
+%description pop3 -l pl.UTF-8
 Courier-IMAP POP3 jest serwerem POP3 dla skrzynek pocztowych Maildir.
 
 %prep
@@ -137,7 +138,6 @@ install %{SOURCE4} courier-pop3-ssl.in
 rm -f makedat/configure.in
 
 %build
-
 # Change Makefile.am files and force recreate Makefile.in's.
 find -type f -a '(' -name configure.in -o -name configure.ac ')' | while read FILE; do
        cd "$(dirname "$FILE")"
@@ -149,7 +149,9 @@ find -type f -a '(' -name configure.in -o -name configure.ac ')' | while read FI
        %{__libtoolize}
        %{__aclocal}
        %{__autoconf}
-       %{__autoheader}
+       if grep -q AC_CONFIG_HEADER configure.in; then
+               %{__autoheader}
+       fi
        %{__automake}
 
        cd -
@@ -162,7 +164,7 @@ done
        --with-certsdir=%{_certsdir} \
        --with-mailer=/usr/lib/sendmail
 
-%{__make}
+%{__make} -j1
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.154335 seconds and 4 git commands to generate.