summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCoprDistGit <copr-devel@lists.fedorahosted.org>2022-04-18 17:36:49 +0000
committerCoprDistGit <copr-devel@lists.fedorahosted.org>2022-04-18 17:36:49 +0000
commitb5b29ec8d05c119670d6774c1e3259dee02b6a51 (patch)
treee8a715b4fe36b987eff373c151f6c1c5d50e0b7d
parente3eb3357fe751ce7d505e6caae194b99d97b8b42 (diff)
automatic import of rubygem-configuration_dslHEADmasterf36
-rw-r--r--.gitignore1
-rw-r--r--rubygem-configuration_dsl.spec73
-rw-r--r--sources1
3 files changed, 75 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..c154e1b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/configuration_dsl-0.2.0.gem
diff --git a/rubygem-configuration_dsl.spec b/rubygem-configuration_dsl.spec
new file mode 100644
index 0000000..3cd7a2b
--- /dev/null
+++ b/rubygem-configuration_dsl.spec
@@ -0,0 +1,73 @@
+# Generated from configuration_dsl-0.2.0.gem by gem2rpm -*- rpm-spec -*-
+%global gem_name configuration_dsl
+
+Name: rubygem-%{gem_name}
+Version: 0.2.0
+Release: 1%{?dist}
+Summary: Configure classes and objects using a DSL
+License: MIT
+URL: http://github.com/cjbottaro/configuration_dsl
+Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
+BuildRequires: ruby(release)
+BuildRequires: rubygems-devel
+BuildRequires: ruby
+# BuildRequires: rubygem(jeweler) >= 1.5.2
+# BuildRequires: rubygem(jeweler) < 1.6
+# BuildRequires: rubygem(rcov)
+BuildArch: noarch
+
+%description
+Easily configure a class (or object) with a DSL.
+
+
+%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}/LICENSE.txt
+%{gem_instdir}/VERSION
+%{gem_libdir}
+%exclude %{gem_cache}
+%{gem_spec}
+
+%files doc
+%doc %{gem_docdir}
+%doc %{gem_instdir}/.document
+%{gem_instdir}/Gemfile
+%{gem_instdir}/Gemfile.lock
+%doc %{gem_instdir}/README.rdoc
+%{gem_instdir}/Rakefile
+%{gem_instdir}/test
+
+%changelog
+* Mon Apr 18 2022 mockbuilder - 0.2.0-1
+- Initial package
diff --git a/sources b/sources
index e69de29..f858f10 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+f95f9b24071175a0f4457a5389058498 configuration_dsl-0.2.0.gem