[SCM] templates for different package types branch, master, updated. 85a50549e40c05aa0e8b43c45b4561925c8ef121
Miriam Ruiz
miriam at debian.org
Wed Feb 9 23:38:32 UTC 2011
The following commit has been merged in the master branch:
commit 85a50549e40c05aa0e8b43c45b4561925c8ef121
Author: Miriam Ruiz <miriam at debian.org>
Date: Thu Feb 10 00:38:27 2011 +0100
Minor fixes and new license added
diff --git a/license/LGPL3+ b/license/LGPL2.1+
similarity index 75%
copy from license/LGPL3+
copy to license/LGPL2.1+
index 6f846f3..9dc0ff3 100644
--- a/license/LGPL3+
+++ b/license/LGPL2.1+
@@ -8,20 +8,20 @@ Files: *
Copyright: Copyright (C) YYYY OWNER 1 OF COPYRIGHT
Copyright (C) YYYY OWNER 2 OF COPYRIGHT
Copyright (C) YYYY OWNER 3 OF COPYRIGHT
-Licence: LGPL-3+
+Licence: LGPL-2.1+
Files: debian/*
Copyright: Copyright (C) %NOW_YEAR%, %DEBNAME% <%DEBEMAIL%>
-Licence: LGPL-3+
+Licence: LGPL-2.1+
-Licence: LGPL-3+
+Licence: LGPL-2.1+
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published
- by the Free Software Foundation; either version 3 of the License, or
+ by the Free Software Foundation; either version 2.1 of the License, or
(at your option) any later version.
.
On Debian systems, the complete text of the latest version of the GNU Lesser
General Public License can be found in `/usr/share/common-licenses/LGPL'.
.
- The complete text of version 3 of the Lesser GNU General Public License
- can be found in `/usr/share/common-licenses/LGPL-3'.
+ The complete text of version 2.1 of the Lesser GNU General Public License
+ can be found in `/usr/share/common-licenses/LGPL-2.1'.
diff --git a/model/pymodule/control b/model/pymodule/control
index c5f4537..bfe53eb 100644
--- a/model/pymodule/control
+++ b/model/pymodule/control
@@ -2,7 +2,7 @@ Source: %PACKAGE%
Section: unknown
Priority: extra
Maintainer: %DEBNAME% <%DEBEMAIL%>
-Build-Depends: debhelper (>= 7), dh-buildinfo, quilt, \
+Build-Depends: debhelper (>= 7), dh-buildinfo, quilt,
python-all-dev, python-support, python-setuptools
Standards-Version: 3.9.1
Homepage: URL://HOMEPAGE
diff --git a/model/pymodule/rules b/model/pymodule/rules
index ce8ce34..8d81126 100644
--- a/model/pymodule/rules
+++ b/model/pymodule/rules
@@ -21,6 +21,7 @@ clean: unpatch
dh_testdir
dh_testroot
rm -f config-stamp build-python?.* install-python?.*
+ rm -f `find . -name "*.pyc"`
rm -rf build
[ ! -d debian/patches ] || $(MAKE) -f /usr/share/quilt/quilt.make unpatch
dh_clean
@@ -36,39 +37,64 @@ install-python%:
touch $@
binary-indep: build install
+ dh_testdir
+ dh_testroot
+ dh_installchangelogs -i
+ dh_installdocs -i
+ dh_installexamples -i
+ dh_install -i
+# dh_installmenu -i
+# dh_installdebconf -i
+# dh_installlogrotate -i
+# dh_installemacsen -i
+# dh_installpam -i
+# dh_installmime -i
+# dh_installinit -i
+# dh_installcron -i
+# dh_installinfo -i
+ dh_installman -i
+ dh_link -i
+ dh_compress -i --exclude=.js --exclude=.pdf --exclude=.py
+ dh_fixperms -i
+ dh_pysupport -i
+# dh_perl -i
+ [ ! -e /usr/bin/dh_buildinfo ] || dh_buildinfo -i
+ dh_installdeb -i
+ dh_shlibdeps -i
+ dh_gencontrol -i
+ dh_md5sums -i
+ dh_builddeb -i
binary-arch: build install
dh_testdir
dh_testroot
- dh_installchangelogs
- dh_installdocs
- dh_installexamples
- dh_install
-# dh_installmenu
-# dh_installdebconf
-# dh_installlogrotate
-# dh_installemacsen
-# dh_installpam
-# dh_installmime
-# dh_python
-# dh_installinit
-# dh_installcron
-# dh_installinfo
- dh_installman
-# dh_desktop
- dh_link
- dh_strip --dbg-package=python-%PACKAGE%-dbg
- dh_compress
- dh_fixperms
- dh_pysupport
-# dh_perl
-# dh_makeshlibs
- [ ! -e /usr/bin/dh_buildinfo ] || dh_buildinfo
- dh_installdeb
- dh_shlibdeps
- dh_gencontrol
- dh_md5sums
- dh_builddeb
+ dh_installchangelogs -a
+ dh_installdocs -a
+ dh_installexamples -a
+ dh_install -a
+# dh_installmenu -a
+# dh_installdebconf -a
+# dh_installlogrotate -a
+# dh_installemacsen -a
+# dh_installpam -a
+# dh_installmime -a
+# dh_installinit -a
+# dh_installcron -a
+# dh_installinfo -a
+ dh_installman -a
+ dh_link -a
+ dh_pysupport -a
+ dh_strip -a --dbg-package=python-%PACKAGE%-dbg
+ dh_compress -a
+ dh_fixperms -a
+# dh_perl -a
+# dh_makeshlibs -a
+ [ ! -e /usr/bin/dh_buildinfo ] || dh_buildinfo -a
+ dh_installdeb -a
+ dh_shlibdeps -a
+ dh_gencontrol -a
+ dh_md5sums -a
+ dh_builddeb -a
binary: binary-indep binary-arch
.PHONY: config build clean binary-indep binary-arch binary install
--
templates for different package types
More information about the Pkg-games-commits
mailing list