[DRE-commits] [SCM] libmecab-ruby packaging branch, master, updated. debian/0.98-4-5-ga855931
TANIGUCHI Takaki
takaki at asis.media-as.org
Tue May 17 03:58:17 UTC 2011
The following commit has been merged in the master branch:
commit d8a94c1343e25084cbaeeeb47e48e62adfbc73ce
Author: TANIGUCHI Takaki <takaki at asis.media-as.org>
Date: Tue May 17 12:04:04 2011 +0900
New Ruby Policy.
diff --git a/debian/control b/debian/control
index 3d31b18..029aee9 100644
--- a/debian/control
+++ b/debian/control
@@ -3,44 +3,46 @@ Section: ruby
Priority: optional
Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
Uploaders: TANIGUCHI Takaki <takaki at debian.org>
-Build-Depends: cdbs, debhelper (>= 7), libmecab-dev, ruby-pkg-tools,
- ruby1.8, ruby1.8-dev, ruby1.9.1, ruby1.9.1-dev
+Build-Depends: debhelper (>= 7), gem2deb,
+ libmecab-dev,
Standards-Version: 3.9.2
Homepage: http://sourceforge.net/projects/mecab/
+XS-Ruby-Versions: all
-Package: libmecab-ruby
-Architecture: all
-Depends: libmecab-ruby1.8, ${misc:Depends}
-Description: mecab binding for Ruby language (dependency package)
+Package: ruby-mecab
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends},
+Replace: libmecab-ruby (<< 0.98-5~), libmecab-ruby1.8 (<< 0.98-5~), libmecab-ruby1.9.1 (<< 0.98-5~)
+Conflicts: libmecab-ruby (<< 0.98-5~), libmecab-ruby1.8 (<< 0.98-5~), libmecab-ruby1.9.1 (<< 0.98-5~)
+Provides: libmecab-ruby, libmecab-ruby1.8, libmecab-ruby1.9.1
+Description: mecab binding for Ruby language
Mecab is a morphological analysis system. It reads Japanese
sentences from the standard input, segments them into morpheme
sequences, and outputs them to the standard output with many
additional pieces of information (pronunciation, semantic
information, etc).
- .
- This is a dependency package which depends on Debian's default Ruby version
- (currently 1.8.x).
+
+Package: libmecab-ruby
+Section: oldlibs
+Architecture: all
+Depends: ${misc:Depends}, ruby-mecab
+Description: Transitional package for ruby-mecab
+ This is a transitional package to ease upgrades to the ruby-mecab
+ package. It can safely be removed.
Package: libmecab-ruby1.8
-Architecture: any
-Depends: libruby1.8, ${shlibs:Depends}, ${misc:Depends}
-Description: mecab binding for Ruby language (version 1.8)
- Mecab is a morphological analysis system. It reads Japanese
- sentences from the standard input, segments them into morpheme
- sequences, and outputs them to the standard output with many
- additional pieces of information (pronunciation, semantic
- information, etc).
- .
- This package is built for Ruby 1.8.
+Section: oldlibs
+Architecture: all
+Depends: ${misc:Depends}, ruby-mecab
+Description: Transitional package for ruby-mecab
+ This is a transitional package to ease upgrades to the ruby-mecab
+ package. It can safely be removed.
Package: libmecab-ruby1.9.1
-Architecture: any
-Depends: libruby1.9.1, ${shlibs:Depends}, ${misc:Depends}
-Description: mecab binding for Ruby language (version 1.9.1)
- Mecab is a morphological analysis system. It reads Japanese
- sentences from the standard input, segments them into morpheme
- sequences, and outputs them to the standard output with many
- additional pieces of information (pronunciation, semantic
- information, etc).
- .
- This package is built for Ruby 1.9.1.
+Section: oldlibs
+Architecture: all
+Depends: ${misc:Depends}, ruby-mecab
+Description: Transitional package for ruby-mecab
+ This is a transitional package to ease upgrades to the ruby-mecab
+ package. It can safely be removed.
+
diff --git a/debian/rules b/debian/rules
index 885bdda..cd9e20d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,9 @@
#!/usr/bin/make -f
-include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/ruby-pkg-tools/1/class/ruby-extconf-rb.mk
+#include /usr/share/cdbs/1/rules/debhelper.mk
+#include /usr/share/ruby-pkg-tools/1/class/ruby-extconf-rb.mk
# Add here any variable or target overrides you need.
+
+%:
+ dh $@ --buildsystem ruby --with ruby
--
libmecab-ruby packaging
More information about the Pkg-ruby-extras-commits
mailing list