[Pkg-voip-commits] r8507 - in /asterisk-sounds/asterisk-core-sounds/debian: changelog control rules

tzafrir at alioth.debian.org tzafrir at alioth.debian.org
Fri Jun 18 14:24:16 UTC 2010


Author: tzafrir
Date: Fri Jun 18 14:24:09 2010
New Revision: 8507

URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=8507
Log:
* A single source tarball.
* A @debian.org email.

Modified:
    asterisk-sounds/asterisk-core-sounds/debian/changelog
    asterisk-sounds/asterisk-core-sounds/debian/control
    asterisk-sounds/asterisk-core-sounds/debian/rules

Modified: asterisk-sounds/asterisk-core-sounds/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-voip/asterisk-sounds/asterisk-core-sounds/debian/changelog?rev=8507&op=diff
==============================================================================
--- asterisk-sounds/asterisk-core-sounds/debian/changelog (original)
+++ asterisk-sounds/asterisk-core-sounds/debian/changelog Fri Jun 18 14:24:09 2010
@@ -1,6 +1,6 @@
-asterisk-core-sounds (1.4.17-1) UNRELEASED; urgency=low
+asterisk-core-sounds (1.4.19-1) UNRELEASED; urgency=low
 
   * Initial release. (Closes: #571166)
   * Depending on debhelper (>= 7.0.50~) due to using dh override. 
 
- -- Tzafrir Cohen <tzafrir.cohen at xorcom.com>  Sat, 20 Mar 2010 02:58:36 +0200
+ -- Tzafrir Cohen <tzafrir at debian.org>  Fri, 30 Apr 2010 13:35:02 +0300

Modified: asterisk-sounds/asterisk-core-sounds/debian/control
URL: http://svn.debian.org/wsvn/pkg-voip/asterisk-sounds/asterisk-core-sounds/debian/control?rev=8507&op=diff
==============================================================================
--- asterisk-sounds/asterisk-core-sounds/debian/control (original)
+++ asterisk-sounds/asterisk-core-sounds/debian/control Fri Jun 18 14:24:09 2010
@@ -2,13 +2,12 @@
 Section: comm
 Priority: extra
 Maintainer: Debian VoIP Team <pkg-voip-maintainers at lists.alioth.debian.org>
-Uploaders: Tzafrir Cohen <tzafrir.cohen at xorcom.com>
+Uploaders: Tzafrir Cohen <tzafrir at debian.org>
 Build-Depends: debhelper (>= 7.0.50~)
 Standards-Version: 3.8.4
 Homepage: http://www.asterisk.org/
 
 Package: asterisk-core-sounds-en-g722
-Section: comm
 Architecture: all
 # For the moment we use the existing asterisk-sounds-main rather
 # than forcing the user to install our new package just to get new formats.
@@ -25,7 +24,6 @@
  Allison Smith) in raw G.722 format (mildly compressed wide-band codec).
 
 Package: asterisk-core-sounds-en-gsm
-Section: comm
 Architecture: all
 Depends: ${misc:Depends}
 Provides: asterisk-prompt-en, asterisk-prompt-en-us
@@ -44,7 +42,6 @@
  alternatives and hence is required by packages of other formats.
 
 Package: asterisk-core-sounds-en-wav
-Section: comm
 Architecture: all
 Depends: ${misc:Depends}
 Recommends: asterisk-core-sounds-en-en | asterisk-sounds-main ( >= 1.6.2.6)
@@ -58,7 +55,6 @@
  Allison Smith) in WAV format (8Khz, mono).
 
 Package: asterisk-core-sounds-es-g722
-Section: comm
 Architecture: all
 Depends: ${misc:Depends}
 Recommends: asterisk-core-sounds-es-gsm
@@ -72,7 +68,6 @@
  Allison Smith) in raw G.722 format (mildly compressed wide-band codec).
 
 Package: asterisk-core-sounds-es-gsm
-Section: comm
 Architecture: all
 Depends: ${misc:Depends}
 Provides: asterisk-prompt-es, asterisk-prompt-es-mx
