[DRE-commits] r2597 - packages/libprogressbar-ruby/trunk/debian

paulvt at alioth.debian.org paulvt at alioth.debian.org
Fri Apr 4 20:46:20 UTC 2008


Author: paulvt
Date: 2008-04-04 20:46:19 +0000 (Fri, 04 Apr 2008)
New Revision: 2597

Added:
   packages/libprogressbar-ruby/trunk/debian/libprogressbar-ruby.docs
   packages/libprogressbar-ruby/trunk/debian/libprogressbar-ruby1.8.install
Removed:
   packages/libprogressbar-ruby/trunk/debian/dirs
Modified:
   packages/libprogressbar-ruby/trunk/debian/changelog
   packages/libprogressbar-ruby/trunk/debian/control
   packages/libprogressbar-ruby/trunk/debian/rules
   packages/libprogressbar-ruby/trunk/debian/watch
Log:
* Added newline at the end of the watch file.
* New upstream release. 
* Updated debian/control to adhere to Debian policy 3.7.3:
  - changed section "interpreters" to "libs".
  - set myself als maintainer, moved the team (address) to the Uploaders
    field.
  - bumped standards version to 3.7.3.
  - added the libprogressbar-ruby package required by Debian Ruby policy.
  - added build-depend-indep on rdtool.
  - removed unnecessary build-depend-indep on ruby1.8-dev.
* Use CDBS for packaging:
  - changed debian/rules (use debhelper.mk only).
  - appended rules to generate documentation.
  - added debian/libprogressbar.docs to install the documentation.
  - added debian/libprogressbar1.8.install to install the library.
* Removed superfluous debian/dirs.

Modified: packages/libprogressbar-ruby/trunk/debian/changelog
===================================================================
--- packages/libprogressbar-ruby/trunk/debian/changelog	2008-04-04 20:22:00 UTC (rev 2596)
+++ packages/libprogressbar-ruby/trunk/debian/changelog	2008-04-04 20:46:19 UTC (rev 2597)
@@ -1,15 +1,32 @@
-libprogressbar-ruby (0.8-4) UNRELEASED; urgency=low
+libprogressbar-ruby (0.9-1) unstable; urgency=low
 
   [ Vincent Fourmond ]
-  * Added watchfile
+  * Added watch file.
 
   [ Lucas Nussbaum ]
   * Fixed Vcs-* to point to dir containing debian/ instead of dir
     containing trunk/
   * Added Homepage field.
 
- -- Lucas Nussbaum <lucas at lucas-nussbaum.net>  Thu, 20 Dec 2007 12:27:17 +0100
+  [ Paul van Tilburg ]
+  * New upstream release. 
+  * Updated debian/control to adhere to Debian policy 3.7.3:
+    - changed section "interpreters" to "libs".
+    - set myself als maintainer, moved the team (address) to the Uploaders
+      field.
+    - bumped standards version to 3.7.3.
+    - added the libprogressbar-ruby package required by Debian Ruby policy.
+    - added build-depend-indep on rdtool.
+    - removed unnecessary build-depend-indep on ruby1.8-dev.
+  * Use CDBS for packaging:
+    - changed debian/rules (use debhelper.mk only).
+    - appended rules to generate documentation.
+    - added debian/libprogressbar.docs to install the documentation.
+    - added debian/libprogressbar1.8.install to install the library.
+  * Removed superfluous debian/dirs.
 
+ -- Paul van Tilburg <paulvt at debian.org>  Fri, 04 Apr 2008 22:44:56 +0200
+
 libprogressbar-ruby (0.8-3) unstable; urgency=low
 
   * New maintainer.

Modified: packages/libprogressbar-ruby/trunk/debian/control
===================================================================
--- packages/libprogressbar-ruby/trunk/debian/control	2008-04-04 20:22:00 UTC (rev 2596)
+++ packages/libprogressbar-ruby/trunk/debian/control	2008-04-04 20:46:19 UTC (rev 2597)
@@ -1,17 +1,28 @@
 Source: libprogressbar-ruby
-Section: interpreters
+Section: libs
 Priority: optional
-Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
-Build-Depends-Indep: debhelper (>> 3.0.0), ruby1.8, ruby1.8-dev
-Standards-Version: 3.6.2
+Maintainer: Paul van Tilburg <paulvt at debian.org>
+Uploaders: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
+Build-Depends: debhelper (>> 3.0.0), cdbs, ruby-pkg-tools
+Build-Depends-Indep: ruby1.8, rdtool
+Standards-Version: 3.7.3
 Homepage: http://0xcc.net/ruby-progressbar/
 Vcs-Browser: http://svn.debian.org/wsvn/pkg-ruby-extras/packages/libprogressbar-ruby/trunk/
 Vcs-Svn: svn://svn.debian.org/pkg-ruby-extras/packages/libprogressbar-ruby/trunk/
 
+Package: libprogressbar-ruby
+Architecture: all
+Depends: libprogressbar-ruby1.8
+Description: A Text Progress Bar Library for Ruby
+ Ruby/ProgressBar is a text progress bar library for Ruby.  It can indicate
+ progress with percentage, a progress bar, and estimated remaining time.
+ .
+ This is a dummy package depending on the library for the current default
+ version of Ruby.
+
 Package: libprogressbar-ruby1.8
 Architecture: all
 Depends: libruby1.8
 Description: A Text Progress Bar Library for Ruby 1.8
