[DRE-commits] [SCM] ruby-rinku.git branch, master, updated. upstream/1.7.3-1-gd7eeb21

Per Andersson avtobiff at gmail.com
Fri Jun 7 00:20:08 UTC 2013


The following commit has been merged in the master branch:
commit d7eeb215239d41dd03f8b34a5b0c64791d274b19
Author: Per Andersson <avtobiff at gmail.com>
Date:   Fri Jun 7 02:19:39 2013 +0200

    Initial Debianization

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..29f0cc0
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+ruby-rinku (1.7.3-1) unstable; urgency=low
+
+  * Initial release (Closes: #711458)
+
+ -- Per Andersson <avtobiff at gmail.com>  Fri, 07 Jun 2013 02:08:18 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7f8f011
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..0428810
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,48 @@
+Source: ruby-rinku
+Section: ruby
+Priority: optional
+Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
+Uploaders: Per Andersson <avtobiff at gmail.com>
+Build-Depends:
+ debhelper (>= 7.0.50~),
+ gem2deb (>= 0.3.0~)
+Standards-Version: 3.9.4
+Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-rinku.git
+Vcs-Browser: http://anonscm.debian.org/gitweb?p=pkg-ruby-extras/ruby-rinku.git;a=summary
+Homepage: http://github.com/vmg/rinku
+XS-Ruby-Versions: all
+
+Package: ruby-rinku
+Architecture: any
+XB-Ruby-Versions: ${ruby:Versions}
+Depends:
+ ${shlibs:Depends},
+ ${misc:Depends},
+ ruby | ruby-interpreter
+Suggests:
+ ruby-rinku-doc
+Description: autolinker for Ruby
+ Rinku is a Ruby library that does autolinking.
+ .
+ It parses text and turns anything that remotely resembles a link into an HTML
+ link, just like the Ruby on Rails `auto_link` method -- but it's about 20
+ times faster, because it's written in C, and it's about 20 times smarter when
+ linking, because it does actual parsing instead of RegEx replacements.
+
+Package: ruby-rinku-doc
+Section: doc
+Architecture: all
+Depends:
+ ${misc:Depends},
+ libjs-jquery
+Suggests:
+ ruby-rinku
+Description: autolinker for Ruby (documentation)
+ Rinku is a Ruby library that does autolinking.
+ .
+ It parses text and turns anything that remotely resembles a link into an HTML
+ link, just like the Ruby on Rails `auto_link` method -- but it's about 20
+ times faster, because it's written in C, and it's about 20 times smarter when
+ linking, because it does actual parsing instead of RegEx replacements.
+ .
+ This package contains the documentation for ruby-rinku.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..ba1c374
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,29 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: Rinku
+Source: http://github.com/vmg/rinku
+
+Files: *
+Copyright: 2011-2013 Vicent Marti <vmg at github.com>
+License: ISC
+
+Files: ext/rinku/buffer.c ext/rinku/buffer.h
+Copyright: 2008 Natacha Porté
+           2011 Vicent Marti <vmg at github.com>
+License: ISC
+
+Files: debian/*
+Copyright: 2013 Per Andersson <avtobiff at gmail.com>
+License: ISC
+
+License: ISC
+ Permission to use, copy, modify, and/or distribute this software for any
+ purpose with or without fee is hereby granted, provided that the above
+ copyright notice and this permission notice appear in all copies.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
diff --git a/debian/ruby-rinku-doc.doc-base b/debian/ruby-rinku-doc.doc-base
new file mode 100644
index 0000000..3b1bd18
--- /dev/null
+++ b/debian/ruby-rinku-doc.doc-base
@@ -0,0 +1,15 @@
+Document: ruby-rinku-doc
+Title: Debian ruby-rinku Manual
+Author: Vicent Marti <vicent at github.com>
+Abstract: autolinker for Ruby
+ Rinku is a Ruby library that does autolinking.
+ .
+ It parses text and turns anything that remotely resembles a link into an HTML
+ link, just like the Ruby on Rails `auto_link` method -- but it's about 20
+ times faster, because it's written in C, and it's about 20 times smarter when
+ linking, because it does actual parsing instead of RegEx replacements.
+Section: Programming/Ruby
+
+Format: HTML
+Index: /usr/share/doc/ruby-rinku-doc/html/index.html
+Files: /usr/share/doc/ruby-rinku-doc/html/*
diff --git a/debian/ruby-rinku-doc.install b/debian/ruby-rinku-doc.install
new file mode 100644
index 0000000..66638db
--- /dev/null
+++ b/debian/ruby-rinku-doc.install
@@ -0,0 +1 @@
+doc/*   /usr/share/doc/ruby-rinku-doc/html/
diff --git a/debian/ruby-rinku-doc.links b/debian/ruby-rinku-doc.links
new file mode 100644
index 0000000..caa7d9a
--- /dev/null
+++ b/debian/ruby-rinku-doc.links
@@ -0,0 +1 @@
+usr/share/javascript/jquery/jquery.js usr/share/doc/ruby-rinku-doc/html/js/jquery.js
diff --git a/debian/ruby-rinku.docs b/debian/ruby-rinku.docs
new file mode 100644
index 0000000..8d526b9
--- /dev/null
+++ b/debian/ruby-rinku.docs
@@ -0,0 +1 @@
+README.markdown
diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
new file mode 100644
index 0000000..d7ebebd
--- /dev/null
+++ b/debian/ruby-tests.rb
@@ -0,0 +1 @@
+require 'test/autolink_test.rb'
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..9413f9e
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,29 @@
+#!/usr/bin/make -f
+#export DH_VERBOSE=1
+#
+# Uncomment to ignore all test failures (but the tests will run anyway)
+#export DH_RUBY_IGNORE_TESTS=all
+#
+# Uncomment to ignore some test failures (but the tests will run anyway).
+# Valid values:
+#export DH_RUBY_IGNORE_TESTS=ruby1.8 ruby1.9.1 require-rubygems
+#
+# If you need to specify the .gemspec (eg there is more than one)
+#export DH_RUBY_GEMSPEC=gem.gemspec
+
+%:
+	dh $@ --buildsystem=ruby --with ruby
+
+override_dh_auto_clean:
+	dh_auto_clean
+	rm -rf doc
+
+override_dh_auto_build:
+	dh_auto_build
+	# build documentation
+	rdoc lib
+
+override_dh_auto_install:
+	dh_auto_install
+	# remove bundled jquery.js
+	rm -f debian/ruby-rinku-doc/usr/share/doc/ruby-rinku-doc/html/js/jquery.js
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/source/local-options b/debian/source/local-options
new file mode 100644
index 0000000..4aceb10
--- /dev/null
+++ b/debian/source/local-options
@@ -0,0 +1 @@
+unapply-patches
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..36dd4cb
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://githubredir.debian.net/github/vmg/rinku/ v(.*)\.tar\.gz

-- 
ruby-rinku.git



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