[DRE-commits] [SCM] ruby-mysql.git branch, master, updated. upstream/2.8.2-8-g1fd73d0
Antonio Terceiro
terceiro at debian.org
Sat Jun 30 11:54:32 UTC 2012
The following commit has been merged in the master branch:
commit db2bb2fdd8109bf1b974456b8d4cabce87c6d0eb
Author: Antonio Terceiro <terceiro at debian.org>
Date: Sat Jun 30 08:42:22 2012 -0300
Add gemspec
diff --git a/debian/changelog b/debian/changelog
index 5c888bc..8ebad65 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ ruby-mysql (2.8.2+gem2deb-2) unstable; urgency=low
* Team upload.
* Bump build dependency on gem2deb to >= 0.3.0~.
+ * Add gemspec extracted from rubygems.org
-- Antonio Terceiro <terceiro at debian.org> Sat, 30 Jun 2012 08:29:40 -0300
diff --git a/debian/mysql-2.8.2.gemspec b/debian/mysql-2.8.2.gemspec
new file mode 100644
index 0000000..c87f546
--- /dev/null
+++ b/debian/mysql-2.8.2.gemspec
@@ -0,0 +1,38 @@
+# -*- encoding: utf-8 -*-
+
+Gem::Specification.new do |s|
+ s.name = "mysql"
+ s.version = "2.8.2"
+
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
+ s.authors = ["TOMITA Masahiro"]
+ s.date = "2009-08-21"
+ s.description = "This is the MySQL API module for Ruby. It provides the same functions for Ruby\nprograms that the MySQL C API provides for C programs.\n\nThis is a conversion of tmtm's original extension into a proper RubyGems."
+ s.email = ["tommy at tmtm.org"]
+ s.extensions = ["ext/mysql_api/extconf.rb"]
+ s.extra_rdoc_files = ["History.txt", "Manifest.txt", "README.txt"]
+ s.files = ["COPYING", "COPYING.ja", "History.txt", "Manifest.txt", "README.txt", "Rakefile", "ext/mysql_api/extconf.rb", "ext/mysql_api/mysql.c", "extra/README.html", "extra/README_ja.html", "extra/tommy.css", "lib/mysql.rb", "tasks/gem.rake", "tasks/native.rake", "tasks/vendor_mysql.rake", "test/test_mysql.rb"]
+ s.homepage = "http://mysql-win.rubyforge.org"
+ s.rdoc_options = ["--main", "README.txt"]
+ s.require_paths = ["lib", "ext"]
+ s.required_ruby_version = Gem::Requirement.new(">= 1.8.6")
+ s.rubyforge_project = "mysql-win"
+ s.rubygems_version = "1.8.23"
+ s.summary = "This is the MySQL API module for Ruby"
+ s.test_files = ["test/test_mysql.rb"]
+
+ if s.respond_to? :specification_version then
+ s.specification_version = 3
+
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
+ s.add_development_dependency(%q<rake-compiler>, ["~> 0.5"])
+ s.add_development_dependency(%q<hoe>, [">= 2.3.3"])
+ else
+ s.add_dependency(%q<rake-compiler>, ["~> 0.5"])
+ s.add_dependency(%q<hoe>, [">= 2.3.3"])
+ end
+ else
+ s.add_dependency(%q<rake-compiler>, ["~> 0.5"])
+ s.add_dependency(%q<hoe>, [">= 2.3.3"])
+ end
+end
diff --git a/debian/rules b/debian/rules
index a5e7dc8..3b35bc1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,7 +9,7 @@
#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
+export DH_RUBY_GEMSPEC=debian/mysql-2.8.2.gemspec
%:
dh $@ --buildsystem=ruby --with ruby
--
ruby-mysql.git
More information about the Pkg-ruby-extras-commits
mailing list