- Ruby/ProgressBar is a text progress bar library for Ruby.
- It can indicate progress with percentage, a progress bar,
- and estimated remaining time.
+ Ruby/ProgressBar is a text progress bar library for Ruby.  It can indicate
+ progress with percentage, a progress bar, and estimated remaining time.

Deleted: packages/libprogressbar-ruby/trunk/debian/dirs
===================================================================
--- packages/libprogressbar-ruby/trunk/debian/dirs	2008-04-04 20:22:00 UTC (rev 2596)
+++ packages/libprogressbar-ruby/trunk/debian/dirs	2008-04-04 20:46:19 UTC (rev 2597)
@@ -1 +0,0 @@
-usr/lib/ruby

Added: packages/libprogressbar-ruby/trunk/debian/libprogressbar-ruby.docs
===================================================================
--- packages/libprogressbar-ruby/trunk/debian/libprogressbar-ruby.docs	                        (rev 0)
+++ packages/libprogressbar-ruby/trunk/debian/libprogressbar-ruby.docs	2008-04-04 20:46:19 UTC (rev 2597)
@@ -0,0 +1 @@
+manual.*.html

Added: packages/libprogressbar-ruby/trunk/debian/libprogressbar-ruby1.8.install
===================================================================
--- packages/libprogressbar-ruby/trunk/debian/libprogressbar-ruby1.8.install	                        (rev 0)
+++ packages/libprogressbar-ruby/trunk/debian/libprogressbar-ruby1.8.install	2008-04-04 20:46:19 UTC (rev 2597)
@@ -0,0 +1 @@
+progressbar.rb          usr/lib/ruby/1.8/

Modified: packages/libprogressbar-ruby/trunk/debian/rules
===================================================================
--- packages/libprogressbar-ruby/trunk/debian/rules	2008-04-04 20:22:00 UTC (rev 2596)
+++ packages/libprogressbar-ruby/trunk/debian/rules	2008-04-04 20:46:19 UTC (rev 2597)
@@ -1,88 +1,16 @@
 #!/usr/bin/make -f
-# Sample debian/rules that uses debhelper.
-# GNU copyright 1997 to 1999 by Joey Hess.
+#
+# CDBS file to build the Ruby ProgressBar package.
 
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
+RD2OPT = -rrd/rd2html-lib --html-title="Ruby/ProgressBar Manual"
 
-# This is the debhelper compatability version to use.
-#export DH_COMPAT=3
+include /usr/share/cdbs/1/rules/debhelper.mk
 
-configure: configure-stamp
-configure-stamp:
-	dh_testdir
-	# Add here commands to configure the package.
+build/libprogressbar-ruby::
+	rd2 $(RD2OPT) --html-lang=en progressbar.en.rd -o manual.en
+	rd2 $(RD2OPT) --html-lang=ja --html-charset=EUC-JP progressbar.ja.rd \
+	  -o manual.ja
 
-	touch configure-stamp
-
-build: configure-stamp build-stamp
-build-stamp:
-	dh_testdir
-
-	# Add here commands to compile the package.
-	#$(MAKE)
-	#/usr/bin/docbook-to-man debian/libprogressbar-ruby.sgml > libprogressbar-ruby.1
-
-	touch build-stamp
-
-clean:
-	dh_testdir
-	dh_testroot
-	rm -f build-stamp configure-stamp
-
-	# Add here commands to clean up after the build process.
-	#-$(MAKE) clean
-
-	dh_clean
-
-install: build
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-	dh_installdirs
-
-	# Add here commands to install the package into debian/libprogressbar-ruby.
-	#$(MAKE) install DESTDIR=$(CURDIR)/debian/libprogressbar-ruby
-	for d in \
-	  $(CURDIR)/debian/libprogressbar-ruby1.8$(shell ruby1.8 -rrbconfig -e 'print Config::CONFIG["rubylibdir"]'); \
-	do \
-	  mkdir -p $$d; \
-	  cp -a progressbar.rb $$d/; \
-	done
-
-# Build architecture-independent files here.
-binary-arch: build install
-# We have nothing to do by default.
-
-# Build architecture-dependent files here.
-binary-indep: build install
-	dh_testdir
-	dh_testroot
-#	dh_installdebconf	
-	dh_installdocs -A progressbar.*.rd
-	dh_installexamples -A test.rb
-#	dh_installmenu
-#	dh_installlogrotate
-#	dh_installemacsen
-#	dh_installpam
-#	dh_installmime
-#	dh_installinit
-	dh_installcron
-	dh_installman
-	dh_installinfo
-#	dh_undocumented
-	dh_installchangelogs ChangeLog
-	dh_link
-	dh_strip
-	dh_compress
-	dh_fixperms
-#	dh_makeshlibs
-	dh_installdeb
-#	dh_perl
-	dh_shlibdeps
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure
+clean::
+	if [ -e manual.en.html ]; then rm manual.en.html; fi
+	if [ -e manual.ja.html ]; then rm manual.ja.html; fi

Modified: packages/libprogressbar-ruby/trunk/debian/watch
===================================================================
--- packages/libprogressbar-ruby/trunk/debian/watch	2008-04-04 20:22:00 UTC (rev 2596)
+++ packages/libprogressbar-ruby/trunk/debian/watch	2008-04-04 20:46:19 UTC (rev 2597)
@@ -1,2 +1,2 @@
 version=3
-http://0xcc.net/ruby-progressbar/ ruby-progressbar-(.*).tar.gz
\ No newline at end of file
+http://0xcc.net/ruby-progressbar/ ruby-progressbar-(.*).tar.gz




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