[Pkg-voip-commits] r9915 - /asterisk-prompt-es/trunk/debian/

maniac-guest at alioth.debian.org maniac-guest at alioth.debian.org
Thu Jul 19 08:36:11 UTC 2012


Author: maniac-guest
Date: Thu Jul 19 08:36:10 2012
New Revision: 9915

URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=9915
Log:
WIP multi-tarball package

Added:
    asterisk-prompt-es/trunk/debian/asterisk-prompt-es-voipnovatos-alaw.install
    asterisk-prompt-es/trunk/debian/asterisk-prompt-es-voipnovatos-g729.install
    asterisk-prompt-es/trunk/debian/asterisk-prompt-es-voipnovatos-gsm.install
    asterisk-prompt-es/trunk/debian/asterisk-prompt-es.postinst
    asterisk-prompt-es/trunk/debian/asterisk-prompt-es.prerm
    asterisk-prompt-es/trunk/debian/docs
Removed:
    asterisk-prompt-es/trunk/debian/asterisk-prompt-es.install
    asterisk-prompt-es/trunk/debian/postinst
    asterisk-prompt-es/trunk/debian/prerm
Modified:
    asterisk-prompt-es/trunk/debian/changelog
    asterisk-prompt-es/trunk/debian/compat
    asterisk-prompt-es/trunk/debian/control
    asterisk-prompt-es/trunk/debian/copyright
    asterisk-prompt-es/trunk/debian/rules

