[med-svn] r7413 - trunk/packages/mobyle/mobyle/trunk/debian

olivier sallou osallou-guest at alioth.debian.org
Wed Aug 10 07:43:20 UTC 2011


Author: osallou-guest
Date: 2011-08-10 07:43:20 +0000 (Wed, 10 Aug 2011)
New Revision: 7413

Modified:
   trunk/packages/mobyle/mobyle/trunk/debian/copyright
   trunk/packages/mobyle/mobyle/trunk/debian/get-orig-source
   trunk/packages/mobyle/mobyle/trunk/debian/rules
Log:
change cc due to dsfg, remove comments

Modified: trunk/packages/mobyle/mobyle/trunk/debian/copyright
===================================================================
--- trunk/packages/mobyle/mobyle/trunk/debian/copyright	2011-08-10 07:27:33 UTC (rev 7412)
+++ trunk/packages/mobyle/mobyle/trunk/debian/copyright	2011-08-10 07:43:20 UTC (rev 7413)
@@ -28,29 +28,6 @@
  On Debian systems, the complete text of the GNU General
  Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
 
-Files: Src/Portal/htdocs/MobylePortal/js/openid/jquery-1.3.2.min.js
-Copyright: 2009 John Resig
-2009 The Dojo Fundation
-License: dual MIT and GPL
- Permission is hereby granted, free of charge, to any person obtaining a copy
- of this software and associated documentation files (the "Software"), to deal
- in the Software without restriction, including without limitation the rights
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- copies of the Software, and to permit persons to whom the Software is
- furnished to do so, subject to the following conditions:
- .
- The above copyright notice and this permission notice shall be included in
- all copies or substantial portions of the Software.
- .
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- THE SOFTWARE.
-
-
 Files: Src/Portal/htdocs/MobylePortal/js/blank.html
 Copyright: 2007 Brian Dillard <bdillard at pathf.com>
 2007 Brad Neuberg
@@ -73,53 +50,6 @@
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  THE SOFTWARE.
 
-
-
-Files: Src/Portal/htdocs/MobylePortal/js/prototype*.js
-Copyright:  2005-2010 Sam Stephenson
-License:  MIT
- Permission is hereby granted, free of charge, to any person obtaining a copy
- of this software and associated documentation files (the "Software"), to deal
- in the Software without restriction, including without limitation the rights
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- copies of the Software, and to permit persons to whom the Software is
- furnished to do so, subject to the following conditions:
- .
- The above copyright notice and this permission notice shall be included in
- all copies or substantial portions of the Software.
- .
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- THE SOFTWARE.
-
-Files:     Src/Portal/htdocs/MobylePortal/js/scriptaculous.js
-Src/Portal/htdocs/MobylePortal/js/builder.js
-Src/Portal/htdocs/MobylePortal/js/effects.js
-Copyright: 2005-2010 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us) 
-License:  MIT
- Permission is hereby granted, free of charge, to any person obtaining a copy
- of this software and associated documentation files (the "Software"), to deal
- in the Software without restriction, including without limitation the rights
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- copies of the Software, and to permit persons to whom the Software is
- furnished to do so, subject to the following conditions:
- .
- The above copyright notice and this permission notice shall be included in
- all copies or substantial portions of the Software.
- .
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- THE SOFTWARE.
-
-
 Files: Src/Portal/htdocs/MobylePortal/images/*
 Copyright:  2011 Mark James
 License: Creative Commons Attribute Share-Alike v3.0

Modified: trunk/packages/mobyle/mobyle/trunk/debian/get-orig-source
===================================================================
--- trunk/packages/mobyle/mobyle/trunk/debian/get-orig-source	2011-08-10 07:27:33 UTC (rev 7412)
+++ trunk/packages/mobyle/mobyle/trunk/debian/get-orig-source	2011-08-10 07:43:20 UTC (rev 7413)
@@ -3,10 +3,33 @@
 set -e
 
 PKG=`dpkg-parsechangelog | awk '/^Source/ { print $2 }'`
-VERSION=`uscan --verbose --force-download |
+VERSION=`uscan --verbose --force-download --no-symlink |
     grep "Newest version on remote site is .* local version is .*" |
     head -n 1 |
     sed "s/Newest version on remote site is \([a-z0-9.]\+\),.*/\1/"`
 
 mkdir -p ../tarballs
 
