diff options
author | CoprDistGit <copr-devel@lists.fedorahosted.org> | 2021-09-14 09:41:10 +0000 |
---|---|---|
committer | CoprDistGit <copr-devel@lists.fedorahosted.org> | 2021-09-14 09:41:10 +0000 |
commit | bcb179c17e17a4ed01c3ddf2119238ca891a9eb7 (patch) | |
tree | efcd91fcbf02e4bbc1a424c87346fc9b447540b3 | |
parent | 1f1706800fea8014d5d2a1b50c72f49098e872b3 (diff) |
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | rubygem-omniauth-intercom.spec | 77 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 79 insertions, 0 deletions
@@ -0,0 +1 @@ +/omniauth-intercom-0.1.9.gem diff --git a/rubygem-omniauth-intercom.spec b/rubygem-omniauth-intercom.spec new file mode 100644 index 0000000..22eac1b --- /dev/null +++ b/rubygem-omniauth-intercom.spec @@ -0,0 +1,77 @@ +# Generated from omniauth-intercom-0.1.9.gem by gem2rpm -*- rpm-spec -*- +%global gem_name omniauth-intercom + +Name: rubygem-%{gem_name} +Version: 0.1.9 +Release: 1%{?dist} +Summary: Intercom OAuth2 Strategy for OmniAuth +License: MIT +URL: https://github.com/intercom/omniauth-intercom +Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem +BuildRequires: ruby(release) +BuildRequires: rubygems-devel +BuildRequires: ruby +# BuildRequires: rubygem(rspec) >= 3.0 +# BuildRequires: rubygem(rspec) < 4 +# BuildRequires: rubygem(rack) >= 1.6 +# BuildRequires: rubygem(rack) < 2 +BuildArch: noarch + +%description +Intercom OAuth2 Strategy for OmniAuth. + + +%package doc +Summary: Documentation for %{name} +Requires: %{name} = %{version}-%{release} +BuildArch: noarch + +%description doc +Documentation for %{name}. + +%prep +%setup -q -n %{gem_name}-%{version} + +%build +# Create the gem as gem install only works on a gem file +gem build ../%{gem_name}-%{version}.gemspec + +# %%gem_install compiles any C extensions and installs the gem into ./%%gem_dir +# by default, so that we can move it into the buildroot in %%install +%gem_install + +%install +mkdir -p %{buildroot}%{gem_dir} +cp -a .%{gem_dir}/* \ + %{buildroot}%{gem_dir}/ + + + +%check +pushd .%{gem_instdir} +# rspec spec +popd + +%files +%dir %{gem_instdir} +%exclude %{gem_instdir}/.gitignore +%exclude %{gem_instdir}/.travis.yml +%license %{gem_instdir}/LICENSE.txt +%{gem_instdir}/RELEASING.md +%{gem_instdir}/bin +%{gem_libdir} +%exclude %{gem_cache} +%{gem_spec} + +%files doc +%doc %{gem_docdir} +%exclude %{gem_instdir}/.rspec +%doc %{gem_instdir}/CHANGELOG.md +%{gem_instdir}/Gemfile +%doc %{gem_instdir}/README.md +%{gem_instdir}/Rakefile +%{gem_instdir}/omniauth-intercom.gemspec + +%changelog +* Tue Sep 14 2021 mockbuilder - 0.1.9-1 +- Initial package @@ -0,0 +1 @@ +612018c45433a4e5cb824945107a9a52 omniauth-intercom-0.1.9.gem |