diff options
author | CoprDistGit <copr-devel@lists.fedorahosted.org> | 2021-09-16 02:02:09 +0000 |
---|---|---|
committer | CoprDistGit <copr-devel@lists.fedorahosted.org> | 2021-09-16 02:02:09 +0000 |
commit | f48cfd5d791c12ccd030735ea3882fe581cbc67c (patch) | |
tree | abf898a4d041ad78ac485b894f283d35b01bace9 | |
parent | 757cf44284479a17e65de730ad1e55750c50898b (diff) |
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | rubygem-supersaas-api-client.spec | 81 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 83 insertions, 0 deletions
@@ -0,0 +1 @@ +/supersaas-api-client-1.1.1.gem diff --git a/rubygem-supersaas-api-client.spec b/rubygem-supersaas-api-client.spec new file mode 100644 index 0000000..c9ff503 --- /dev/null +++ b/rubygem-supersaas-api-client.spec @@ -0,0 +1,81 @@ +# Generated from supersaas-api-client-1.1.1.gem by gem2rpm -*- rpm-spec -*- +%global gem_name supersaas-api-client + +Name: rubygem-%{gem_name} +Version: 1.1.1 +Release: 1%{?dist} +Summary: Online bookings/appointments/calendars using the SuperSaaS scheduling platform +License: MIT +URL: https://www.supersaas.com +Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem +BuildRequires: ruby(release) +BuildRequires: rubygems-devel +BuildRequires: ruby +# BuildRequires: rubygem(minitest) +BuildArch: noarch + +%description +Online appointment scheduler for any type of business. Flexible and affordable +booking software that can be integrated into any site. Free basic version. + + +%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}/ + + +mkdir -p %{buildroot}%{_bindir} +cp -a .%{_bindir}/* \ + %{buildroot}%{_bindir}/ + +find %{buildroot}%{gem_instdir}/bin -type f | xargs chmod a+x + +%check +pushd .%{gem_instdir} +# ruby -e 'Dir.glob "./test/**/*_test.rb", &method(:require)' +popd + +%files +%dir %{gem_instdir} +%{_bindir}/console +%{_bindir}/setup +%exclude %{gem_instdir}/.gitignore +%license %{gem_instdir}/LICENSE +%{gem_instdir}/bin +%{gem_libdir} +%exclude %{gem_cache} +%{gem_spec} + +%files doc +%doc %{gem_docdir} +%{gem_instdir}/Gemfile +%{gem_instdir}/Gemfile.lock +%doc %{gem_instdir}/README.md +%{gem_instdir}/Rakefile +%{gem_instdir}/examples +%{gem_instdir}/supersaas-api-client.gemspec +%{gem_instdir}/test + +%changelog +* Thu Sep 16 2021 mockbuilder - 1.1.1-1 +- Initial package @@ -0,0 +1 @@ +81d9bb8a40f4da6820c4a8013e115c74 supersaas-api-client-1.1.1.gem |