[Pkg-ruby-extras-maintainers] r170 - packages/libjson-ruby/trunk/debian

Esteban Manchado Velázquez zoso at costa.debian.org
Fri Dec 9 14:39:49 UTC 2005


Author: zoso
Date: 2005-12-09 14:39:48 +0000 (Fri, 09 Dec 2005)
New Revision: 170

Added:
   packages/libjson-ruby/trunk/debian/edit-json.dirs
Modified:
   packages/libjson-ruby/trunk/debian/control
   packages/libjson-ruby/trunk/debian/control.in
   packages/libjson-ruby/trunk/debian/rules
Log:
- Added libjson-ruby-doc and edit-json packages, with the documentation and the
  GTK program


Modified: packages/libjson-ruby/trunk/debian/control
===================================================================
--- packages/libjson-ruby/trunk/debian/control	2005-12-04 20:51:51 UTC (rev 169)
+++ packages/libjson-ruby/trunk/debian/control	2005-12-09 14:39:48 UTC (rev 170)
@@ -18,6 +18,17 @@
  This is a dummy package depending on the library for the current default
  version of Ruby.
 
+Package: libjson-ruby-doc
+Architecture: all
+Description: JSON library for Ruby (documentation)
+ This library implements the JSON (JavaScript Object Notation) specification in
+ Ruby, allowing the developer to easily convert data between Ruby and JSON. You
+ can think of it as a low fat alternative to XML, if you want to store data to
+ disk or transmit it over a network rather than use a verbose markup language.
+ .
+ This is the documentation package, with upstream documentation, as well as
+ generated rdoc.
+
 Package: libjson-ruby1.8
 Architecture: all
 Depends: ruby1.8

Modified: packages/libjson-ruby/trunk/debian/control.in
===================================================================
--- packages/libjson-ruby/trunk/debian/control.in	2005-12-04 20:51:51 UTC (rev 169)
+++ packages/libjson-ruby/trunk/debian/control.in	2005-12-09 14:39:48 UTC (rev 170)
@@ -18,6 +18,24 @@
  This is a dummy package depending on the library for the current default
  version of Ruby.
 
+Package: libjson-ruby-doc
+Architecture: all
+Description: JSON library for Ruby (documentation)
+ This library implements the JSON (JavaScript Object Notation) specification in
+ Ruby, allowing the developer to easily convert data between Ruby and JSON. You
+ can think of it as a low fat alternative to XML, if you want to store data to
+ disk or transmit it over a network rather than use a verbose markup language.
+ .
+ This is the documentation package, with upstream documentation, as well as
+ generated rdoc.
+
+Package: edit-json
+Architecture: all
+Depends: ruby1.8 libjson-ruby1.8 libgtk2-ruby
+Description: JSON files editor
+ Small graphical JSON editor. It allows to create and modify JSON (JavaScript
+ Object Notation) files with the aid of a graphical user interface.
+
 Package: libjson-ruby1.8
 Architecture: all
 Depends: ruby1.8

Added: packages/libjson-ruby/trunk/debian/edit-json.dirs
===================================================================
--- packages/libjson-ruby/trunk/debian/edit-json.dirs	2005-12-04 20:51:51 UTC (rev 169)
+++ packages/libjson-ruby/trunk/debian/edit-json.dirs	2005-12-09 14:39:48 UTC (rev 170)
@@ -0,0 +1,2 @@
+usr/bin
+usr/lib/ruby/1.8/json

Modified: packages/libjson-ruby/trunk/debian/rules
===================================================================
--- packages/libjson-ruby/trunk/debian/rules	2005-12-04 20:51:51 UTC (rev 169)
+++ packages/libjson-ruby/trunk/debian/rules	2005-12-09 14:39:48 UTC (rev 170)
@@ -3,3 +3,14 @@
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/ruby-pkg-tools/1/class/ruby-setup-rb.mk
 include /usr/share/ruby-pkg-tools/1/rules/uploaders.mk
+
+BASEDIR = `pwd`/debian
+
+common-binary-post-install-indep::
+	# Move edit_json.rb and related files to edit-json package
+	mv $(BASEDIR)/libjson-ruby1.8/usr/bin/edit_json.rb \
+	   $(BASEDIR)/edit-json/usr/bin/
+	mv $(BASEDIR)/libjson-ruby1.8/usr/lib/ruby/1.8/json/editor.rb \
+	   $(BASEDIR)/edit-json/usr/lib/ruby/1.8/json/
+	cp lib/json/*.xpm \
+	   $(BASEDIR)/edit-json/usr/lib/ruby/1.8/json/




More information about the pkg-ruby-extras-maintainers mailing list