summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCoprDistGit <copr-devel@lists.fedorahosted.org>2021-09-13 15:57:14 +0000
committerCoprDistGit <copr-devel@lists.fedorahosted.org>2021-09-13 15:57:14 +0000
commit9e1dc2e3cf048d75952bc16e9faebd25a56c58a5 (patch)
tree6be4b116511d40b55447840f4e705806ca8bbb8f
parent8830854610d08788c89f79ace37302c1750a4055 (diff)
automatic import of rubygem-hackathon_managerHEADmaster
-rw-r--r--.gitignore1
-rw-r--r--rubygem-hackathon_manager.spec70
-rw-r--r--sources1
3 files changed, 72 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..cd00100 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/hackathon_manager-0.14.1.gem
diff --git a/rubygem-hackathon_manager.spec b/rubygem-hackathon_manager.spec
new file mode 100644
index 0000000..226ee9d
--- /dev/null
+++ b/rubygem-hackathon_manager.spec
@@ -0,0 +1,70 @@
+# Generated from hackathon_manager-0.14.1.gem by gem2rpm -*- rpm-spec -*-
+%global gem_name hackathon_manager
+
+Name: rubygem-%{gem_name}
+Version: 0.14.1
+Release: 1%{?dist}
+Summary: Full-featured application for managing hackathon logistics
+License: MIT
+URL: https://github.com/sman591/hackathon_manager
+Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
+BuildRequires: ruby(release)
+BuildRequires: rubygems-devel
+BuildRequires: ruby
+BuildArch: noarch
+
+%description
+Full-featured application for managing hackathon logistics.
+
+
+%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}
+%license %{gem_instdir}/MIT-LICENSE
+%{gem_instdir}/app
+%{gem_instdir}/config
+%{gem_instdir}/db
+%{gem_libdir}
+%{gem_instdir}/public
+%exclude %{gem_cache}
+%{gem_spec}
+
+%files doc
+%doc %{gem_docdir}
+%doc %{gem_instdir}/README.md
+%{gem_instdir}/Rakefile
+%{gem_instdir}/test
+
+%changelog
+* Mon Sep 13 2021 mockbuilder - 0.14.1-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..5362458
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+1b45c99a96c078cc6a163347217f806f hackathon_manager-0.14.1.gem