summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCoprDistGit <copr-devel@lists.fedorahosted.org>2022-04-19 08:33:14 +0000
committerCoprDistGit <copr-devel@lists.fedorahosted.org>2022-04-19 08:33:14 +0000
commit3b5585621b417f342346d94df15b903565305e8d (patch)
tree6a3a592245dd6634f89f4112c7125db5300d823f
parent7d707553bf7bc68f748bfa7c1f428dec9407b39e (diff)
automatic import of rubygem-git_dossierHEADmasterf36
-rw-r--r--.gitignore1
-rw-r--r--rubygem-git_dossier.spec77
-rw-r--r--sources1
3 files changed, 79 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..dd3183f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/git_dossier-0.0.1.gem
diff --git a/rubygem-git_dossier.spec b/rubygem-git_dossier.spec
new file mode 100644
index 0000000..f22437d
--- /dev/null
+++ b/rubygem-git_dossier.spec
@@ -0,0 +1,77 @@
+# Generated from git_dossier-0.0.1.gem by gem2rpm -*- rpm-spec -*-
+%global gem_name git_dossier
+
+Name: rubygem-%{gem_name}
+Version: 0.0.1
+Release: 1%{?dist}
+Summary: A beautiful way to visualize your git repository
+License: MIT
+URL: http://ivanbozic.com/git-dossier/
+Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
+BuildRequires: ruby(release)
+BuildRequires: rubygems-devel
+BuildRequires: ruby
+BuildArch: noarch
+
+%description
+Git Dossier is a tool to generate static websites that visualize your git
+repository in a beautiful way.
+
+
+%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}
+# Run the test suite.
+popd
+
+%files
+%dir %{gem_instdir}
+%{_bindir}/git_dossier
+%exclude %{gem_instdir}/.gitignore
+%license %{gem_instdir}/LICENSE
+%{gem_instdir}/app
+%{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}/git_dossier.gemspec
+
+%changelog
+* Tue Apr 19 2022 mockbuilder - 0.0.1-1
+- Initial package
diff --git a/sources b/sources
index e69de29..aff0f90 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+cca8536921a9c7ffe2f331717c07ad96 git_dossier-0.0.1.gem