[SCM] templates for different package types branch, master, updated. 96c8c9a7dca6aee5ec8fe66e1f72ecc6ecc6a618

Miriam Ruiz miriam at debian.org
Wed Sep 29 22:56:26 UTC 2010


The following commit has been merged in the master branch:
commit 96c8c9a7dca6aee5ec8fe66e1f72ecc6ecc6a618
Author: Miriam Ruiz <miriam at debian.org>
Date:   Thu Sep 30 00:56:30 2010 +0200

    Fixed minor bug in create.sh, upgraded some things and added BSD license

diff --git a/create.sh b/create.sh
index c53225a..3334a38 100755
--- a/create.sh
+++ b/create.sh
@@ -61,7 +61,8 @@ fi
 
 echo "Identified as: \"${DEBNAME}\" <${DEBEMAIL}> (${DEBUSER})"
 
-pushd ${SRC_DIR} > /dev/null
+OLD_DIR="`pwd`"
+cd "${SRC_DIR}"
 
 for f in "common"/* "license/${LICENSE}" "model/${PACKAGE_TYPE}"/*; do
 if [ -f "$f" ]; then
@@ -99,4 +100,4 @@ done;
 	mkdir -p "${DEST_DIR}"/source
 	cp source/* "${DEST_DIR}"/source
 
-popd > /dev/null
+cd "${OLD_DIR}"
diff --git a/license/BSD b/license/BSD
new file mode 100644
index 0000000..072509d
--- /dev/null
+++ b/license/BSD
@@ -0,0 +1,38 @@
+Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat
+Upstream-Source: URL://DOWNLOAD
+Upstream-Maintainer: UPSTREAM NAME <UPSTREAM at EMAIL>
+Debianized-By: %DEBNAME% <%DEBEMAIL%>
+Debianized-Date: %NOW_DATE%
+
+Files: *
+Copyright: Copyright (C) YYYY OWNER 1 OF COPYRIGHT
+ Copyright (C) YYYY OWNER 2 OF COPYRIGHT
+ Copyright (C) YYYY OWNER 3 OF COPYRIGHT
+Licence: BSD
+
+Files: debian/*
+Copyright: Copyright (C) %NOW_YEAR%, %DEBNAME% <%DEBEMAIL%>
+Licence: BSD
+
+Licence: BSD
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+ 1. Redistributions of source code must retain the above copyright
+    notice, this list of conditions and the following disclaimer.
+ 2. Redistributions in binary form must reproduce the above copyright
+    notice, this list of conditions and the following disclaimer in the
+    documentation and/or other materials provided with the distribution.
+ 3. The name of the author may not be used to endorse or promote products
+    derived from this software without specific prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
+ INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
+ AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL
+ THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+ OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+ WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+ OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+ ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/model/autotools-lib/control b/model/autotools-lib/control
index f6d54e6..3fee341 100644
--- a/model/autotools-lib/control
+++ b/model/autotools-lib/control
@@ -25,6 +25,7 @@ Description: %SHORT%
 
 Package: lib%PACKAGE%%MAJOR%-dbg
 Section: debug
+Priority: extra
 Architecture: any
 Depends: lib%PACKAGE%%MAJOR% (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
 Description: %SHORT% - debug
diff --git a/model/autotools/control b/model/autotools/control
index a2ffd27..ca1697a 100644
--- a/model/autotools/control
+++ b/model/autotools/control
@@ -15,6 +15,7 @@ Description: %SHORT%
 
 Package: %PACKAGE%-dbg
 Section: debug
+Priority: extra
 Architecture: any
 Depends: %PACKAGE% (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
 Description: %SHORT% - debug
diff --git a/model/c-exe/control b/model/c-exe/control
index d2a3e93..ceb6410 100644
--- a/model/c-exe/control
+++ b/model/c-exe/control
@@ -16,6 +16,7 @@ Description: %SHORT%
 
 Package: %PACKAGE%-dbg
 Section: debug
+Priority: extra
 Architecture: any
 Depends: %PACKAGE% (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
 Description: %SHORT% - debug
diff --git a/model/c-lib/control b/model/c-lib/control
index ae1e1de..67eb4a8 100644
--- a/model/c-lib/control
+++ b/model/c-lib/control
@@ -25,6 +25,7 @@ Description: %SHORT%
 
 Package: lib%PACKAGE%%MAJOR%-dbg
 Section: debug
+Priority: extra
 Architecture: any
 Depends: lib%PACKAGE%%MAJOR% (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
 Description: %SHORT% - debug
diff --git a/model/cmake-lib/control b/model/cmake-lib/control
index f97b405..66e5c72 100644
--- a/model/cmake-lib/control
+++ b/model/cmake-lib/control
@@ -25,6 +25,7 @@ Description: %SHORT%
 
 Package: lib%PACKAGE%%MAJOR%-dbg
 Section: debug
+Priority: extra
 Architecture: any
 Depends: lib%PACKAGE%%MAJOR% (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
 Description: %SHORT% - debug
diff --git a/model/cmake/control b/model/cmake/control
index adbb981..9723db2 100644
--- a/model/cmake/control
+++ b/model/cmake/control
@@ -15,6 +15,7 @@ Description: %SHORT%
 
 Package: %PACKAGE%-dbg
 Section: debug
+Priority: extra
 Architecture: any
 Depends: %PACKAGE% (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
 Description: %SHORT% - debug
diff --git a/model/makefile/control b/model/makefile/control
index abebf00..1f4f23e 100644
--- a/model/makefile/control
+++ b/model/makefile/control
@@ -15,6 +15,7 @@ Description: %SHORT%
 
 Package: %PACKAGE%-dbg
 Section: debug
+Priority: extra
 Architecture: any
 Depends: %PACKAGE% (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
 Description: %SHORT% - debug
diff --git a/model/pymodule/control b/model/pymodule/control
index a031616..0557fb8 100644
--- a/model/pymodule/control
+++ b/model/pymodule/control
@@ -18,6 +18,7 @@ Description: %SHORT%
 
 Package: python-%PACKAGE%-dbg
 Section: debug
+Priority: extra
 Architecture: any
 Depends: python-%PACKAGE% (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
 Description: %SHORT% - debug
diff --git a/model/scons/control b/model/scons/control
index 3084965..7dcffd4 100644
--- a/model/scons/control
+++ b/model/scons/control
@@ -15,6 +15,7 @@ Description: %SHORT%
 
 Package: %PACKAGE%-dbg
 Section: debug
+Priority: extra
 Architecture: any
 Depends: %PACKAGE% (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
 Description: %SHORT% - debug
diff --git a/source/local-options b/source/local-options
new file mode 100644
index 0000000..e69de29

-- 
templates for different package types



More information about the Pkg-games-commits mailing list