[DebianGIS-dev] r1180 - packages/mapserver/trunk/debian

kobold at alioth.debian.org kobold at alioth.debian.org
Thu Oct 11 12:02:02 UTC 2007


Author: kobold
Date: 2007-10-11 12:02:01 +0000 (Thu, 11 Oct 2007)
New Revision: 1180

Added:
   packages/mapserver/trunk/debian/libmapscript-ruby.docs
   packages/mapserver/trunk/debian/libmapscript-ruby.examples
Removed:
   packages/mapserver/trunk/debian/ruby1.8-mapscript.dirs
   packages/mapserver/trunk/debian/ruby1.8-mapscript.docs
   packages/mapserver/trunk/debian/ruby1.8-mapscript.examples
   packages/mapserver/trunk/debian/ruby1.9-mapscript.dirs
   packages/mapserver/trunk/debian/ruby1.9-mapscript.docs
   packages/mapserver/trunk/debian/ruby1.9-mapscript.examples
Modified:
   packages/mapserver/trunk/debian/changelog
   packages/mapserver/trunk/debian/control
   packages/mapserver/trunk/debian/rules
Log:
New release.


Modified: packages/mapserver/trunk/debian/changelog
===================================================================
--- packages/mapserver/trunk/debian/changelog	2007-10-11 11:17:56 UTC (rev 1179)
+++ packages/mapserver/trunk/debian/changelog	2007-10-11 12:02:01 UTC (rev 1180)
@@ -1,3 +1,10 @@
+mapserver (5.0.0-2) unstable; urgency=low
+
+  * debian/rules, debian/controls: new patch for the ruby bindings, which
+    follows the ruby policy draft.
+
+ -- Fabio Tranchitella <kobold at debian.org>  Thu, 11 Oct 2007 13:46:22 +0200
+
 mapserver (5.0.0-1) unstable; urgency=low
 
   [ Fabio Tranchitella ]

Modified: packages/mapserver/trunk/debian/control
===================================================================
--- packages/mapserver/trunk/debian/control	2007-10-11 11:17:56 UTC (rev 1179)
+++ packages/mapserver/trunk/debian/control	2007-10-11 12:02:01 UTC (rev 1180)
@@ -77,20 +77,28 @@
  functionality in MapScript is provided by the suggested mapscript
  library packages.
 
-Package: ruby1.8-mapscript
+Package: libmapscript-ruby
 Section: devel
+Architecture: all
+Depends: libmapscript-ruby1.8
+Description: Ruby MapServer library
+ Ruby MapScript provides MapServer functions for Ruby scripts.
+ .
+ This package conains exapmles and depends on package for Debian
+ default version of Ruby.
+
+Package: libmapscript-ruby1.8
+Section: devel
 Architecture: any
 Depends: ${shlibs:Depends}
 Suggests: mapserver-bin, mapserver-doc
-Provides: ruby-mapscript
 Description: Ruby MapServer library
  Ruby MapScript provides MapServer functions for Ruby scripts.
 
-Package: ruby1.9-mapscript
+Package: libmapscript-ruby1.9
 Section: devel
 Architecture: any
 Depends: ${shlibs:Depends}
 Suggests: mapserver-bin, mapserver-doc
-Provides: ruby-mapscript
 Description: Ruby MapServer library
  Ruby MapScript provides MapServer functions for Ruby scripts.

Added: packages/mapserver/trunk/debian/libmapscript-ruby.docs
===================================================================
--- packages/mapserver/trunk/debian/libmapscript-ruby.docs	                        (rev 0)
+++ packages/mapserver/trunk/debian/libmapscript-ruby.docs	2007-10-11 12:02:01 UTC (rev 1180)
@@ -0,0 +1 @@
+mapscript/ruby/README

