From 1197a6ac34663c52ebeee0a1e8709272f6d7dbc8 Mon Sep 17 00:00:00 2001
From: Sebastien Robin <seb@nexedi.com>
Date: Wed, 2 Jun 2004 08:23:01 +0000
Subject: [PATCH] update for Mandrake 10.0

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@945 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5/spec/Makefile | 18 +++++++++++++++---
 1 file changed, 15 insertions(+), 3 deletions(-)

diff --git a/product/ERP5/spec/Makefile b/product/ERP5/spec/Makefile
index 2f4e3074a3..5118b1cbb5 100755
--- a/product/ERP5/spec/Makefile
+++ b/product/ERP5/spec/Makefile
@@ -16,9 +16,10 @@ clean:
 
 # For nexedi, same as above and the synchronyzation
 # with the rpm server
-nex-all: nex-all-9.2
+nex-all: nex-all-10.0
 nex-all-9.1: all list-9.1 sync-9.1
 nex-all-9.2: all list-9.2 sync-9.2
+nex-all-10.0: all list-10.0 sync-10.0
 
 nex-update: list sync
 
@@ -52,7 +53,7 @@ construct-all:
 	rpmbuild -ba CMFCategory.spec ERP5Compatibility.spec ERP5Type.spec ERP5SyncML.spec ERP5Catalog.spec ERP5.spec ERP5Form.spec Base18.spec ZSQLCatalog.spec Coramy.spec CMFActivity.spec
 
 # create the synthesis.hdlist.cz file
-list: list-9.2 copy
+list: list-10.0 copy
 
 list-9.1: 
 	-rsync -av $(RPM_PATH)/RPMS/i586/*.rpm $(RPM_PATH)/nexRPMS-mdk-9.1/
@@ -68,8 +69,15 @@ list-9.2:
 	genhdlist $(RPM_PATH)/nexSRPMS-mdk-9.2/
 	genhdlist $(RPM_PATH)/nexRPMS-mdk-9.2/
 
+list-10.0: 
+	-rsync -av $(RPM_PATH)/RPMS/i586/*.rpm $(RPM_PATH)/nexRPMS-mdk-10.0/
+	-rsync -av $(RPM_PATH)/RPMS/noarch/*.rpm $(RPM_PATH)/nexRPMS-mdk-10.0/
+	-rsync -av $(RPM_PATH)/SRPMS/*.rpm $(RPM_PATH)/nexSRPMS-mdk-10.0/
+	genhdlist $(RPM_PATH)/nexSRPMS-mdk-10.0/
+	genhdlist $(RPM_PATH)/nexRPMS-mdk-10.0/
+
 # Synchronization with the nexedi server
-sync: sync-9.2
+sync: sync-10.0
 
 sync-9.1:
 	-rsync -rlvputz -e ssh --progress --partial --stats $(RPM_PATH)/nexRPMS-mdk-9.1/ $(USER)@smets.com:/var/www/html/nexedi.org/static/Mandrake/9.1/RPMS/
@@ -79,3 +87,7 @@ sync-9.2:
 	-rsync -rlvputz -e ssh --progress --partial --stats $(RPM_PATH)/nexRPMS-mdk-9.2/ $(USER)@smets.com:/var/www/html/nexedi.org/static/Mandrake/9.2/RPMS/
 	-rsync -rlvputz -e ssh --progress --partial --stats $(RPM_PATH)/nexSRPMS-mdk-9.2/ $(USER)@smets.com:/var/www/html/nexedi.org/static/Mandrake/9.2/SRPMS
 
+sync-9.2:
+	-rsync -rlvputz -e ssh --progress --partial --stats $(RPM_PATH)/nexRPMS-mdk-10.0/ $(USER)@smets.com:/var/www/html/nexedi.org/static/Mandrake/10.0/RPMS/
+	-rsync -rlvputz -e ssh --progress --partial --stats $(RPM_PATH)/nexSRPMS-mdk-10.0/ $(USER)@smets.com:/var/www/html/nexedi.org/static/Mandrake/10.0/SRPMS
+
-- 
2.30.9