[DRE-commits] [ruby-gemoji] 01/01: create dfsg1 package
Youhei SASAKI
uwabami-guest at moszumanska.debian.org
Tue Sep 8 15:29:22 UTC 2015
This is an automated email from the git hooks/post-receive script.
uwabami-guest pushed a commit to branch master
in repository ruby-gemoji.
commit 9e12c61b0a67cbc5fb62c30467fea9306bf4d545
Author: Youhei SASAKI <uwabami at gfd-dennou.org>
Date: Tue Sep 8 01:40:52 2015 +0900
create dfsg1 package
Signed-off-by: Youhei SASAKI <uwabami at gfd-dennou.org>
---
debian/README.source | 24 ++++++++++++++++++++
debian/changelog | 5 +++++
debian/compat | 1 +
debian/control | 35 ++++++++++++++++++++++++++++++
debian/copyright | 33 ++++++++++++++++++++++++++++
debian/patches/Modified_DB_and_IMAGES_PATH | 16 ++++++++++++++
debian/patches/series | 1 +
debian/ruby-gemoji.dirs | 1 +
debian/ruby-gemoji.docs | 1 +
debian/ruby-tests.rake | 5 +++++
debian/rules | 10 +++++++++
debian/source/format | 1 +
debian/watch | 3 +++
13 files changed, 136 insertions(+)
diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..7bdfe03
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1,24 @@
+Debian Package of gemoji
+------------------------
+
+All images provided by upstream[1] are removed because there are not DFSG-free.
+If you want to use these files, install "ruby-gemoji-image-installer".
+
+Removed files are as follows:
+ - images/{octocat,squirrel,shipit}.png
+ Copyright: 2013 GitHub Inc. All rights reserved.
+ - images/{bowtie,neckbeard,fu}.png
+ Copyright: 2013 37signals, LLC. All rights reserved.
+ - images/{feelsgood,finnadie,goberserk,godmode,hurtrealbad,rage1-4,suspect}.png
+ Copyright: 2013 id Software. All rights reserved.
+ - images/trollface.ong
+ Copyright (c) 2013 whynne at deviantart. All rights reserved.
+ - All other files under "images" directory
+ Copyright (c) 2013 Apple Inc. All rights reserved.
+
+Best wishes,
+Youhei
+
+[1] https://github.com/github/gemoji/
+
+ -- Youhei SASAKI <uwabami at gfd-dennou.org>, Tue, 8 Sep 2015 01:54:23 +0900
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..73d4a8c
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+ruby-gemoji (2.1.0+dfsg1-1) unstable; urgency=medium
+
+ * Initial release (Closes: #nnnn)
+
+ -- Youhei SASAKI <uwabami at gfd-dennou.org> Tue, 08 Sep 2015 01:41:49 +0900
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..c950f3f
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,35 @@
+Source: ruby-gemoji
+Section: ruby
+Priority: optional
+Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
+Uploaders: Youhei SASAKI <uwabami at gfd-dennou.org>
+Build-Depends: debhelper (>= 9~), gem2deb (>= 0.5.0~)
+Standards-Version: 3.9.6
+Homepage: https://github.com/github/gemoji
+Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-gemoji.git
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ruby-extras/ruby-gemoji.git;a=summary
+XS-Ruby-Versions: all
+Testsuite: autopkgtest-pkg-ruby
+
+Package: ruby-gemoji
+Architecture: all
+Depends: ${misc:Depends}
+XB-Ruby-Versions: ${ruby:Versions}
+Suggests: ruby-gemoji-image-installer
+Description: Ruby library handling Emoji
+ Gemoji provides easy handling "Emoji" - Picture Letters in Japanese
+ .
+ This package provides Ruby library only. If you want to use actual
+ images, install ruby-gemoji-installer.
+
+Package: ruby-gemoji-image-installer
+Architecture: all
+XB-Ruby-Versions: ${ruby:Versions}
+Enhances: ruby-gemoji
+Depends: ${misc:Depends}, wget
+Description: Emoji installer for ruby-gemoji
+ Github Inc. published ruby library handling Emoji as "gemoji".
+ But this library include non-free images.
+ .
+ This package provides installer of images for integration of
+ ruby-gemoji.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..2e0eb1d
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,33 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: gemoji
+Source: https://github.com/github/gemoji
+Comment: All images are removed (these are not DFSG-free) to create
+ the +dfsg version.
+Files-Excluded: images
+
+Files: *
+Copyright: 2013 GitHub, Inc.
+License: Expat
+
+Files: debian/*
+Copyright: 2015 Youhei SASAKI <uwabami at gfd-dennou.org>
+License: Expat
+
+License: Expat
+ Permission is hereby granted, free of charge, to any person obtaining a
+ copy of this software and associated documentation files (the "Software"),
+ to deal in the Software without restriction, including without limitation
+ the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ and/or sell copies of the Software, and to permit persons to whom the
+ Software is furnished to do so, subject to the following conditions:
+ .
+ The above copyright notice and this permission notice shall be included
+ in all copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+ OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/debian/patches/Modified_DB_and_IMAGES_PATH b/debian/patches/Modified_DB_and_IMAGES_PATH
new file mode 100644
index 0000000..d9c35a3
--- /dev/null
+++ b/debian/patches/Modified_DB_and_IMAGES_PATH
@@ -0,0 +1,16 @@
+--- a/lib/emoji.rb
++++ b/lib/emoji.rb
+@@ -5,11 +5,11 @@
+ extend self
+
+ def data_file
+- File.expand_path('../../db/emoji.json', __FILE__)
++ File.expand_path('../emoji/db/emoji.json', __FILE__)
+ end
+
+ def images_path
+- File.expand_path("../../images", __FILE__)
++ File.expand_path("../emoji/images", __FILE__)
+ end
+
+ def all
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..696917d
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+Modified_DB_and_IMAGES_PATH
diff --git a/debian/ruby-gemoji.dirs b/debian/ruby-gemoji.dirs
new file mode 100644
index 0000000..6330002
--- /dev/null
+++ b/debian/ruby-gemoji.dirs
@@ -0,0 +1 @@
+usr/lib/ruby/vendor_ruby/emoji/db
diff --git a/debian/ruby-gemoji.docs b/debian/ruby-gemoji.docs
new file mode 100644
index 0000000..b43bf86
--- /dev/null
+++ b/debian/ruby-gemoji.docs
@@ -0,0 +1 @@
+README.md
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
new file mode 100644
index 0000000..543dbd0
--- /dev/null
+++ b/debian/ruby-tests.rake
@@ -0,0 +1,5 @@
+require 'gem2deb/rake/testtask'
+Gem2Deb::Rake::TestTask.new do |t|
+ t.libs << "test"
+ t.test_files = FileList['test/emoji_test.rb', 'test/documentation_test.rb']
+end
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..ad95e17
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,10 @@
+#!/usr/bin/make -f
+
+%:
+ dh $@ --buildsystem ruby --with ruby
+
+override_dh_auto_install:
+ dh_installdirs
+ cp -r $(CURDIR)/db/* \
+ $(CURDIR)/debian/ruby-gemoji/usr/lib/ruby/vendor_ruby/emoji/db/
+ dh_auto_install
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/watch b/debian/watch
new file mode 100644
index 0000000..32985f7
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts="dversionmangle=s/\+dfsg//,filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/gemoji-$1\.tar\.gz/" \
+ https://github.com/github/gemoji/tags .*/v?(\d\S*)\.tar\.gz
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-gemoji.git
More information about the Pkg-ruby-extras-commits
mailing list