From 64398c05a8e691e11bd15b8113c587f556a32268 Mon Sep 17 00:00:00 2001
From: Sebastien Robin <seb@nexedi.com>
Date: Tue, 20 Jan 2004 09:15:22 +0000
Subject: [PATCH] update TranslationService with version 0.4 update Makefile
 for mandrake 9.2 (never commited before)

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@212 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5/spec/Makefile                | 37 +++++++++++++++++------
 product/ERP5/spec/TranslationService.spec |  9 ++++--
 2 files changed, 34 insertions(+), 12 deletions(-)

diff --git a/product/ERP5/spec/Makefile b/product/ERP5/spec/Makefile
index 07a2d9b461..65f9809903 100755
--- a/product/ERP5/spec/Makefile
+++ b/product/ERP5/spec/Makefile
@@ -11,11 +11,14 @@ all: base18-spec zsqlcatalog-spec erp5-spec coramy-spec erp5compatibility-spec \
 
 clean:
 	rm -rf /home/$(USER)/rpm/RPMS/i586/*
+	rm -rf /home/$(USER)/rpm/RPMS/noarch/*
 	rm -rf /home/$(USER)/rpm/SRPMS/*
 
 # For nexedi, same as above and the synchronyzation
 # with the rpm server
-nex-all: all list sync
+nex-all: nex-all-9.2
+nex-all-9.1: all list-9.1 sync-9.1
+nex-all-9.2: all list-9.2 sync-9.2
 
 nex-update: list sync
 
@@ -44,14 +47,30 @@ construct-all:
 	rpmbuild --sign -ba CMFCategory.spec ERP5Compatibility.spec ERP5Type.spec ERP5SyncML.spec ERP5Catalog.spec ERP5.spec ERP5Form.spec Base18.spec ZSQLCatalog.spec Coramy.spec
 
 # create the synthesis.hdlist.cz file
-list: 
-	-rsync -av $(RPM_PATH)/RPMS/i586/*.rpm $(RPM_PATH)/nexRPMS/
-	-rsync -av $(RPM_PATH)/SRPMS/*.rpm $(RPM_PATH)/nexSRPMS/
-	genhdlist $(RPM_PATH)/nexSRPMS/
-	genhdlist $(RPM_PATH)/nexRPMS/
+list: list-9.2
+
+list-9.1: 
+	-rsync -av $(RPM_PATH)/RPMS/i586/*.rpm $(RPM_PATH)/nexRPMS-mdk-9.1/
+	-rsync -av $(RPM_PATH)/RPMS/noarch/*.rpm $(RPM_PATH)/nexRPMS-mdk-9.1/
+	-rsync -av $(RPM_PATH)/SRPMS/*.rpm $(RPM_PATH)/nexSRPMS-mdk-9.1/
+	genhdlist $(RPM_PATH)/nexSRPMS-mdk-9.1/
+	genhdlist $(RPM_PATH)/nexRPMS-mdk-9.1/
+
+list-9.2: 
+	-rsync -av $(RPM_PATH)/RPMS/i586/*.rpm $(RPM_PATH)/nexRPMS-mdk-9.2/
+	-rsync -av $(RPM_PATH)/RPMS/noarch/*.rpm $(RPM_PATH)/nexRPMS-mdk-9.2/
+	-rsync -av $(RPM_PATH)/SRPMS/*.rpm $(RPM_PATH)/nexSRPMS-mdk-9.2/
+	genhdlist $(RPM_PATH)/nexSRPMS-mdk-9.2/
+	genhdlist $(RPM_PATH)/nexRPMS-mdk-9.2/
 
 # Synchronization with the nexedi server
-sync:
-	-rsync -rlvpugtz -e ssh --progress --stats $(RPM_PATH)/nexRPMS/ $(USER)@nexedi.org:/var/www/html/nexedi.org/static/RPMS/
-	-rsync -rlvpugtz -e ssh --progress --stats $(RPM_PATH)/nexRPMS/ $(USER)@nexedi.org:/var/www/html/nexedi.org/static/RPMS/
+sync: sync-9.2
+
+sync-9.1:
+	-rsync -rlvputz -e ssh --progress --partial --stats $(RPM_PATH)/nexRPMS-mdk-9.1/ $(USER)@nexedi.org:/var/www/html/nexedi.org/static/Mandrake/9.1/RPMS/
+	-rsync -rlvputz -e ssh --progress --partial --stats $(RPM_PATH)/nexSRPMS-mdk-9.1/ $(USER)@nexedi.org:/var/www/html/nexedi.org/static/Mandrake/9.1/SRPMS/
+
+sync-9.2:
+	-rsync -rlvputz -e ssh --progress --partial --stats $(RPM_PATH)/nexRPMS-mdk-9.2/ $(USER)@nexedi.org:/var/www/html/nexedi.org/static/Mandrake/9.2/RPMS/
+	-rsync -rlvputz -e ssh --progress --partial --stats $(RPM_PATH)/nexSRPMS-mdk-9.2/ $(USER)@nexedi.org:/var/www/html/nexedi.org/static/Mandrake/9.2/SRPMS
 
diff --git a/product/ERP5/spec/TranslationService.spec b/product/ERP5/spec/TranslationService.spec
index 8dbc98580f..58f18d0c38 100755
--- a/product/ERP5/spec/TranslationService.spec
+++ b/product/ERP5/spec/TranslationService.spec
@@ -1,7 +1,7 @@
 Name:               TranslationService
 Summary:            A Zope product to provide translation
-Version:            0.3
-Release:            3mdk
+Version:            0.4
+Release:            1mdk
 Group:              Development/Python
 Requires:           zope
 License:            GPL
@@ -43,12 +43,15 @@ rm -rf $RPM_BUILD_ROOT
 #----------------------------------------------------------------------
 %files
 %defattr(-,root,root,0755)
-%doc CHANGES.txt LICENSE.txt version.txt
+%doc LICENSE.txt version.txt
 
 %{_libdir}/zope/lib/python/Products/%{name}/
 
 #----------------------------------------------------------------------
 %changelog
+* Mon Jan 20 2005 Sebastien Robin <seb@nexedi.com> 0.3-3mdk
+- Update to TranslationService 0.4
+
 * Wed Sep 12 2003 Sebastien Robin <seb@nexedi.com> 0.3-3mdk
 - Make now signed rpm
 
-- 
2.30.9