@@ -90,7 +85,6 @@
  alternatives and hence is required by packages of other formats.
 
 Package: asterisk-core-sounds-es-wav
-Section: comm
 Architecture: all
 Depends: ${misc:Depends}
 Recommends: asterisk-core-sounds-es-gsm
@@ -104,7 +98,6 @@
  Allison Smith) in WAV format (8Khz, mono).
 
 Package: asterisk-core-sounds-fr-g722
-Section: comm
 Architecture: all
 Depends: ${misc:Depends}
 Recommends: asterisk-core-sounds-fr-gsm
@@ -118,7 +111,6 @@
  June Wallack) in raw G.722 format (mildly compressed wide-band codec).
 
 Package: asterisk-core-sounds-fr-gsm
-Section: comm
 Architecture: all
 Depends: ${misc:Depends}
 Provides: asterisk-prompt-fr, asterisk-prompt-fr-ca
@@ -136,7 +128,6 @@
  alternatives and hence is required by packages of other formats.
 
 Package: asterisk-core-sounds-fr-wav
-Section: comm
 Architecture: all
 Depends: ${misc:Depends}
 Recommends: asterisk-core-sounds-fr-gsm

Modified: asterisk-sounds/asterisk-core-sounds/debian/rules
URL: http://svn.debian.org/wsvn/pkg-voip/asterisk-sounds/asterisk-core-sounds/debian/rules?rev=8507&op=diff
==============================================================================
--- asterisk-sounds/asterisk-core-sounds/debian/rules (original)
+++ asterisk-sounds/asterisk-core-sounds/debian/rules Fri Jun 18 14:24:09 2010
@@ -4,9 +4,13 @@
 PACKAGE=$(shell sed -e '2,$$d' -e 's/ .*//' debian/changelog)
 VERSION=$(shell sed -e '2,$$d' -e 's/^[^(]*(\([^-]*\)-.*)*)*/\1/' debian/changelog)
 LANGS=en es fr
+FORMATS=gsm g722 wav
 TMPDIR=tmp
 # or . if you prefer
 TARGET_DIR=..
+
+PKGNAME=$(PACKAGE)-$(VERSION)
+PKGDIR=$(TMPDIR)/$(PKGNAME)
 
 %:
 	dh $@
@@ -23,13 +27,23 @@
 	@echo version: $(VERSION)
 
 get-orig-source:
-	cd $(TARGET_DIR); for lang in $(LANGS); do for format in gsm wav g722; do \
-	  wget -q -c $(BASE_URL)/$(PACKAGE)-$$lang-$$format-$(VERSION).tar.gz; \
-	  ln -sf $(PACKAGE)-$$lang-$$format-$(VERSION).tar.gz \
-	    $(PACKAGE)_$(VERSION).orig-$$lang-$$format.tar.gz; \
+	rm -rf $(PKGDIR)
+	mkdir -p $(PKGDIR)
+	set -e ; \
+	cd $(TMPDIR); for lang in $(LANGS); do for format in $(FORMATS); do \
+	  tarball="$(PACKAGE)-$$lang-$$format-$(VERSION).tar.gz"; \
+	  wget -q -c $(BASE_URL)/$$tarball; \
+	  mkdir $(PKGNAME)/$$lang-$$format; \
+	  cd $(PKGNAME)/$$lang-$$format; \
+	    tar xzf ../../$$tarball; \
+	  cd ../..; \
+	done; done
+	# Remove tarballs: only after a successful download:
+	set -e ; \
+	cd $(TMPDIR); for lang in $(LANGS); do for format in $(FORMATS); do \
+	  tarball="$(PACKAGE)-$$lang-$$format-$(VERSION).tar.gz"; \
+	  $(RM) -f $$tarball; \
 	 done; done
-	# dummy empty base tarball:
-	mkdir -p $(TMPDIR)/$(PACKAGE)-$(VERSION)
 	tar czf $(TARGET_DIR)/$(PACKAGE)_$(VERSION).orig.tar.gz \
 		-C $(TMPDIR) $(PACKAGE)-$(VERSION)
 	rm -rf $(TMPDIR)




More information about the Pkg-voip-commits mailing list