Added: asterisk-prompt-es/trunk/debian/asterisk-prompt-es-voipnovatos-alaw.install
URL: http://svn.debian.org/wsvn/pkg-voip/asterisk-prompt-es/trunk/debian/asterisk-prompt-es-voipnovatos-alaw.install?rev=9915&op=file
==============================================================================
--- asterisk-prompt-es/trunk/debian/asterisk-prompt-es-voipnovatos-alaw.install (added)
+++ asterisk-prompt-es/trunk/debian/asterisk-prompt-es-voipnovatos-alaw.install Thu Jul 19 08:36:10 2012
@@ -1,0 +1,7 @@
+alaw/es/*.alaw usr/share/asterisk/sounds/es_ES_Voipnovatos
+alaw/dictate/es/*.alaw usr/share/asterisk/sounds/es_ES_Voipnovatos/dictate
+alaw/digits/es/*.alaw usr/share/asterisk/sounds/es_ES_Voipnovatos/digits
+alaw/followme/es/*.alaw usr/share/asterisk/sounds/es_ES_Voipnovatos/followme
+alaw/letters/es/*.alaw usr/share/asterisk/sounds/es_ES_Voipnovatos/letters
+alaw/phonetic/es/*.alaw usr/share/asterisk/sounds/es_ES_Voipnovatos/phonetic
+alaw/silence/es/*.alaw usr/share/asterisk/sounds/es_ES_Voipnovatos/silence

Added: asterisk-prompt-es/trunk/debian/asterisk-prompt-es-voipnovatos-g729.install
URL: http://svn.debian.org/wsvn/pkg-voip/asterisk-prompt-es/trunk/debian/asterisk-prompt-es-voipnovatos-g729.install?rev=9915&op=file
==============================================================================
--- asterisk-prompt-es/trunk/debian/asterisk-prompt-es-voipnovatos-g729.install (added)
+++ asterisk-prompt-es/trunk/debian/asterisk-prompt-es-voipnovatos-g729.install Thu Jul 19 08:36:10 2012
@@ -1,0 +1,7 @@
+g729/es/*.g729 usr/share/asterisk/sounds/es_ES_Voipnovatos
+g729/dictate/es/*.g729 usr/share/asterisk/sounds/es_ES_Voipnovatos/dictate
+g729/digits/es/*.g729 usr/share/asterisk/sounds/es_ES_Voipnovatos/digits
+g729/followme/es/*.g729 usr/share/asterisk/sounds/es_ES_Voipnovatos/followme
+g729/letters/es/*.g729 usr/share/asterisk/sounds/es_ES_Voipnovatos/letters
+g729/phonetic/es/*.g729 usr/share/asterisk/sounds/es_ES_Voipnovatos/phonetic
+g729/silence/es/*.g729 usr/share/asterisk/sounds/es_ES_Voipnovatos/silence

Added: asterisk-prompt-es/trunk/debian/asterisk-prompt-es-voipnovatos-gsm.install
URL: http://svn.debian.org/wsvn/pkg-voip/asterisk-prompt-es/trunk/debian/asterisk-prompt-es-voipnovatos-gsm.install?rev=9915&op=file
==============================================================================
--- asterisk-prompt-es/trunk/debian/asterisk-prompt-es-voipnovatos-gsm.install (added)
+++ asterisk-prompt-es/trunk/debian/asterisk-prompt-es-voipnovatos-gsm.install Thu Jul 19 08:36:10 2012
@@ -1,0 +1,7 @@
+gsm/es/*.gsm usr/share/asterisk/sounds/es_ES_Voipnovatos
+gsm/dictate/es/*.gsm usr/share/asterisk/sounds/es_ES_Voipnovatos/dictate
+gsm/digits/es/*.gsm usr/share/asterisk/sounds/es_ES_Voipnovatos/digits
+gsm/followme/es/*.gsm usr/share/asterisk/sounds/es_ES_Voipnovatos/followme
+gsm/letters/es/*.gsm usr/share/asterisk/sounds/es_ES_Voipnovatos/letters
+gsm/phonetic/es/*.gsm usr/share/asterisk/sounds/es_ES_Voipnovatos/phonetic
+gsm/silence/es/*.gsm usr/share/asterisk/sounds/es_ES_Voipnovatos/silence

Added: asterisk-prompt-es/trunk/debian/asterisk-prompt-es.postinst
URL: http://svn.debian.org/wsvn/pkg-voip/asterisk-prompt-es/trunk/debian/asterisk-prompt-es.postinst?rev=9915&op=file
==============================================================================
--- asterisk-prompt-es/trunk/debian/asterisk-prompt-es.postinst (added)
+++ asterisk-prompt-es/trunk/debian/asterisk-prompt-es.postinst Thu Jul 19 08:36:10 2012
@@ -1,0 +1,40 @@
+#! /bin/sh
+
+set -e
+
+# summary of how this script can be called:
+#        * <postinst> `configure' <most-recently-configured-version>
+#        * <old-postinst> `abort-upgrade' <new version>
+#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
+#          <new-version>
+#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
+#          <failed-install-package> <version> `removing'
+#          <conflicting-package> <version>
+
+case "$1" in
+    configure)
+	update-alternatives --install \
+	    /usr/share/asterisk/sounds/es asterisk-prompt-es \
+	    /usr/share/asterisk/sounds/es_ES_Voipnovatos 50
+	update-alternatives --install \
+	    /usr/share/asterisk/sounds/es_ES asterisk-prompt-es-es \
+	    /usr/share/asterisk/sounds/es_ES_Voipnovatos 50
+    ;;
+
+    abort-upgrade|abort-remove|abort-deconfigure)
+    ;;
+
+    *)
+        echo "postinst called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+

Added: asterisk-prompt-es/trunk/debian/asterisk-prompt-es.prerm
URL: http://svn.debian.org/wsvn/pkg-voip/asterisk-prompt-es/trunk/debian/asterisk-prompt-es.prerm?rev=9915&op=file
==============================================================================
--- asterisk-prompt-es/trunk/debian/asterisk-prompt-es.prerm (added)
+++ asterisk-prompt-es/trunk/debian/asterisk-prompt-es.prerm Thu Jul 19 08:36:10 2012
@@ -1,0 +1,6 @@
+#! /bin/sh -e
+
+update-alternatives --remove asterisk-prompt-es    /usr/share/asterisk/sounds/es_ES_Voipnovatos
+update-alternatives --remove asterisk-prompt-es-es /usr/share/asterisk/sounds/es_ES_Voipnovatos
+
+#DEBHELPER#

Modified: asterisk-prompt-es/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-voip/asterisk-prompt-es/trunk/debian/changelog?rev=9915&op=diff
==============================================================================
--- asterisk-prompt-es/trunk/debian/changelog (original)
+++ asterisk-prompt-es/trunk/debian/changelog Thu Jul 19 08:36:10 2012
@@ -1,26 +1,28 @@
-asterisk-prompt-es (1.4-2) unstable; urgency=low
+asterisk-prompt-es (1.4-2) UNRELEASED; urgency=low
 
   [ Victor Seva ]
   * Fixed typo on control Vcs-Browser field.
-  * Fixed copyright file.
-    (clean lintian warning: copyright-without-copyright-notice)
-  * Updated Standards-version to 3.8.0 ( no changes needed )
+  * Multiple formats. Switching to a multi-tarball package. 
+    - Renamed main binary package: asterisk-prompt-es-voipnovatos.
+    - asterisk-prompt-es-voipnovatos-{gsm,alaw,g729} for 
+      the different formats. Co-installable.
+    - asterisk-prompt-es is a dummy transtional package.
+    - svn-buildpackage requires patch from http://bugs.debian.org/577140 .
+  * Standards version 3.9.3, debhelper 8, dep5, and such.  
+  * Moving files to /usr/share/asterisk/sounds/es_ES_Voipnovatos
+  * Properly place sounds files.
 
   [ Tzafrir Cohen ]
-  * Moving files to /usr/share/asterisk/sounds/es_ES_Alberto
   * sounds/es and sounds/es_ES are now alternatives.
   * Removed old Asterisk 1.2 compatibility links.
   * Adding myself as uploader.
-  * Compat level 7.
-  * Standard version 3.8.4 (no change needed).
   * Add ${misc:Depends} to Depends: (thanks, lintian).
   * Clarified license of Debian packaging.
-  * We also need to conflict with asterisk-pormpt-es-co .
+  * We also need to conflict with asterisk-prompt-es-co .
   * A @debian.org address.
-  * Properly place files.
   * Dpkg v.3 format.
 
- -- Tzafrir Cohen <tzafrir at debian.org>  Fri, 30 Apr 2010 13:28:26 +0300
+ -- Victor Seva <linuxmaniac at torreviejawireless.org>  Thu, 19 Jul 2012 10:30:02 +0200
 
 asterisk-prompt-es (1.4-1) unstable; urgency=low
 

Modified: asterisk-prompt-es/trunk/debian/compat
URL: http://svn.debian.org/wsvn/pkg-voip/asterisk-prompt-es/trunk/debian/compat?rev=9915&op=diff
==============================================================================
--- asterisk-prompt-es/trunk/debian/compat (original)
+++ asterisk-prompt-es/trunk/debian/compat Thu Jul 19 08:36:10 2012
@@ -1,1 +1,1 @@
-7
+8

Modified: asterisk-prompt-es/trunk/debian/control
URL: http://svn.debian.org/wsvn/pkg-voip/asterisk-prompt-es/trunk/debian/control?rev=9915&op=diff
==============================================================================
--- asterisk-prompt-es/trunk/debian/control (original)
+++ asterisk-prompt-es/trunk/debian/control Thu Jul 19 08:36:10 2012
@@ -3,18 +3,74 @@
 Priority: extra
 Maintainer: Debian VoIP Team <pkg-voip-maintainers at lists.alioth.debian.org>
 Uploaders: Victor Seva <linuxmaniac at torreviejawireless.org>, Faidon Liambotis <paravoid at debian.org>, Mark Purcell <msp at debian.org>, Tzafrir Cohen <tzafrir at debian.org>
-Build-Depends: debhelper (>= 7.0.0)
-Standards-Version: 3.8.4
+Build-Depends: debhelper (>= 8.0), cdbs
+Standards-Version: 3.9.3
 Homepage: http://www.voipnovatos.es/voces/
 Vcs-Svn: svn://svn.debian.org/pkg-voip/asterisk-prompt-es/trunk/
 Vcs-Browser: http://svn.debian.org/wsvn/pkg-voip/asterisk-prompt-es/?op=log
 
+Package: asterisk-prompt-es-voipnovatos
+Architecture: all
+Enhances: asterisk
+Breaks: asterisk-prompt-es (<< 1.4-2)
+Replaces: asterisk-prompt-es
+Depends: ${misc:Depends}, asterisk-prompt-es-voipnovatos-gsm | asterisk-prompt-es-voipnovatos-alaw | asterisk-prompt-es-voipnovatos-g729
+Provides: asterisk-prompt-es-es
+Description: asterisk PBX Spanish sound files
+ voice prompts in Spanish that are mainly useful for the Asterisk PBX
+ software. Asterisk includes a set of standard sound files in various
+ formats. This package include those prompts, re-recorded in Spanish
+ courtesy of Alberto Sagredo Castro (http://www.voipnovatos.es).
+ .
+ The packages asterisk-prompt-es-voipnovatos-* include prompts in various
+ encodings. This package registers these through the alternatives system
+ to provide the default "es" (Spanish) and "es_ES" (Spanish Castillan)
+ sounds, and is the package you should normally install.
+
+Package: asterisk-prompt-es-voipnovatos-alaw
+Architecture: all
+Depends: ${misc:Depends}
+Enhances: asterisk
+Description: asterisk PBX Spanish sound files - a-law prompts
+ voice prompts in Spanish that are mainly useful for the Asterisk PBX
+ software. Asterisk includes a set of standard sound files in various
+ formats. This package include those prompts, re-recorded in Spanish
+ courtesy of Alberto Sagredo Castro (http://www.voipnovatos.es).
+ .
+ This package provides prompt sound files formatted as raw G.711 A.law.
+
+Package: asterisk-prompt-es-voipnovatos-gsm
+Architecture: all
+Depends: ${misc:Depends}
+Enhances: asterisk
+Description: asterisk PBX Spanish sound files - gsm prompts
+ voice prompts in Spanish that are mainly useful for the Asterisk PBX
+ software. Asterisk includes a set of standard sound files in various
+ formats. This package include those prompts, re-recorded in Spanish
+ courtesy of Alberto Sagredo Castro (http://www.voipnovatos.es).
+ .
+ This package provides prompt sound files formatted as raw GSM-fr (playable
+ with sox)
+
+Package: asterisk-prompt-es-voipnovatos-g729
+Architecture: all
+Depends: ${misc:Depends}
+Enhances: asterisk
+Description: asterisk PBX Spanish sound files - sln16 prompts
+ voice prompts in Spanish that are mainly useful for the Asterisk PBX
+ software. Asterisk includes a set of standard sound files in various
+ formats. This package include those prompts, re-recorded in Spanish
+ courtesy of Alberto Sagredo Castro (http://www.voipnovatos.es).
+ .
+ This package provides prompt sound files formatted as g729.
+
 Package: asterisk-prompt-es
 Architecture: all
-Depends: asterisk (>= 1:1.4 ), ${misc:Depends}
-Enhances: asterisk
-Provides: asterisk-prompt-es-es
-Conflicts: asterisk-sounds-main (<< 1.6.2.6), asterisk-prompt-es-co (<= 0.20070403-1)
-Description: Spanish prompts for the Asterisk PBX
- These are Spanish voicemail prompts for use with the Asterisk PBX,
- courtesy of Alberto Sagredo Castro (http://www.voipnovatos.es).
+Section: oldlibs
+Depends: ${misc:Depends}, asterisk-prompt-es-voipnovatos (= ${binary:Version})
+Description: dummy transitional package
+ This is a transitional package intended to simplify the migration from
+ asterisk-prompt-es to asterisk-prompt-es-voipnovatos. You can safely remove
+ this package. The name asterisk-prompt-es should be reserved in the
+ future to a virtual package provided by any potential Spanish prompts set
+ package.

Modified: asterisk-prompt-es/trunk/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-voip/asterisk-prompt-es/trunk/debian/copyright?rev=9915&op=diff
==============================================================================
--- asterisk-prompt-es/trunk/debian/copyright (original)
+++ asterisk-prompt-es/trunk/debian/copyright Thu Jul 19 08:36:10 2012
@@ -1,229 +1,277 @@
-This package was debianized by Victor Seva <linuxmaniac at torreviejawireless.org> on
-Wed, 21 Nov 2007 08:46:29 +0000.
-
-It was downloaded from <http://www.voipnovatos.es/voces/>
-
-Upstream Author: Alberto Sagredo Castro (http://www.voipnovatos.es)
-
-Copyright: 2007 - 2009 Alberto Sagredo
-
-License: Creative Commons Deeds Licence
-
-http://creativecommons.org/licenses/by-sa/2.5/es/
-
-Attribution-ShareAlike 2.5
-
-CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE LEGAL
-SERVICES. DISTRIBUTION OF THIS LICENSE DOES NOT CREATE AN ATTORNEY-CLIENT
-RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS INFORMATION ON AN "AS-IS"
-BASIS. CREATIVE COMMONS MAKES NO WARRANTIES REGARDING THE INFORMATION
-PROVIDED, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM ITS USE.
-License
-
-THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE
-COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY
-COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS
-AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED.
-
-BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE TO
-BE BOUND BY THE TERMS OF THIS LICENSE. THE LICENSOR GRANTS YOU THE RIGHTS
-CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND
-CONDITIONS.
-
-1. Definitions
-
-"Collective Work" means a work, such as a periodical issue, anthology or
-encyclopedia, in which the Work in its entirety in unmodified form, along
-with a number of other contributions, constituting separate and independent
-works in themselves, are assembled into a collective whole. A work that
-constitutes a Collective Work will not be considered a Derivative Work (as
-defined below) for the purposes of this License.
-"Derivative Work" means a work based upon the Work or upon the Work and
-other pre-existing works, such as a translation, musical arrangement,
-dramatization, fictionalization, motion picture version, sound recording,
-art reproduction, abridgment, condensation, or any other form in which the
-Work may be recast, transformed, or adapted, except that a work that
-constitutes a Collective Work will not be considered a Derivative Work for
-the purpose of this License. For the avoidance of doubt, where the Work is a
-musical composition or sound recording, the synchronization of the Work in
-timed-relation with a moving image ("synching") will be considered a
-Derivative Work for the purpose of this License.
-"Licensor" means the individual or entity that offers the Work under the
-terms of this License.
-"Original Author" means the individual or entity who created the Work.
-"Work" means the copyrightable work of authorship offered under the terms of
-this License.
-"You" means an individual or entity exercising rights under this License who
-has not previously violated the terms of this License with respect to the
-Work, or who has received express permission from the Licensor to exercise
-rights under this License despite a previous violation.
-"License Elements" means the following high-level license attributes as
-selected by Licensor and indicated in the title of this License:
-Attribution, ShareAlike.
-2. Fair Use Rights. Nothing in this license is intended to reduce, limit, or
-restrict any rights arising from fair use, first sale or other limitations
-on the exclusive rights of the copyright owner under copyright law or other
-applicable laws.
-
-3. License Grant. Subject to the terms and conditions of this License,
-Licensor hereby grants You a worldwide, royalty-free, non-exclusive,
-perpetual (for the duration of the applicable copyright) license to exercise
-the rights in the Work as stated below:
-
-to reproduce the Work, to incorporate the Work into one or more Collective
-Works, and to reproduce the Work as incorporated in the Collective Works;
-to create and reproduce Derivative Works;
-to distribute copies or phonorecords of, display publicly, perform publicly,
-and perform publicly by means of a digital audio transmission the Work
-including as incorporated in Collective Works;
-to distribute copies or phonorecords of, display publicly, perform publicly,
-and perform publicly by means of a digital audio transmission Derivative
-Works.
-For the avoidance of doubt, where the work is a musical composition:
-
-Performance Royalties Under Blanket Licenses. Licensor waives the exclusive
-right to collect, whether individually or via a performance rights society
-(e.g. ASCAP, BMI, SESAC), royalties for the public performance or public
-digital performance (e.g. webcast) of the Work.
-Mechanical Rights and Statutory Royalties. Licensor waives the exclusive
-right to collect, whether individually or via a music rights society or
-designated agent (e.g. Harry Fox Agency), royalties for any phonorecord You
-create from the Work ("cover version") and distribute, subject to the
-compulsory license created by 17 USC Section 115 of the US Copyright Act (or
-the equivalent in other jurisdictions).
-Webcasting Rights and Statutory Royalties. For the avoidance of doubt, where
-the Work is a sound recording, Licensor waives the exclusive right to
-collect, whether individually or via a performance-rights society (e.g.
-SoundExchange), royalties for the public digital performance (e.g. webcast)
-of the Work, subject to the compulsory license created by 17 USC Section 114
-of the US Copyright Act (or the equivalent in other jurisdictions).
-The above rights may be exercised in all media and formats whether now known
-or hereafter devised. The above rights include the right to make such
-modifications as are technically necessary to exercise the rights in other
-media and formats. All rights not expressly granted by Licensor are hereby
-reserved.
-
-4. Restrictions.The license granted in Section 3 above is expressly made
-subject to and limited by the following restrictions:
-
-You may distribute, publicly display, publicly perform, or publicly
-digitally perform the Work only under the terms of this License, and You
-must include a copy of, or the Uniform Resource Identifier for, this License
-with every copy or phonorecord of the Work You distribute, publicly display,
-publicly perform, or publicly digitally perform. You may not offer or impose
-any terms on the Work that alter or restrict the terms of this License or
-the recipients' exercise of the rights granted hereunder. You may not
-sublicense the Work. You must keep intact all notices that refer to this
-License and to the disclaimer of warranties. You may not distribute,
-publicly display, publicly perform, or publicly digitally perform the Work
-with any technological measures that control access or use of the Work in a
-manner inconsistent with the terms of this License Agreement. The above
-applies to the Work as incorporated in a Collective Work, but this does not
-require the Collective Work apart from the Work itself to be made subject to
-the terms of this License. If You create a Collective Work, upon notice from
-any Licensor You must, to the extent practicable, remove from the Collective
-Work any credit as required by clause 4(c), as requested. If You create a
-Derivative Work, upon notice from any Licensor You must, to the extent
-practicable, remove from the Derivative Work any credit as required by
-clause 4(c), as requested.
-You may distribute, publicly display, publicly perform, or publicly
-digitally perform a Derivative Work only under the terms of this License, a
-later version of this License with the same License Elements as this
-License, or a Creative Commons iCommons license that contains the same
-License Elements as this License (e.g. Attribution-ShareAlike 2.5 Japan).
-You must include a copy of, or the Uniform Resource Identifier for, this
-License or other license specified in the previous sentence with every copy
-or phonorecord of each Derivative Work You distribute, publicly display,
-publicly perform, or publicly digitally perform. You may not offer or impose
-any terms on the Derivative Works that alter or restrict the terms of this
-License or the recipients' exercise of the rights granted hereunder, and You
-must keep intact all notices that refer to this License and to the
-disclaimer of warranties. You may not distribute, publicly display, publicly
-perform, or publicly digitally perform the Derivative Work with any
-technological measures that control access or use of the Work in a manner
-inconsistent with the terms of this License Agreement. The above applies to
-the Derivative Work as incorporated in a Collective Work, but this does not
-require the Collective Work apart from the Derivative Work itself to be made
-subject to the terms of this License.
-If you distribute, publicly display, publicly perform, or publicly digitally
-perform the Work or any Derivative Works or Collective Works, You must keep
-intact all copyright notices for the Work and provide, reasonable to the
-medium or means You are utilizing: (i) the name of the Original Author (or
-pseudonym, if applicable) if supplied, and/or (ii) if the Original Author
-and/or Licensor designate another party or parties (e.g. a sponsor
-institute, publishing entity, journal) for attribution in Licensor's
-copyright notice, terms of service or by other reasonable means, the name of
-such party or parties; the title of the Work if supplied; to the extent
-reasonably practicable, the Uniform Resource Identifier, if any, that
-Licensor specifies to be associated with the Work, unless such URI does not
-refer to the copyright notice or licensing information for the Work; and in
-the case of a Derivative Work, a credit identifying the use of the Work in
-the Derivative Work (e.g., "French translation of the Work by Original
-Author," or "Screenplay based on original Work by Original Author"). Such
-credit may be implemented in any reasonable manner; provided, however, that
-in the case of a Derivative Work or Collective Work, at a minimum such
-credit will appear where any other comparable authorship credit appears and
-in a manner at least as prominent as such other comparable authorship
-credit.
-5. Representations, Warranties and Disclaimer
-
-UNLESS OTHERWISE AGREED TO BY THE PARTIES IN WRITING, LICENSOR OFFERS THE
-WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND CONCERNING
-THE MATERIALS, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE, INCLUDING, WITHOUT
-LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY, FITNESS FOR A PARTICULAR
-PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF LATENT OR OTHER DEFECTS,
-ACCURACY, OR THE PRESENCE OF ABSENCE OF ERRORS, WHETHER OR NOT DISCOVERABLE.
-SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF IMPLIED WARRANTIES, SO SUCH
-EXCLUSION MAY NOT APPLY TO YOU.
-
-6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE LAW,
-IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY LEGAL THEORY FOR ANY
-SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY DAMAGES ARISING
-OUT OF THIS LICENSE OR THE USE OF THE WORK, EVEN IF LICENSOR HAS BEEN
-ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
-
-7. Termination
-
-This License and the rights granted hereunder will terminate automatically
-upon any breach by You of the terms of this License. Individuals or entities
-who have received Derivative Works or Collective Works from You under this
-License, however, will not have their licenses terminated provided such
-individuals or entities remain in full compliance with those licenses.
-Sections 1, 2, 5, 6, 7, and 8 will survive any termination of this License.
-Subject to the above terms and conditions, the license granted here is
-perpetual (for the duration of the applicable copyright in the Work).
-Notwithstanding the above, Licensor reserves the right to release the Work
-under different license terms or to stop distributing the Work at any time;
-provided, however that any such election will not serve to withdraw this
-License (or any other license that has been, or is required to be, granted
-under the terms of this License), and this License will continue in full
-force and effect unless terminated as stated above.
-8. Miscellaneous
-
-Each time You distribute or publicly digitally perform the Work or a
-Collective Work, the Licensor offers to the recipient a license to the Work
-on the same terms and conditions as the license granted to You under this
-License.
-Each time You distribute or publicly digitally perform a Derivative Work,
-Licensor offers to the recipient a license to the original Work on the same
-terms and conditions as the license granted to You under this License.
-If any provision of this License is invalid or unenforceable under
-applicable law, it shall not affect the validity or enforceability of the
-remainder of the terms of this License, and without further action by the
-parties to this agreement, such provision shall be reformed to the minimum
-extent necessary to make such provision valid and enforceable.
-No term or provision of this License shall be deemed waived and no breach
-consented to unless such waiver or consent shall be in writing and signed by
-the party to be charged with such waiver or consent.
-This License constitutes the entire agreement between the parties with
-respect to the Work licensed here. There are no understandings, agreements
-or representations with respect to the Work not specified here. Licensor
-shall not be bound by any additional provisions that may appear in any
-communication from You. This License may not be modified without the mutual
-written agreement of the Licensor and You.
-
-On Debian systems, the complete text of the GNU General Public License, v. 3
-can be found in /usr/share/common-licenses/GPL-3.
-
-The Debian packaging is Copyright 2007, Victor Seva <linuxmaniac at torreviejawireless.org>
-and is licensed under the GPL v.2 or any later version, see above.
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Source: http://www.voipnovatos.es/voces/
+
+Files: *
+Copyright: 2007-2009, Alberto Sagredo Castro
+License: CC-SA-BY-2.5
+Comment:
+ The license is Creative Commons Attributtion Share Alike 2.5 Spanish.
+ .
+ The above is copied literraly from the top of the licenciadeuso.txt file:
+ .
+ Alberto Sagredo Castro (http://www.voipnovatos.es) es el propietario del
+ copyright de los sonidos incorporados en el fichero. Este conjunto de
+ sonidos está licenciado para su uso libre y sin ningún cargo en telefonía
+ incluida la aplicación comercial.
+ .
+ El desarrollo de este juego de ficheros se realiza de forma conjunta con la
+ comunidad de usuarios de Asterisk, con el fin de conseguir un conjunto de
+ sonidos de calidad profesional apto para su uso particular o comercial.
+ .
+ En adición a las condiciones generales de la licencia "Creative Commons"
+ utilizada, Alberto Sagredo Castro indica de forma expresa que en caso de uso
+ comercial de este paquete de sonidos es obligatorio cumplir las siguientes
+ normas:
+ .
+ - Indicar de forma clara la procedencia del juegos de sonidos, citando a
+ - Alberto Sagredo Castro (http://www.voipnovatos.es) como propietario del
+ - copyright y notificando de su uso por motivos meramente estadísticos a
+ - voces at voipnovatos.es. Se indicará en una página web, todos aquellos sitios
+ - que lo hayan notificado. Esto se llevará a cabo en los medios donde se
+ - cite el juego de sonidos en castellano.
+ - Su uso queda limitado por el acuerdo con los desarrolladores del conjunto
+ - de voces, Voces en la Red, S.L., exclusivamente a telefonía.
+ - El fichero LEEME.txt y el fichero con la licencia "Creative Commons" han
+ - de permanecer en todas las instalaciones, no pudiendo ser eliminados o
+ - manipulados.
+
+Files: debian/*
+Copyright:
+ Victor Seva <linuxmaniac at torreviejawireless.org>
+ Tzafrir Cohen <tzafrir at debian.org>
+License: LGPL-2.1
+   This package is free software; you can redistribute it and/or modify
+   it under the terms of the GNU Library General Public License as published by
+   the Free Software Foundation; version 2.1.
+ .
+   This package is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+ .
+   You should have received a copy of the GNU Library General Public License
+   along with this package; if not, write to the Free Software
+   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
+ .
+ On Debian systems, the complete text of the GNU Library General
+ Public License can be found in `/usr/share/common-licenses/LGPL-2.1'.
+
+License: CC-SA-BY-2.5
+ CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE LEGAL
+ SERVICES. DISTRIBUTION OF THIS LICENSE DOES NOT CREATE AN ATTORNEY-CLIENT
+ RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS INFORMATION ON AN "AS-IS"
+ BASIS. CREATIVE COMMONS MAKES NO WARRANTIES REGARDING THE INFORMATION
+ PROVIDED, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM ITS USE.
+ License
+ .
+ THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE
+ COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY
+ COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS
+ AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED.
+ .
+ BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE TO
+ BE BOUND BY THE TERMS OF THIS LICENSE. THE LICENSOR GRANTS YOU THE RIGHTS
+ CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND
+ CONDITIONS.
+ .
+ 1. Definitions
+ .
+ "Collective Work" means a work, such as a periodical issue, anthology or
+ encyclopedia, in which the Work in its entirety in unmodified form, along
+ with a number of other contributions, constituting separate and independent
+ works in themselves, are assembled into a collective whole. A work that
+ constitutes a Collective Work will not be considered a Derivative Work (as
+ defined below) for the purposes of this License.
+ "Derivative Work" means a work based upon the Work or upon the Work and
+ other pre-existing works, such as a translation, musical arrangement,
+ dramatization, fictionalization, motion picture version, sound recording,
+ art reproduction, abridgment, condensation, or any other form in which the
+ Work may be recast, transformed, or adapted, except that a work that
+ constitutes a Collective Work will not be considered a Derivative Work for
+ the purpose of this License. For the avoidance of doubt, where the Work is a
+ musical composition or sound recording, the synchronization of the Work in
+ timed-relation with a moving image ("synching") will be considered a
+ Derivative Work for the purpose of this License.
+ "Licensor" means the individual or entity that offers the Work under the
+ terms of this License.
+ "Original Author" means the individual or entity who created the Work.
+ "Work" means the copyrightable work of authorship offered under the terms of
+ this License.
+ "You" means an individual or entity exercising rights under this License who
+ has not previously violated the terms of this License with respect to the
+ Work, or who has received express permission from the Licensor to exercise
+ rights under this License despite a previous violation.
+ "License Elements" means the following high-level license attributes as
+ selected by Licensor and indicated in the title of this License:
+ Attribution, ShareAlike.
+ .
+ 2. Fair Use Rights. Nothing in this license is intended to reduce, limit, or
+ restrict any rights arising from fair use, first sale or other limitations
+ on the exclusive rights of the copyright owner under copyright law or other
+ applicable laws.
+ .
+ 3. License Grant. Subject to the terms and conditions of this License,
+ Licensor hereby grants You a worldwide, royalty-free, non-exclusive,
+ perpetual (for the duration of the applicable copyright) license to exercise
+ the rights in the Work as stated below:
+ .
+ to reproduce the Work, to incorporate the Work into one or more Collective
+ Works, and to reproduce the Work as incorporated in the Collective Works;
+ to create and reproduce Derivative Works;
+ to distribute copies or phonorecords of, display publicly, perform publicly,
+ and perform publicly by means of a digital audio transmission the Work
+ including as incorporated in Collective Works;
+ to distribute copies or phonorecords of, display publicly, perform publicly,
+ and perform publicly by means of a digital audio transmission Derivative
+ Works.
+ For the avoidance of doubt, where the work is a musical composition:
+ .
+ Performance Royalties Under Blanket Licenses. Licensor waives the exclusive
+ right to collect, whether individually or via a performance rights society
+ (e.g. ASCAP, BMI, SESAC), royalties for the public performance or public
+ digital performance (e.g. webcast) of the Work.
+ Mechanical Rights and Statutory Royalties. Licensor waives the exclusive
+ right to collect, whether individually or via a music rights society or
+ designated agent (e.g. Harry Fox Agency), royalties for any phonorecord You
+ create from the Work ("cover version") and distribute, subject to the
+ compulsory license created by 17 USC Section 115 of the US Copyright Act (or
+ the equivalent in other jurisdictions).
+ Webcasting Rights and Statutory Royalties. For the avoidance of doubt, where
+ the Work is a sound recording, Licensor waives the exclusive right to
+ collect, whether individually or via a performance-rights society (e.g.
+ SoundExchange), royalties for the public digital performance (e.g. webcast)
+ of the Work, subject to the compulsory license created by 17 USC Section 114
+ of the US Copyright Act (or the equivalent in other jurisdictions).
+ The above rights may be exercised in all media and formats whether now known
+ or hereafter devised. The above rights include the right to make such
+ modifications as are technically necessary to exercise the rights in other
+ media and formats. All rights not expressly granted by Licensor are hereby
+ reserved.
+ .
+ 4. Restrictions.The license granted in Section 3 above is expressly made
+ subject to and limited by the following restrictions:
+ .
+ You may distribute, publicly display, publicly perform, or publicly
+ digitally perform the Work only under the terms of this License, and You
+ must include a copy of, or the Uniform Resource Identifier for, this License
+ with every copy or phonorecord of the Work You distribute, publicly display,
+ publicly perform, or publicly digitally perform. You may not offer or impose
+ any terms on the Work that alter or restrict the terms of this License or
+ the recipients' exercise of the rights granted hereunder. You may not
+ sublicense the Work. You must keep intact all notices that refer to this
+ License and to the disclaimer of warranties. You may not distribute,
+ publicly display, publicly perform, or publicly digitally perform the Work
+ with any technological measures that control access or use of the Work in a
+ manner inconsistent with the terms of this License Agreement. The above
+ applies to the Work as incorporated in a Collective Work, but this does not
+ require the Collective Work apart from the Work itself to be made subject to
+ the terms of this License. If You create a Collective Work, upon notice from
+ any Licensor You must, to the extent practicable, remove from the Collective
+ Work any credit as required by clause 4(c), as requested. If You create a
+ Derivative Work, upon notice from any Licensor You must, to the extent
+ practicable, remove from the Derivative Work any credit as required by
+ clause 4(c), as requested.
+ .
+ You may distribute, publicly display, publicly perform, or publicly
+ digitally perform a Derivative Work only under the terms of this License, a
+ later version of this License with the same License Elements as this
+ License, or a Creative Commons iCommons license that contains the same
+ License Elements as this License (e.g. Attribution-ShareAlike 2.5 Japan).
+ You must include a copy of, or the Uniform Resource Identifier for, this
+ License or other license specified in the previous sentence with every copy
+ or phonorecord of each Derivative Work You distribute, publicly display,
+ publicly perform, or publicly digitally perform. You may not offer or impose
+ any terms on the Derivative Works that alter or restrict the terms of this
+ License or the recipients' exercise of the rights granted hereunder, and You
+ must keep intact all notices that refer to this License and to the
+ disclaimer of warranties. You may not distribute, publicly display, publicly
+ perform, or publicly digitally perform the Derivative Work with any
+ technological measures that control access or use of the Work in a manner
+ inconsistent with the terms of this License Agreement. The above applies to
+ the Derivative Work as incorporated in a Collective Work, but this does not
+ require the Collective Work apart from the Derivative Work itself to be made
+ subject to the terms of this License.
+ .
+ If you distribute, publicly display, publicly perform, or publicly digitally
+ perform the Work or any Derivative Works or Collective Works, You must keep
+ intact all copyright notices for the Work and provide, reasonable to the
+ medium or means You are utilizing: (i) the name of the Original Author (or
+ pseudonym, if applicable) if supplied, and/or (ii) if the Original Author
+ and/or Licensor designate another party or parties (e.g. a sponsor
+ institute, publishing entity, journal) for attribution in Licensor's
+ copyright notice, terms of service or by other reasonable means, the name of
+ such party or parties; the title of the Work if supplied; to the extent
+ reasonably practicable, the Uniform Resource Identifier, if any, that
+ Licensor specifies to be associated with the Work, unless such URI does not
+ refer to the copyright notice or licensing information for the Work; and in
+ the case of a Derivative Work, a credit identifying the use of the Work in
+ the Derivative Work (e.g., "French translation of the Work by Original
+ Author," or "Screenplay based on original Work by Original Author"). Such
+ credit may be implemented in any reasonable manner; provided, however, that
+ in the case of a Derivative Work or Collective Work, at a minimum such
+ credit will appear where any other comparable authorship credit appears and
+ in a manner at least as prominent as such other comparable authorship
+ credit.
+ .
+ 5. Representations, Warranties and Disclaimer
+ .
+ UNLESS OTHERWISE AGREED TO BY THE PARTIES IN WRITING, LICENSOR OFFERS THE
+ WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND CONCERNING
+ THE MATERIALS, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE, INCLUDING, WITHOUT
+ LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY, FITNESS FOR A PARTICULAR
+ PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF LATENT OR OTHER DEFECTS,
+ ACCURACY, OR THE PRESENCE OF ABSENCE OF ERRORS, WHETHER OR NOT DISCOVERABLE.
+ SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF IMPLIED WARRANTIES, SO SUCH
+ EXCLUSION MAY NOT APPLY TO YOU.
+ .
+ 6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE LAW,
+ IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY LEGAL THEORY FOR ANY
+ SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY DAMAGES ARISING
+ OUT OF THIS LICENSE OR THE USE OF THE WORK, EVEN IF LICENSOR HAS BEEN
+ ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
+ .
+ 7. Termination
+ .
+ This License and the rights granted hereunder will terminate automatically
+ upon any breach by You of the terms of this License. Individuals or entities
+ who have received Derivative Works or Collective Works from You under this
+ License, however, will not have their licenses terminated provided such
+ individuals or entities remain in full compliance with those licenses.
+ Sections 1, 2, 5, 6, 7, and 8 will survive any termination of this License.
+ Subject to the above terms and conditions, the license granted here is
+ perpetual (for the duration of the applicable copyright in the Work).
+ Notwithstanding the above, Licensor reserves the right to release the Work
+ under different license terms or to stop distributing the Work at any time;
+ provided, however that any such election will not serve to withdraw this
+ License (or any other license that has been, or is required to be, granted
+ under the terms of this License), and this License will continue in full
+ force and effect unless terminated as stated above.
+ .
+ 8. Miscellaneous
+ .
+ Each time You distribute or publicly digitally perform the Work or a
+ Collective Work, the Licensor offers to the recipient a license to the Work
+ on the same terms and conditions as the license granted to You under this
+ License.
+ .
+ Each time You distribute or publicly digitally perform a Derivative Work,
+ Licensor offers to the recipient a license to the original Work on the same
+ terms and conditions as the license granted to You under this License.
+ .
+ If any provision of this License is invalid or unenforceable under
+ applicable law, it shall not affect the validity or enforceability of the
+ remainder of the terms of this License, and without further action by the
+ parties to this agreement, such provision shall be reformed to the minimum
+ extent necessary to make such provision valid and enforceable.
+ .
+ No term or provision of this License shall be deemed waived and no breach
+ consented to unless such waiver or consent shall be in writing and signed by
+ the party to be charged with such waiver or consent.
+ .
+ This License constitutes the entire agreement between the parties with
+ respect to the Work licensed here. There are no understandings, agreements
+ or representations with respect to the Work not specified here. Licensor
+ shall not be bound by any additional provisions that may appear in any
+ communication from You. This License may not be modified without the mutual
+ written agreement of the Licensor and You.
+

Added: asterisk-prompt-es/trunk/debian/docs
URL: http://svn.debian.org/wsvn/pkg-voip/asterisk-prompt-es/trunk/debian/docs?rev=9915&op=file
==============================================================================
--- asterisk-prompt-es/trunk/debian/docs (added)
+++ asterisk-prompt-es/trunk/debian/docs Thu Jul 19 08:36:10 2012
@@ -1,0 +1,1 @@
+es/licenciadeuso.txt

Modified: asterisk-prompt-es/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-voip/asterisk-prompt-es/trunk/debian/rules?rev=9915&op=diff
==============================================================================
--- asterisk-prompt-es/trunk/debian/rules (original)
+++ asterisk-prompt-es/trunk/debian/rules Thu Jul 19 08:36:10 2012
@@ -1,81 +1,44 @@
 #!/usr/bin/make -f
-# -*- makefile -*-
-# Sample debian/rules that uses debhelper.
-# GNU copyright 1997 to 1999 by Joey Hess.
-#
-# Modified to make a template file for a multi-binary package with separated
-# build-arch and build-indep targets  by Bill Allombert 2001
 
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-# This has to be exported to make some magic below work.
-export DH_OPTIONS
-
-DEBVERSION:=$(shell head -n 1 debian/changelog \
-                    | sed -e 's/^[^(]*(\([^)]*\)).*/\1/')
-DEB_NOEPOCH_VERSION:=$(shell echo $(DEBVERSION) | cut -d':' -f 2)
-UPVERSION := "1.4"
-
-FILENAME := asterisk-prompt-es_$(UPVERSION).orig.tar.gz
-UPFILENAME := voipnovatos-core-sounds-es-gsm-$(UPVERSION).tar.gz
-URL := http://voipnovatos.es/voces/$(UPFILENAME)
+include /usr/share/cdbs/1/rules/debhelper.mk
+FILENAME = $(DEB_SOURCE_PACKAGE)_$(DEB_UPSTREAM_VERSION).orig.tar.gz
+UP_VER_REAL=$(subst +,-,$(DEB_UPSTREAM_VERSION))
+UP_NAME=voipnovatos-core-sounds-es
 URL_LEEME := http://voipnovatos.es/voces/licenciadeuso.txt
 
