[DRE-commits] r6045 - trunk/webgen0.5/debian

Vincent Fourmond fourmond at alioth.debian.org
Sun Feb 13 19:42:41 UTC 2011


Author: fourmond
Date: 2011-02-13 19:42:38 +0000 (Sun, 13 Feb 2011)
New Revision: 6045

Added:
   trunk/webgen0.5/debian/webgen0.5.postinst
   trunk/webgen0.5/debian/webgen0.5.prerm
Removed:
   trunk/webgen0.5/debian/webgen0.5.manpages
Modified:
   trunk/webgen0.5/debian/changelog
   trunk/webgen0.5/debian/control
   trunk/webgen0.5/debian/rules
Log:
[webgen0.5] First steps towards cohabitation with 0.4, but I completely forgot the most important: files in the ruby path...

Modified: trunk/webgen0.5/debian/changelog
===================================================================
--- trunk/webgen0.5/debian/changelog	2011-02-13 01:16:19 UTC (rev 6044)
+++ trunk/webgen0.5/debian/changelog	2011-02-13 19:42:38 UTC (rev 6045)
@@ -1,3 +1,14 @@
+webgen0.5 (0.5.13+dfsg-2) unstable; urgency=low
+
+  * Added myself to uploaders
+  * Rename the binary webgen and its corresponding manual page as webgen0.5
+  * Provide webgen using alternatives (closes: #613127)
+  * Bump to standards version 3.9.1
+  * Update dependencies in order to be installable together with the
+    latest webgen0.4
+
+ -- Vincent Fourmond <fourmond at debian.org>  Sun, 13 Feb 2011 20:15:38 +0100
+
 webgen0.5 (0.5.13+dfsg-1) unstable; urgency=low
 
   * New upstream release.

Modified: trunk/webgen0.5/debian/control
===================================================================
--- trunk/webgen0.5/debian/control	2011-02-13 01:16:19 UTC (rev 6044)
+++ trunk/webgen0.5/debian/control	2011-02-13 19:42:38 UTC (rev 6045)
@@ -2,13 +2,15 @@
 Section: web
 Priority: optional
 Maintainer: Arnaud Cornet <acornet at debian.org>
-Uploaders: Marc Dequènes (Duck) <Duck at DuckCorp.org>, Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
+Uploaders: Marc Dequènes (Duck) <Duck at DuckCorp.org>, 
+ Vincent Fourmond <fourmond at debian.org>, 
+ Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
 Build-Depends: cdbs (>= 0.4.27), debhelper (>= 7.0.1), ruby1.8, ruby-pkg-tools (>= 0.6), libcmdparse2-ruby, libmaruku-ruby
 Build-Depends-Indep: graphviz
 Build-Conflicts: webgen (<< 0.4), webgen0.4
 Vcs-Svn: svn://svn.debian.org/svn/pkg-ruby-extras/trunk/webgen0.5/
 Vcs-Browser: http://svn.debian.org/viewsvn/pkg-ruby-extras/trunk/webgen0.5/
-Standards-Version: 3.9.0
+Standards-Version: 3.9.1
 Homepage: http://webgen.rubyforge.org/
 
 Package: webgen0.5
@@ -16,7 +18,8 @@
 Depends: ${misc:Depends}, ruby, libcmdparse2-ruby, libmaruku-ruby, libjs-jquery
 Recommends: libredcloth-ruby | libbluecloth-ruby, librmagick-ruby
 Suggests: webgen0.5-doc, doc-base, libexif-ruby, libbuilder-ruby, rake, libhaml-ruby, libbuilder-ruby, liberubis-ruby
-Conflicts: webgen, webgen0.4
+Conflicts: webgen (<= 0.3.8-3), webgen0.4 (<= 0.4.7-3)
+Breaks: webgen (<= 0.3.8-3), webgen0.4 (<= 0.4.7-3)
 Description: A template based static website generator
  Webgen is used to generate web pages from page description and template files.
  You create one template file in which you define the layout of your page and

Modified: trunk/webgen0.5/debian/rules
===================================================================
--- trunk/webgen0.5/debian/rules	2011-02-13 01:16:19 UTC (rev 6044)
+++ trunk/webgen0.5/debian/rules	2011-02-13 19:42:38 UTC (rev 6045)
@@ -17,6 +17,11 @@
 	rm debian/$(cdbs_curpkg)/usr/share/webgen/webgui/public/js/jquery.js
 	dh_link -p $(cdbs_curpkg) usr/share/javascript/jquery/jquery.js usr/share/webgen/webgui/public/js/jquery.js
 
+	# Rename the webgen binary as webgen0.5
+	mv debian/$(cdbs_curpkg)/usr/bin/webgen debian/$(cdbs_curpkg)/usr/bin/webgen0.5
+	mv debian/$(cdbs_curpkg)/usr/share/man/man1/webgen.1 debian/$(cdbs_curpkg)/usr/share/man/man1/webgen0.5.1
+
+
 clean::
 	rm -rf doc/output
 

Deleted: trunk/webgen0.5/debian/webgen0.5.manpages
===================================================================
--- trunk/webgen0.5/debian/webgen0.5.manpages	2011-02-13 01:16:19 UTC (rev 6044)
+++ trunk/webgen0.5/debian/webgen0.5.manpages	2011-02-13 19:42:38 UTC (rev 6045)
@@ -1 +0,0 @@
-man/man1/webgen.1

Added: trunk/webgen0.5/debian/webgen0.5.postinst
===================================================================
--- trunk/webgen0.5/debian/webgen0.5.postinst	                        (rev 0)
+++ trunk/webgen0.5/debian/webgen0.5.postinst	2011-02-13 19:42:38 UTC (rev 6045)
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+set -e 
+
+if [ "$1" = "configure" ]
+then
+  update-alternatives --install /usr/bin/webgen webgen /usr/bin/webgen0.5 50 \
+      --slave /usr/share/man/man1/webgen.1.gz webgen.1.gz /usr/share/man/man1/webgen0.5.1.gz
+fi
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#

Added: trunk/webgen0.5/debian/webgen0.5.prerm
===================================================================
--- trunk/webgen0.5/debian/webgen0.5.prerm	                        (rev 0)
+++ trunk/webgen0.5/debian/webgen0.5.prerm	2011-02-13 19:42:38 UTC (rev 6045)
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+set -e 
+
+if [ "$1" = "remove" ]
+then
+  update-alternatives --remove webgen /usr/bin/webgen0.5
+fi
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#




More information about the Pkg-ruby-extras-commits mailing list