SPECS: courier-imap.spec - updated to 4.0.4 - remove -static from ...

andree andree at pld-linux.org
Thu Sep 1 16:06:08 CEST 2005


Author: andree                       Date: Thu Sep  1 14:06:08 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated to 4.0.4
- remove -static from Makefile.am

---- Files affected:
SPECS:
   courier-imap.spec (1.147 -> 1.148) 

---- Diffs:

================================================================
Index: SPECS/courier-imap.spec
diff -u SPECS/courier-imap.spec:1.147 SPECS/courier-imap.spec:1.148
--- SPECS/courier-imap.spec:1.147	Tue Jun  7 00:53:25 2005
+++ SPECS/courier-imap.spec	Thu Sep  1 16:06:03 2005
@@ -2,12 +2,12 @@
 Summary:	Courier-IMAP server
 Summary(pl):	Serwer Courier-IMAP
 Name:		courier-imap
-Version:	4.0.3
+Version:	4.0.4
 Release:	1
 License:	GPL
 Group:		Networking/Daemons
 Source0:	http://dl.sourceforge.net/courier/%{name}-%{version}.tar.bz2
-# Source0-md5:	1bbe6544dc39ba14e6c71589c7f74337
+# Source0-md5:	cb5a1d394e622fe2c5ea7bcab68c6286
 Source1:	%{name}.init
 Source2:	%{name}-pop3.init
 Source3:	%{name}.pamd
@@ -117,20 +117,24 @@
 install %{SOURCE2} courier-pop3.in
 
 %build
-cp -f /usr/share/automake/config.sub .
-cp -f /usr/share/automake/config.sub maildir
 
-%{__libtoolize}
-%{__aclocal}
-%{__autoconf}
-%{__automake}
-
-cd imap
-%{__aclocal}
-%{__autoconf}
-ln -s ../ltmain.sh .
-%{__automake}
-cd ..
+# Change Makefile.am files and force recreate Makefile.in's.
+OLDDIR=`pwd`
+find -type f -a \( -name configure.in -o -name configure.ac \) | while read FILE; do
+        cd "`dirname "$FILE"`"
+
+        if [ -f Makefile.am ]; then
+                sed -i -e '/_LDFLAGS=-static/d' Makefile.am
+        fi
+
+        %{__libtoolize}
+        %{__aclocal}
+        %{__autoconf}
+        %{__autoheader}
+        %{__automake}
+
+        cd "$OLDDIR"
+done
 
 %configure \
 	--with-db=db \
@@ -374,6 +378,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.148  2005/09/01 14:06:03  andree
+- updated to 4.0.4
+- remove -static from Makefile.am
+
 Revision 1.147  2005/06/06 22:53:25  paszczus
 - updated to 4.0.3
 - STBR
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/courier-imap.spec?r1=1.147&r2=1.148&f=u




More information about the pld-cvs-commit mailing list