-configure: 
+BASE_URL=http://voipnovatos.es/voces
+FORMATS=alaw gsm g729
+TARGET_DIR=../tarballs
+#TARGET_DIR=..
 
-build: build-indep
-build-arch:
-build-indep:
+TMPDIR=tmp
+PKGNAME=$(DEB_SOURCE_PACKAGE)-$(DEB_UPSTREAM_VERSION)
+PKGDIR=$(TMPDIR)/$(PKGNAME)
 
-clean:
-	dh_testdir
-	dh_testroot
-	dh_clean
+URLS=$(FORMATS:%=http://voipnovatos.es/voces/voipnovatos-core-sounds-es-%-$(UP_VER_REAL).tar.gz)
 
-install: install-indep
-install-indep:
-	dh_testdir
-	dh_testroot
-	dh_prep
-	dh_install
-install-arch:
+TARBALL_NAMES=$(FORMATS)
+TARBALLS_EXTRA=$(TARBALL_NAMES:%=$(TARGET_DIR)/$(DEB_SOURCE_PACKAGE)_$(DEB_UPSTREAM_VERSION).orig-%.tar.gz)
 
-binary-indep: install-indep
-	dh_testdir
-	dh_testroot
-	dh_installchangelogs
-	dh_installdocs LEEME.txt
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-binary-arch:
-
-binary: binary-arch binary-indep
+$(TARGET_DIR)/$(DEB_SOURCE_PACKAGE)_$(DEB_UPSTREAM_VERSION).orig-%.tar.gz:
+	set -e; cd $(@D); \
+		wget -q -c $(BASE_URL)/$(UP_NAME)-$*-$(UP_VER_REAL).tar.gz
+	ln -fs $(UP_NAME)-$*-$(UP_VER_REAL).tar.gz $@
 
 print-version:
-	@@echo "Debian version:          $(DEBVERSION)"
-	@@echo "Upstream version:        $(UPVERSION)"
+	@echo formats: $(FORMATS)
+	@echo package: $(DEB_SOURCE_PACKAGE)
+	@echo version: $(DEB_UPSTREAM_VERSION)
+	@echo names: $(TARBALLS_EXTRA)
 
-TMP_TARBALL_TOP=../tarballs/asterisk-prompt-es-$(UPVERSION).tmp/asterisk-prompt-es-$(UPVERSION)
-get-orig-source:
-	@@dh_testdir
-	@@[ -d ../tarballs/. ]||mkdir ../tarballs
-	@@echo Downloading $(UPFILENAME) from $(URL) ...
-	@@wget -nv -T10 -t3 -O ../tarballs/$(UPFILENAME) $(URL)
-	@@mkdir ../tarballs/asterisk-prompt-es-$(UPVERSION).tmp/
-	@@mkdir $(TMP_TARBALL_TOP)/
-	@@cd $(TMP_TARBALL_TOP); tar xzf ../../$(UPFILENAME); \
-	wget -nv -T10 -t3 -O LEEME.txt $(URL_LEEME)
-	@@echo Repacking
-	@@echo fix perms
-	@@find $(TMP_TARBALL_TOP) -name '*.gsm' -exec chmod 0644 {} \;
-	@@find $(TMP_TARBALL_TOP) -name '*.txt' -exec chmod 0644 {} \;
-	@@cd ../tarballs/asterisk-prompt-es-$(UPVERSION).tmp/; \
-	tar czf ../$(FILENAME) *
-	@@rm -rf ../tarballs/asterisk-prompt-es-$(UPVERSION).tmp
-.PHONY: build clean binary-indep binary-arch binary install install-indep install-arch configure
+get-orig-source: $(TARBALLS_EXTRA)
+	rm -rf $(PKGDIR)
+	mkdir -p $(PKGDIR);
+	set -e; cd $(PKGDIR); mkdir es; cd es; wget -q -c $(URL_LEEME)
+	tar czf $(TARGET_DIR)/$(DEB_SOURCE_PACKAGE)_$(DEB_UPSTREAM_VERSION).orig.tar.gz \
+		-C $(TMPDIR) $(DEB_SOURCE_PACKAGE)-$(DEB_UPSTREAM_VERSION)
+	rm -rf $(TMPDIR)
+
+# Get them re-downloaded (with wget -c) in case of a partial download:
+.PHONY:
+# $(TARGET_DIR)/$(DEB_SOURCE_PACKAGE)_$(DEB_UPSTREAM_VERSION).orig-%.tar.gz




More information about the Pkg-voip-commits mailing list