+cd ../tarballs
+
+UTAR="${PKG}-${VERSION}.tar.gz"
+mv ../${UTAR} .
+tar -xzf ${UTAR}
+
+mv Mobyle-${VERSION} $PKG-${VERSION}~dfsg.orig # .orig is requested by Developers Reference 3.4.4 §6.7.8.2
+
+cd $PKG-${VERSION}~dfsg.orig
+# remove license issue file
+rm Src/Mobyle/Test/Converter/DataSequences/sequence.SWISSPROT
+# remove unnecessary files, standard packages will be used
+rm Src/Portal/htdocs/MobylePortal/js/openid/jquery-1.3.2.min.js
+rm Src/Portal/htdocs/MobylePortal/js/scriptaculous.js
+rm Src/Portal/htdocs/MobylePortal/js/builder.js
+rm Src/Portal/htdocs/MobylePortal/js/effects.js
+rm Src/Portal/htdocs/MobylePortal/js/prototype-1.7.js
+cd ..
+
+BZIP2="--best" tar -cjf ${PKG}_${VERSION}~dfsg.orig.tar.bz2 ${PKG}-${VERSION}~dfsg.orig
+rm -rf ${PKG}-${VERSION}~dfsg.orig
+
+rm ${UTAR}

Modified: trunk/packages/mobyle/mobyle/trunk/debian/rules
===================================================================
--- trunk/packages/mobyle/mobyle/trunk/debian/rules	2011-08-10 07:27:33 UTC (rev 7412)
+++ trunk/packages/mobyle/mobyle/trunk/debian/rules	2011-08-10 07:43:20 UTC (rev 7413)
@@ -12,16 +12,10 @@
 override_dh_auto_install:
 	python setup.py install --install-cgis=debian/mobyle/usr/lib/cgi-bin/mobyle  --install-htdocs=debian/mobyle/usr/share/mobyle/htdocs  --install-core=debian/mobyle/usr/share/mobyle/core
 	mv debian/mobyle/usr/share/mobyle/htdocs/data debian/mobyle/var/lib/mobyle/
-	rm -f debian/mobyle/usr/share/mobyle/htdocs/portal/js/scriptaculous.js
-	rm -f debian/mobyle/usr/share/mobyle/htdocs/portal/js/effects.js
-	rm -f debian/mobyle/usr/share/mobyle/htdocs/portal/js/builder.js
-	rm -f debian/mobyle/usr/share/mobyle/htdocs/portal/js/openid/jquery*.js
-	rm -f debian/mobyle/usr/share/mobyle/htdocs/portal/js/prototype*.js
 	rm -rf debian/mobyle/usr/share/mobyle/core/Doc
 	rm -rf debian/mobyle/usr/share/mobyle/core/Services/Programs
 	rm -rf debian/mobyle/usr/share/mobyle/core/Services/Viewers
 	rm -rf debian/mobyle/usr/share/mobyle/core/Services/Workflows
-#	cp -R Doc/* debian/mobyle/usr/share/doc/mobyle/
 	cp debian/mobyle/usr/share/mobyle/core/Example/Local/Config/Config.template.py  debian/mobyle/etc/mobyle/Config.py
 	cp debian/mobyle/usr/share/mobyle/core/Example/Local/CustomClasses/__init__.py debian/mobyle/etc/mobyle/CustomClasses/__init__.py
 	cp debian/mobyle.apache2 debian/mobyle/etc/apache2/conf.d/mobyle




More information about the debian-med-commit mailing list