summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCoprDistGit <copr-devel@lists.fedorahosted.org>2021-08-25 20:47:07 +0000
committerCoprDistGit <copr-devel@lists.fedorahosted.org>2021-08-25 20:47:07 +0000
commit5f5b3af0f32f1d1fabf437dad1dc0693785e37c2 (patch)
treef7fd0846806646f188801ff261ed2d9de16c7959
parent0132769b571faece73d6db82f00f5b02d2c409ec (diff)
automatic import of rubygem-zoho_reportsHEADmaster
-rw-r--r--.gitignore1
-rw-r--r--rubygem-zoho_reports.spec75
-rw-r--r--sources1
3 files changed, 77 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..c3b8b23 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/zoho_reports-0.0.5.gem
diff --git a/rubygem-zoho_reports.spec b/rubygem-zoho_reports.spec
new file mode 100644
index 0000000..5f7e16f
--- /dev/null
+++ b/rubygem-zoho_reports.spec
@@ -0,0 +1,75 @@
+# Generated from zoho_reports-0.0.5.gem by gem2rpm -*- rpm-spec -*-
+%global gem_name zoho_reports
+
+Name: rubygem-%{gem_name}
+Version: 0.0.5
+Release: 1%{?dist}
+Summary: ["Wrapper for Zoho Reports API"]
+License: MIT
+Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
+BuildRequires: ruby(release)
+BuildRequires: rubygems-devel
+BuildRequires: ruby
+# BuildRequires: rubygem(rspec)
+# BuildRequires: rubygem(webmock)
+# BuildRequires: rubygem(rspec-rails)
+# BuildRequires: rubygem(spring)
+# BuildRequires: rubygem(sqlite3)
+BuildArch: noarch
+
+%description
+["Wraps the raw HTTP based API of Zoho Reports with easy to use methods for
+the ruby platform. This enables ruby and Rails developers to easily use Zoho
+Reports API."].
+
+
+%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
+%license %{gem_instdir}/LICENSE.txt
+%{gem_libdir}
+%exclude %{gem_cache}
+%{gem_spec}
+
+%files doc
+%doc %{gem_docdir}
+%{gem_instdir}/Gemfile
+%doc %{gem_instdir}/README.md
+%{gem_instdir}/Rakefile
+%{gem_instdir}/spec
+%{gem_instdir}/zoho_reports.gemspec
+
+%changelog
+* Wed Aug 25 2021 mockbuilder - 0.0.5-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..bac103c
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+03ac62ae8b1ab0f94b5451f22d1a19a7 zoho_reports-0.0.5.gem