r12044 - in /tools/gnome-pkg-tools: 1/rules/gnome-get-source.mk debian/changelog

kilian at users.alioth.debian.org kilian at users.alioth.debian.org
Sat Jul 21 16:50:01 UTC 2007


Author: kilian
Date: Sat Jul 21 16:50:01 2007
New Revision: 12044

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=12044
Log:
Add zip download and repack too.

Modified:
    tools/gnome-pkg-tools/1/rules/gnome-get-source.mk
    tools/gnome-pkg-tools/debian/changelog

Modified: tools/gnome-pkg-tools/1/rules/gnome-get-source.mk
URL: http://svn.debian.org/wsvn/pkg-gnome/tools/gnome-pkg-tools/1/rules/gnome-get-source.mk?rev=12044&op=diff
==============================================================================
--- tools/gnome-pkg-tools/1/rules/gnome-get-source.mk (original)
+++ tools/gnome-pkg-tools/1/rules/gnome-get-source.mk Sat Jul 21 16:50:01 2007
@@ -45,6 +45,16 @@
 	  gzip -9 >$(DEB_TARBALL_DOWNLOAD_DIR)/$(DEB_SOURCE_PACKAGE)_$(DEB_UPSTREAM_VERSION).orig.tar.gz ; \
 	  rm -f $(DEB_TARBALL_DOWNLOAD_DIR)/$(DEB_SOURCE_PACKAGE)_$(DEB_UPSTREAM_VERSION).orig.$(TARBALL_EXT) \
 	  ;;\
+	zip) \
+	  unzip -q $(DEB_TARBALL_DOWNLOAD_DIR)/$(DEB_SOURCE_PACKAGE)_$(DEB_UPSTREAM_VERSION).orig.$(TARBALL_EXT) \
+	    -d $(DEB_TARBALL_DOWNLOAD_DIR)/$(GNOME_MODULE)-$(DEB_UPSTREAM_VERSION) ;\
+	    (cd $(DEB_TARBALL_DOWNLOAD_DIR);\
+	      tar cfz $(DEB_SOURCE_PACKAGE)_$(DEB_UPSTREAM_VERSION).orig.tar.gz \
+	      $(GNOME_MODULE)-$(DEB_UPSTREAM_VERSION) \
+	     );\
+	  rm -rf $(DEB_TARBALL_DOWNLOAD_DIR)/$(DEB_SOURCE_PACKAGE)_$(DEB_UPSTREAM_VERSION).orig.$(TARBALL_EXT) \
+	    $(DEB_TARBALL_DOWNLOAD_DIR)/$(GNOME_MODULE)-$(DEB_UPSTREAM_VERSION);\
+	  ;;\
 	esac
 	@# create a dbs tarball if necessary
 	$(if $(DEB_USE_DBS_TARBALL_LAYOUT),gnome-make-tartar $(DEB_TARBALL_DOWNLOAD_DIR)/$(GNOME_TARBALL) $(DEB_SOURCE_PACKAGE) $(DEB_UPSTREAM_VERSION))

Modified: tools/gnome-pkg-tools/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/tools/gnome-pkg-tools/debian/changelog?rev=12044&op=diff
==============================================================================
--- tools/gnome-pkg-tools/debian/changelog (original)
+++ tools/gnome-pkg-tools/debian/changelog Sat Jul 21 16:50:01 2007
@@ -1,7 +1,7 @@
 gnome-pkg-tools (0.12.2) UNRELEASED; urgency=low
 
   * NOT RELEASED YET
-  * Add bz2 downloads with repacking to 1/rules/gnome-get-source.mk.
+  * Add bz2 and zip downloads with repacking to 1/rules/gnome-get-source.mk.
   * Add svn downloads from svn.gnome.org.
   * Relax svn revision syntax restrictions.
 




More information about the pkg-gnome-commits mailing list