# -*- mode: ruby; coding: utf-8 -*- base_dir = File.dirname(__FILE__) $LOAD_PATH.unshift(File.join(base_dir, "lib")) require "gettext/version" Gem::Specification.new do |s| s.name = "gettext" s.version = GetText::VERSION s.summary = 'Gettext is a pure Ruby libary and tools to localize messages.' s.description = <<-EOD Gettext is a GNU gettext-like program for Ruby. The catalog file(po-file) is same format with GNU gettext. So you can use GNU gettext tools for maintaining. EOD s.authors = ["Kouhei Sutou", "Masao Mutoh"] s.email = ["kou@clear-code.com", "mutomasa at gmail.com"] s.homepage = "http://ruby-gettext.github.com/" s.rubyforge_project = "gettext" s.require_paths = ["lib"] Dir.chdir(base_dir) do s.files = Dir.glob("{locale,bin,data,doc/text,lib,po,samples,src,test}/**/*") s.files += ["README.rdoc", "Rakefile", "gettext.gemspec"] s.files += [".yardopts"] s.executables = Dir.chdir("bin") do Dir.glob("*") end s.test_files = Dir.glob("test/test_*.rb") end s.add_runtime_dependency("locale", ">= 2.0.5") s.add_runtime_dependency("text") s.add_development_dependency("rake") s.add_development_dependency("racc") s.add_development_dependency("yard") s.add_development_dependency("redcarpet") s.add_development_dependency("test-unit") s.add_development_dependency("test-unit-notify") s.add_development_dependency("test-unit-rr") s.license = "Ruby or LGPLv3+" end