class LibnetcfRuby < FPM::Cookery::Recipe
  description 'Ruby bindings for NetCF including dependencies'

  name     'libnetcf-ruby'
  version  '0.0.2'
  revision '1'

  homepage 'https://github.com/raphink/netcf-ruby'
  license  'Apache'

  depends 'rubygem-nokogiri'
  build_depends 'rubygem-bundler', 'ruby-devel', 'netcf-devel', 'rpm-build'

  source 'http://github.com/norcams/netcf-ruby',
    :with => 'git',
    :tag => "#{version}-norcams"

  def build
    safesystem 'gem build ruby-netcf.gemspec'
  end

  def install
    safesystem "gem install --ignore-dependencies --no-rdoc --no-ri --bindir #{destdir}/usr/local/bin --install-dir=#{destdir}/usr/local/share/gems equivalent-xml --version 0.5.1"
    safesystem "gem install --ignore-dependencies --no-rdoc --no-ri --bindir #{destdir}/usr/local/bin --install-dir=#{destdir}/usr/local/share/gems ruby-netcf-#{version}.gem"
  end
end


class LibnetcfRuby < FPM::Cookery::Recipe
  description 'Ruby bindings for NetCF including dependencies'

  name     'libnetcf-ruby'
  version  '0.0.2'
  revision '1'

  homepage 'https://github.com/raphink/netcf-ruby'
  license  'Apache'

  depends 'rubygem-nokogiri'
  build_depends 'rubygem-bundler', 'ruby-devel', 'netcf-devel', 'rpm-build'

  source 'http://github.com/norcams/netcf-ruby',
    :with => 'git',
    :tag => "#{version}-norcams1"

  def build
    safesystem 'gem build ruby-netcf.gemspec'
  end

  def install
    safesystem "gem install --ignore-dependencies --no-rdoc --no-ri --bindir #{destdir}/usr/local/bin --install-dir=#{destdir}/usr/local/share/gems equivalent-xml --version 0.5.1"
    safesystem "gem install --ignore-dependencies --no-rdoc --no-ri --bindir #{destdir}/usr/local/bin --install-dir=#{destdir}/usr/local/share/gems ruby-netcf-#{version}.gem"
  end
end


Move tag to get new Gemfile
Move tag to get new Gemfile
