]> git.pld-linux.org Git - packages/courier-imap.git/blobdiff - courier-imap.spec
- BR: gdbm-devel, gnet-devel, libidn-devel, pkgconfig
[packages/courier-imap.git] / courier-imap.spec
index d19bd41129e90d3ee0ce1d9c15b266b3e1e38f6f..f0f8a270d2978a761d66d1638c2d0626dd999e04 100644 (file)
@@ -8,12 +8,12 @@
 Summary:       Courier-IMAP server
 Summary(pl.UTF-8):     Serwer Courier-IMAP
 Name:          courier-imap
-Version:       4.1.2
-Release:       0.1
+Version:       4.7.0
+Release:       2
 License:       GPL
 Group:         Networking/Daemons
 Source0:       http://dl.sourceforge.net/courier/%{name}-%{version}.tar.bz2
-# Source0-md5: e4a1c75992cc85ba10f719e98f6df0ff
+# Source0-md5: e6984890e1aecf3cc6b099a1619324e6
 Source1:       %{name}.init
 Source2:       %{name}-ssl.init
 Source3:       %{name}-pop3.init
@@ -25,15 +25,18 @@ Patch1:             %{name}-certsdir.patch
 Patch2:                %{name}-maildir.patch
 Patch3:                %{name}-toplevel.patch
 Patch4:                %{name}-drop-makedat.patch
-Patch5:                %{name}-link.patch
 URL:           http://www.courier-mta.org/imap/
 BuildRequires: autoconf >= 2.54
 BuildRequires: automake
-BuildRequires: courier-authlib-devel >= 0.59
+BuildRequires: courier-authlib-devel >= 0.61
 BuildRequires: db-devel
-BuildRequires: fam-devel
+BuildRequires: gdbm-devel
+BuildRequires: gnet-devel
+BuildRequires: libidn-devel
 BuildRequires: libstdc++-devel
+BuildRequires: libtool
 BuildRequires: openssl-devel >= 0.9.7d
+BuildRequires: pkgconfig
 BuildRequires: procps
 BuildRequires: rpmbuild(macros) >= 1.268
 BuildRequires: sed >= 4.0
@@ -105,7 +108,7 @@ formacie Maildir.
 %package pop3
 Summary:       Courier-IMAP POP3 Server
 Summary(pl.UTF-8):     Serwer Courier-IMAP POP3
-Group:         Networking/Daemons
+Group:         Networking/Daemons/POP3
 Requires:      %{name}-common = %{version}-%{release}
 Requires:      pam >= 0.79.0
 Provides:      pop3daemon
@@ -130,7 +133,6 @@ Courier-IMAP POP3 jest serwerem POP3 dla skrzynek pocztowych Maildir.
 %patch3 -p1
 %endif
 %patch4 -p1
-%patch5 -p1
 
 install %{SOURCE1} courier-imap.in
 install %{SOURCE2} courier-imap-ssl.in
@@ -139,7 +141,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")"
@@ -151,7 +152,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 -
@@ -164,7 +167,7 @@ done
        --with-certsdir=%{_certsdir} \
        --with-mailer=/usr/lib/sendmail
 
-%{__make}
+%{__make} -j1
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.042305 seconds and 4 git commands to generate.