# -*- ruby -*- # # Copyright (C) 2012-2014 Kouhei Sutou # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License along # with this program; if not, write to the Free Software Foundation, Inc., # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. base_dir = File.expand_path(File.dirname(__FILE__)) $LOAD_PATH.unshift(File.join(base_dir, "lib")) require "rabbiter/version" Gem::Specification.new do |spec| spec.name = "rabbiter" spec.version = Rabbiter::VERSION.dup spec.rubyforge_project = "rabbit" spec.homepage = "http://rabbit-shocker.org/en/rabbiter/" spec.authors = ["Kouhei Sutou"] spec.email = ["kou@cozmixng.org"] spec.summary = "Rabbiter is a twitter client for Rabbit" spec.description = "Rabbiter receives comments from twitter and sends them to Rabbit. " + "Rabbit shows them in your slides. " + "It is very useful when you talk on public event." spec.license = "GPLv2+" spec.files = ["Rakefile", "COPYING", "GPL", "README"] spec.files += ["Gemfile", "#{spec.name}.gemspec"] spec.files += Dir.glob("lib/**/*.rb") spec.files += Dir.glob("doc/**/*.*") spec.files += Dir.glob("po/*/#{spec.name}.po") spec.files += Dir.glob("locale/**/*.mo") Dir.chdir("bin") do spec.executables = Dir.glob("*") end spec.add_runtime_dependency("rabbit", ">= 2.0.0") spec.add_runtime_dependency("gio2", ">= 2.1.1") spec.add_runtime_dependency("twitter_oauth") spec.add_runtime_dependency("twitter") spec.add_development_dependency("rake") spec.add_development_dependency("bundler") spec.add_development_dependency("gettext") end