summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCoprDistGit <copr-devel@lists.fedorahosted.org>2021-09-14 09:41:10 +0000
committerCoprDistGit <copr-devel@lists.fedorahosted.org>2021-09-14 09:41:10 +0000
commitbcb179c17e17a4ed01c3ddf2119238ca891a9eb7 (patch)
treeefcd91fcbf02e4bbc1a424c87346fc9b447540b3
parent1f1706800fea8014d5d2a1b50c72f49098e872b3 (diff)
automatic import of rubygem-omniauth-intercomHEADmaster
-rw-r--r--.gitignore1
-rw-r--r--rubygem-omniauth-intercom.spec77
-rw-r--r--sources1
3 files changed, 79 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..6041eac 100644
--- a/.gitignore
+++ b/.gitignore
@@ -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
diff --git a/sources b/sources
index e69de29..c6a0b4b 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+612018c45433a4e5cb824945107a9a52 omniauth-intercom-0.1.9.gem