Added: packages/mapserver/trunk/debian/libmapscript-ruby.examples
===================================================================
--- packages/mapserver/trunk/debian/libmapscript-ruby.examples	                        (rev 0)
+++ packages/mapserver/trunk/debian/libmapscript-ruby.examples	2007-10-11 12:02:01 UTC (rev 1180)
@@ -0,0 +1 @@
+mapscript/ruby/examples/*

Deleted: packages/mapserver/trunk/debian/ruby1.8-mapscript.dirs
===================================================================
--- packages/mapserver/trunk/debian/ruby1.8-mapscript.dirs	2007-10-11 11:17:56 UTC (rev 1179)
+++ packages/mapserver/trunk/debian/ruby1.8-mapscript.dirs	2007-10-11 12:02:01 UTC (rev 1180)
@@ -1 +0,0 @@
-usr/lib/ruby/1.8

Deleted: packages/mapserver/trunk/debian/ruby1.8-mapscript.docs
===================================================================
--- packages/mapserver/trunk/debian/ruby1.8-mapscript.docs	2007-10-11 11:17:56 UTC (rev 1179)
+++ packages/mapserver/trunk/debian/ruby1.8-mapscript.docs	2007-10-11 12:02:01 UTC (rev 1180)
@@ -1 +0,0 @@
-mapscript/ruby/README

Deleted: packages/mapserver/trunk/debian/ruby1.8-mapscript.examples
===================================================================
--- packages/mapserver/trunk/debian/ruby1.8-mapscript.examples	2007-10-11 11:17:56 UTC (rev 1179)
+++ packages/mapserver/trunk/debian/ruby1.8-mapscript.examples	2007-10-11 12:02:01 UTC (rev 1180)
@@ -1 +0,0 @@
-mapscript/ruby/examples/*

Deleted: packages/mapserver/trunk/debian/ruby1.9-mapscript.dirs
===================================================================
--- packages/mapserver/trunk/debian/ruby1.9-mapscript.dirs	2007-10-11 11:17:56 UTC (rev 1179)
+++ packages/mapserver/trunk/debian/ruby1.9-mapscript.dirs	2007-10-11 12:02:01 UTC (rev 1180)
@@ -1 +0,0 @@
-usr/lib/ruby/1.9

Deleted: packages/mapserver/trunk/debian/ruby1.9-mapscript.docs
===================================================================
--- packages/mapserver/trunk/debian/ruby1.9-mapscript.docs	2007-10-11 11:17:56 UTC (rev 1179)
+++ packages/mapserver/trunk/debian/ruby1.9-mapscript.docs	2007-10-11 12:02:01 UTC (rev 1180)
@@ -1 +0,0 @@
-mapscript/ruby/README

Deleted: packages/mapserver/trunk/debian/ruby1.9-mapscript.examples
===================================================================
--- packages/mapserver/trunk/debian/ruby1.9-mapscript.examples	2007-10-11 11:17:56 UTC (rev 1179)
+++ packages/mapserver/trunk/debian/ruby1.9-mapscript.examples	2007-10-11 12:02:01 UTC (rev 1180)
@@ -1 +0,0 @@
-mapscript/ruby/examples/*

Modified: packages/mapserver/trunk/debian/rules
===================================================================
--- packages/mapserver/trunk/debian/rules	2007-10-11 11:17:56 UTC (rev 1179)
+++ packages/mapserver/trunk/debian/rules	2007-10-11 12:02:01 UTC (rev 1180)
@@ -136,8 +136,8 @@
 	-cd mapscript/python && \
 	  for python in $(PYVERS); do $$python setup.py clean; done
 	-$(RM) -rf mapscript/python/build
-	-cd mapscript/ruby && $(MAKE) distclean
-	-$(RM) -rf mapscript/ruby/mapscript_wrap.c
+	-$(MAKE) distclean -C $(CURDIR)/mapscript/ruby
+	-$(RM) -rf $(CURDIR)/mapscript/ruby/mapscript_wrap.c
 	-$(RM) mapscriptvars
 
 	-$(RM) mapscript/perl/mapscript.i \
@@ -195,10 +195,12 @@
 	  done
 
 	# Ruby mapscript
-	for v in $(RUBYVERS) ; do \
-	  install -m 644 $(CURDIR)/mapscript/ruby/ruby$$v-mapscript.so \
-	    $(CURDIR)/debian/ruby$$v-mapscript/usr/lib/ruby/$$v/mapscript.so ; \
-	done
+	cd $(CURDIR)/mapscript/ruby && set -e ; \
+	  for v in $(RUBYVERS) ; do \
+	    ruby$$v extconf.rb ; \
+	      $(MAKE) install sitedir=$(CURDIR)/debian/libmapscript-ruby$$v/usr/lib/ruby ; \
+	      $(MAKE) distclean ; \
+	  done
 
 	# Mapserver  Binary
 	install -m755 legend scalebar shp2img shptree \
@@ -226,6 +228,7 @@
 	dh_testroot -i
 	dh_installchangelogs -i HISTORY.TXT
 	dh_installdocs -i
+	dh_installexamples -i
 	dh_installdebconf -i
 	dh_compress -i
 	dh_link -i




More information about the Pkg-grass-devel mailing list