SPECS: courier.spec - updated to 0.51.0 - added script rm -static

andree andree at pld-linux.org
Wed Aug 17 01:26:39 CEST 2005


Author: andree                       Date: Tue Aug 16 23:26:39 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated to 0.51.0
- added script rm -static

---- Files affected:
SPECS:
   courier.spec (1.112 -> 1.113) 

---- Diffs:

================================================================
Index: SPECS/courier.spec
diff -u SPECS/courier.spec:1.112 SPECS/courier.spec:1.113
--- SPECS/courier.spec:1.112	Mon Jul  4 00:45:02 2005
+++ SPECS/courier.spec	Wed Aug 17 01:26:33 2005
@@ -6,13 +6,12 @@
 Summary:	Courier mail server
 Summary(pl):	Serwer poczty Courier
 Name:		courier
-Version:	0.50.1
+Version:	0.51.0
 Release:	1
 License:	GPL
 Group:		Networking/Daemons
-#Source0:	http://dl.sourceforge.net/courier/%{name}-%{version}.tar.bz2
-Source0:	http://citkit.dl.sourceforge.net/sourceforge/courier/%{name}-%{version}.tar.bz2
-# Source0-md5:	6fb2b188bba8fbf244f2feb80ad99a70
+Source0:	http://dl.sourceforge.net/courier/%{name}-%{version}.tar.bz2
+# Source0-md5:	9c6c9decb33b9515978f0b1062d38923
 Patch0: 	%{name}-openssl-path.patch
 Patch1:		%{name}-withoutfam.patch
 Patch2:		%{name}-maildir.patch
@@ -264,52 +263,23 @@
 rm -rf courier/module.fax
 cp -f /usr/share/automake/config.sub webmail
 
-cd rootcerts
-%{__libtoolize}
-%{__aclocal}
-%{__autoconf}
-%{__automake}
-cd ..
-
-%{__libtoolize}
-%{__aclocal}
-%{__autoconf}
-%{__automake}
-
-cd courier
-%{__aclocal}
-%{__autoconf}
-automake -a -c --foreign
-
-cd module.esmtp
-%{__aclocal}
-%{__autoconf}
-automake -a -c --foreign
-cd ../..
-
-cd imap
-%{__aclocal}
-%{__autoconf}
-automake -a -c --foreign
-cd ..
-
-cd webadmin
-%{__aclocal}
-%{__autoconf}
-%{__automake}
-cd ..
-
-cd maildir
-%{__aclocal}
-%{__autoconf}
-automake -a -c --foreign
-cd ..
-
-cd maildrop
-%{__aclocal}
-%{__autoconf}
-automake -a -c --foreign
-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 \
 	--localstatedir=%{_localstatedir} \
@@ -948,6 +918,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.113  2005/08/16 23:26:33  andree
+- updated to 0.51.0
+- added script rm -static
+
 Revision 1.112  2005/07/03 22:45:02  andree
 - updated to 0.50.1
 
================================================================

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




More information about the pld-cvs-commit mailing list