summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCoprDistGit <copr-devel@lists.fedorahosted.org>2021-08-22 21:05:43 +0000
committerCoprDistGit <copr-devel@lists.fedorahosted.org>2021-08-22 21:05:43 +0000
commit8a8880f491d2cd950228a7842282b10e786beaae (patch)
tree6c0b8e5a2c243b519ee489dea7a49bcc13a65147
parentd47625ad3d7588555bffbb7cd3952411ecb49f84 (diff)
automatic import of rubygem-activestorage-aliyun-ossepel7
-rw-r--r--.gitignore1
-rw-r--r--rubygem-activestorage-aliyun-oss.spec65
-rw-r--r--sources1
3 files changed, 67 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..0072699 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/activestorage-aliyun-oss-0.1.1.gem
diff --git a/rubygem-activestorage-aliyun-oss.spec b/rubygem-activestorage-aliyun-oss.spec
new file mode 100644
index 0000000..e5bee69
--- /dev/null
+++ b/rubygem-activestorage-aliyun-oss.spec
@@ -0,0 +1,65 @@
+# Generated from activestorage-aliyun-oss-0.1.1.gem by gem2rpm -*- rpm-spec -*-
+%global gem_name activestorage-aliyun-oss
+
+Name: rubygem-%{gem_name}
+Version: 0.1.1
+Release: 1%{?dist}
+Summary: Wraps the Aliyun OSS as an Active Storage service
+License: MIT
+URL: https://github.com/huacnlee/activestorage-aliyun
+Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
+BuildRequires: ruby(release)
+BuildRequires: rubygems-devel
+BuildRequires: ruby
+BuildArch: noarch
+
+%description
+Wraps the Aliyun OSS as an Active Storage service.
+
+
+%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}
+# Run the test suite.
+popd
+
+%files
+%dir %{gem_instdir}
+%{gem_libdir}
+%exclude %{gem_cache}
+%{gem_spec}
+
+%files doc
+%doc %{gem_docdir}
+%doc %{gem_instdir}/CHANGELOG.md
+%doc %{gem_instdir}/README.md
+%{gem_instdir}/Rakefile
+
+%changelog
+* Sun Aug 22 2021 mockbuilder - 0.1.1-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..4c13236
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+14ee60e75d0a9561e1c2603573774aba activestorage-aliyun-oss-0.1.1.gem