summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCoprDistGit <copr-devel@lists.fedorahosted.org>2022-04-18 18:37:17 +0000
committerCoprDistGit <copr-devel@lists.fedorahosted.org>2022-04-18 18:37:17 +0000
commitbd63562f985b4630adcc87a9877c38c972804263 (patch)
tree95160f336dbab8af5b7e59db7e5b0d55b6fc18ca
parentd377b33323e1d2a6210eef51dbdea4d2213005b8 (diff)
automatic import of rubygem-contentsHEADmasterf36
-rw-r--r--.gitignore1
-rw-r--r--rubygem-contents.spec71
-rw-r--r--sources1
3 files changed, 73 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..454443f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/contents-0.0.1.gem
diff --git a/rubygem-contents.spec b/rubygem-contents.spec
new file mode 100644
index 0000000..bab82eb
--- /dev/null
+++ b/rubygem-contents.spec
@@ -0,0 +1,71 @@
+# Generated from contents-0.0.1.gem by gem2rpm -*- rpm-spec -*-
+%global gem_name contents
+
+Name: rubygem-%{gem_name}
+Version: 0.0.1
+Release: 1%{?dist}
+Summary: Rails statis pages with slugs, nestings and templates
+License: MIT
+URL: https://github.com/droptheplot/contents
+Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
+BuildRequires: ruby(release)
+BuildRequires: rubygems-devel
+BuildRequires: ruby
+# BuildRequires: rubygem(sqlite3)
+# BuildRequires: rubygem(rails_admin) >= 0.8.1
+# BuildRequires: rubygem(rails_admin) < 0.9
+BuildArch: noarch
+
+%description
+Rails statis pages with slugs, nestings and templates.
+
+
+%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}
+%exclude %{gem_cache}
+%{gem_spec}
+
+%files doc
+%doc %{gem_docdir}
+%doc %{gem_instdir}/README.md
+%{gem_instdir}/Rakefile
+
+%changelog
+* Mon Apr 18 2022 mockbuilder - 0.0.1-1
+- Initial package
diff --git a/sources b/sources
index e69de29..01c3690 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+10f1e581222b77275f6ebcd94d3219b5 contents-0.0.1.gem