├── .github └── workflows │ └── ci.yml ├── .gitignore ├── AUTHORS ├── Gemfile ├── LICENSE ├── README.md ├── Rakefile ├── bin └── gem2rpm ├── lib ├── gem2rpm.rb └── gem2rpm │ ├── configuration.rb │ ├── context.rb │ ├── distro.rb │ ├── gem │ ├── dependency.rb │ ├── format.rb │ ├── package.rb │ ├── spec_fetcher.rb │ └── specification.rb │ ├── helpers.rb │ ├── rpm_dependency.rb │ ├── rpm_dependency_list.rb │ ├── rpm_file.rb │ ├── rpm_file_list.rb │ ├── template.rb │ ├── template_helpers.rb │ └── test_suite.rb ├── templates ├── default.spec.erb ├── fedora-17-18.spec.erb ├── fedora-19-20.spec.erb ├── fedora-21-25-vagrant-plugin.spec.erb ├── fedora-21-25.spec.erb ├── fedora-26-vagrant-plugin.spec.erb ├── fedora-26.spec.erb ├── fedora-27-rawhide-vagrant-plugin.spec.erb ├── fedora-27-rawhide.spec.erb ├── fedora.spec.erb ├── opensuse.spec.erb └── pld.spec.erb └── test ├── artifacts ├── testing_gem │ ├── .travis.yml │ ├── Gemfile │ ├── README │ ├── Rakefile │ ├── exe │ │ └── testing_gem │ ├── ext │ │ └── testing_gem │ │ │ └── extconf.rb │ ├── lib │ │ └── testing_gem.rb │ ├── runtime │ │ └── foo.rb │ ├── test │ │ └── testing_gem.rb │ └── testing_gem.gemspec └── vagrant_plugin │ ├── AUTHORS │ ├── MIT │ ├── README │ ├── lib │ └── vagrant_plugin.rb │ ├── test │ └── vagrant_plugin.rb │ └── vagrant_plugin.gemspec ├── gem └── test_specification.rb ├── helper.rb ├── templates ├── fake_files │ ├── config-override.erb │ ├── default.spec.erb │ ├── fedora-13-14.spec.erb │ ├── fedora-17-rawhide.spec.erb │ ├── fedora-release15 │ ├── fedora-release17 │ ├── fedora.spec.erb │ ├── opensuse.spec.erb │ ├── os-release │ ├── pld.spec.erb │ └── quoted-os-release ├── test_config_override.rb ├── test_fedora.rb └── test_fedora_vagrant_plugin.rb ├── test_configuration.rb ├── test_distro.rb ├── test_gem2rpm.rb ├── test_helpers.rb ├── test_rpm_dependency.rb ├── test_rpm_dependency_list.rb ├── test_rpm_file.rb ├── test_rpm_file_list.rb ├── test_template.rb ├── test_template_helpers.rb └── test_test_suite.rb /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-ruby/gem2rpm/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .* 2 | *.gem 3 | -------------------------------------------------------------------------------- /AUTHORS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-ruby/gem2rpm/HEAD/AUTHORS -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-ruby/gem2rpm/HEAD/Gemfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-ruby/gem2rpm/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-ruby/gem2rpm/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-ruby/gem2rpm/HEAD/Rakefile -------------------------------------------------------------------------------- /bin/gem2rpm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-ruby/gem2rpm/HEAD/bin/gem2rpm -------------------------------------------------------------------------------- /lib/gem2rpm.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-ruby/gem2rpm/HEAD/lib/gem2rpm.rb -------------------------------------------------------------------------------- /lib/gem2rpm/configuration.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-ruby/gem2rpm/HEAD/lib/gem2rpm/configuration.rb -------------------------------------------------------------------------------- /lib/gem2rpm/context.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-ruby/gem2rpm/HEAD/lib/gem2rpm/context.rb -------------------------------------------------------------------------------- /lib/gem2rpm/distro.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-ruby/gem2rpm/HEAD/lib/gem2rpm/distro.rb -------------------------------------------------------------------------------- /lib/gem2rpm/gem/dependency.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-ruby/gem2rpm/HEAD/lib/gem2rpm/gem/dependency.rb -------------------------------------------------------------------------------- /lib/gem2rpm/gem/format.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-ruby/gem2rpm/HEAD/lib/gem2rpm/gem/format.rb -------------------------------------------------------------------------------- /lib/gem2rpm/gem/package.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-ruby/gem2rpm/HEAD/lib/gem2rpm/gem/package.rb -------------------------------------------------------------------------------- /lib/gem2rpm/gem/spec_fetcher.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-ruby/gem2rpm/HEAD/lib/gem2rpm/gem/spec_fetcher.rb -------------------------------------------------------------------------------- /lib/gem2rpm/gem/specification.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-ruby/gem2rpm/HEAD/lib/gem2rpm/gem/specification.rb -------------------------------------------------------------------------------- /lib/gem2rpm/helpers.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-ruby/gem2rpm/HEAD/lib/gem2rpm/helpers.rb -------------------------------------------------------------------------------- /lib/gem2rpm/rpm_dependency.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-ruby/gem2rpm/HEAD/lib/gem2rpm/rpm_dependency.rb -------------------------------------------------------------------------------- /lib/gem2rpm/rpm_dependency_list.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-ruby/gem2rpm/HEAD/lib/gem2rpm/rpm_dependency_list.rb -------------------------------------------------------------------------------- /lib/gem2rpm/rpm_file.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-ruby/gem2rpm/HEAD/lib/gem2rpm/rpm_file.rb -------------------------------------------------------------------------------- /lib/gem2rpm/rpm_file_list.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-ruby/gem2rpm/HEAD/lib/gem2rpm/rpm_file_list.rb -------------------------------------------------------------------------------- /lib/gem2rpm/template.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-ruby/gem2rpm/HEAD/lib/gem2rpm/template.rb -------------------------------------------------------------------------------- /lib/gem2rpm/template_helpers.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-ruby/gem2rpm/HEAD/lib/gem2rpm/template_helpers.rb -------------------------------------------------------------------------------- /lib/gem2rpm/test_suite.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-ruby/gem2rpm/HEAD/lib/gem2rpm/test_suite.rb -------------------------------------------------------------------------------- /templates/default.spec.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-ruby/gem2rpm/HEAD/templates/default.spec.erb -------------------------------------------------------------------------------- /templates/fedora-17-18.spec.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-ruby/gem2rpm/HEAD/templates/fedora-17-18.spec.erb -------------------------------------------------------------------------------- /templates/fedora-19-20.spec.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-ruby/gem2rpm/HEAD/templates/fedora-19-20.spec.erb -------------------------------------------------------------------------------- /templates/fedora-21-25-vagrant-plugin.spec.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-ruby/gem2rpm/HEAD/templates/fedora-21-25-vagrant-plugin.spec.erb -------------------------------------------------------------------------------- /templates/fedora-21-25.spec.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-ruby/gem2rpm/HEAD/templates/fedora-21-25.spec.erb -------------------------------------------------------------------------------- /templates/fedora-26-vagrant-plugin.spec.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-ruby/gem2rpm/HEAD/templates/fedora-26-vagrant-plugin.spec.erb -------------------------------------------------------------------------------- /templates/fedora-26.spec.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-ruby/gem2rpm/HEAD/templates/fedora-26.spec.erb -------------------------------------------------------------------------------- /templates/fedora-27-rawhide-vagrant-plugin.spec.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-ruby/gem2rpm/HEAD/templates/fedora-27-rawhide-vagrant-plugin.spec.erb -------------------------------------------------------------------------------- /templates/fedora-27-rawhide.spec.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-ruby/gem2rpm/HEAD/templates/fedora-27-rawhide.spec.erb -------------------------------------------------------------------------------- /templates/fedora.spec.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-ruby/gem2rpm/HEAD/templates/fedora.spec.erb -------------------------------------------------------------------------------- /templates/opensuse.spec.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-ruby/gem2rpm/HEAD/templates/opensuse.spec.erb -------------------------------------------------------------------------------- /templates/pld.spec.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-ruby/gem2rpm/HEAD/templates/pld.spec.erb -------------------------------------------------------------------------------- /test/artifacts/testing_gem/.travis.yml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/artifacts/testing_gem/Gemfile: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/artifacts/testing_gem/README: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-ruby/gem2rpm/HEAD/test/artifacts/testing_gem/README -------------------------------------------------------------------------------- /test/artifacts/testing_gem/Rakefile: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/artifacts/testing_gem/exe/testing_gem: -------------------------------------------------------------------------------- 1 | #!/usr/bin/ruby 2 | -------------------------------------------------------------------------------- /test/artifacts/testing_gem/ext/testing_gem/extconf.rb: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/artifacts/testing_gem/lib/testing_gem.rb: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/artifacts/testing_gem/runtime/foo.rb: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/artifacts/testing_gem/test/testing_gem.rb: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/artifacts/testing_gem/testing_gem.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-ruby/gem2rpm/HEAD/test/artifacts/testing_gem/testing_gem.gemspec -------------------------------------------------------------------------------- /test/artifacts/vagrant_plugin/AUTHORS: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/artifacts/vagrant_plugin/MIT: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/artifacts/vagrant_plugin/README: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-ruby/gem2rpm/HEAD/test/artifacts/vagrant_plugin/README -------------------------------------------------------------------------------- /test/artifacts/vagrant_plugin/lib/vagrant_plugin.rb: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/artifacts/vagrant_plugin/test/vagrant_plugin.rb: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/artifacts/vagrant_plugin/vagrant_plugin.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-ruby/gem2rpm/HEAD/test/artifacts/vagrant_plugin/vagrant_plugin.gemspec -------------------------------------------------------------------------------- /test/gem/test_specification.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-ruby/gem2rpm/HEAD/test/gem/test_specification.rb -------------------------------------------------------------------------------- /test/helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-ruby/gem2rpm/HEAD/test/helper.rb -------------------------------------------------------------------------------- /test/templates/fake_files/config-override.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-ruby/gem2rpm/HEAD/test/templates/fake_files/config-override.erb -------------------------------------------------------------------------------- /test/templates/fake_files/default.spec.erb: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/templates/fake_files/fedora-13-14.spec.erb: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/templates/fake_files/fedora-17-rawhide.spec.erb: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/templates/fake_files/fedora-release15: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-ruby/gem2rpm/HEAD/test/templates/fake_files/fedora-release15 -------------------------------------------------------------------------------- /test/templates/fake_files/fedora-release17: -------------------------------------------------------------------------------- 1 | foofoo 17 barbar 2 | -------------------------------------------------------------------------------- /test/templates/fake_files/fedora.spec.erb: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/templates/fake_files/opensuse.spec.erb: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/templates/fake_files/os-release: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-ruby/gem2rpm/HEAD/test/templates/fake_files/os-release -------------------------------------------------------------------------------- /test/templates/fake_files/pld.spec.erb: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/templates/fake_files/quoted-os-release: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-ruby/gem2rpm/HEAD/test/templates/fake_files/quoted-os-release -------------------------------------------------------------------------------- /test/templates/test_config_override.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-ruby/gem2rpm/HEAD/test/templates/test_config_override.rb -------------------------------------------------------------------------------- /test/templates/test_fedora.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-ruby/gem2rpm/HEAD/test/templates/test_fedora.rb -------------------------------------------------------------------------------- /test/templates/test_fedora_vagrant_plugin.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-ruby/gem2rpm/HEAD/test/templates/test_fedora_vagrant_plugin.rb -------------------------------------------------------------------------------- /test/test_configuration.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-ruby/gem2rpm/HEAD/test/test_configuration.rb -------------------------------------------------------------------------------- /test/test_distro.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-ruby/gem2rpm/HEAD/test/test_distro.rb -------------------------------------------------------------------------------- /test/test_gem2rpm.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-ruby/gem2rpm/HEAD/test/test_gem2rpm.rb -------------------------------------------------------------------------------- /test/test_helpers.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-ruby/gem2rpm/HEAD/test/test_helpers.rb -------------------------------------------------------------------------------- /test/test_rpm_dependency.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-ruby/gem2rpm/HEAD/test/test_rpm_dependency.rb -------------------------------------------------------------------------------- /test/test_rpm_dependency_list.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-ruby/gem2rpm/HEAD/test/test_rpm_dependency_list.rb -------------------------------------------------------------------------------- /test/test_rpm_file.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-ruby/gem2rpm/HEAD/test/test_rpm_file.rb -------------------------------------------------------------------------------- /test/test_rpm_file_list.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-ruby/gem2rpm/HEAD/test/test_rpm_file_list.rb -------------------------------------------------------------------------------- /test/test_template.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-ruby/gem2rpm/HEAD/test/test_template.rb -------------------------------------------------------------------------------- /test/test_template_helpers.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-ruby/gem2rpm/HEAD/test/test_template_helpers.rb -------------------------------------------------------------------------------- /test/test_test_suite.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fedora-ruby/gem2rpm/HEAD/test/test_test_suite.rb --------------------------------------------------------------------------------