public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rubygem-mini_mime] epel10: Initial commit.
@ 2026-11-20 23:41 Pavel Valena
0 siblings, 0 replies; only message in thread
From: Pavel Valena @ 2026-11-20 23:41 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rubygem-mini_mime
Branch : epel10
Commit : 35c03935df500f1491176afecd50b81dc067f2f1
Author : Pavel Valena <pvalena@redhat.com>
Date : 2018-05-16T18:24:56+02:00
Stats : +71/-3 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/rubygem-mini_mime/c/35c03935df500f1491176afecd50b81dc067f2f1?branch=epel10
Log:
Initial commit.
---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..4d18770
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/mini_mime-*.gem
diff --git a/README.md b/README.md
deleted file mode 100644
index 1782cec..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rubygem-mini_mime
-
-The rubygem-mini_mime package
\ No newline at end of file
diff --git a/rubygem-mini_mime.spec b/rubygem-mini_mime.spec
new file mode 100644
index 0000000..6b56744
--- /dev/null
+++ b/rubygem-mini_mime.spec
@@ -0,0 +1,69 @@
+# Generated from mini_mime-1.0.0.gem by gem2rpm -*- rpm-spec -*-
+%global gem_name mini_mime
+
+Name: rubygem-%{gem_name}
+Version: 1.0.0
+Release: 1%{?dist}
+Summary: A lightweight mime type lookup toy
+License: MIT
+URL: https://github.com/discourse/mini_mime
+Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
+BuildRequires: ruby(release)
+BuildRequires: rubygems-devel
+BuildRequires: ruby
+BuildRequires: rubygem(minitest)
+BuildArch: noarch
+
+%description
+Minimal mime type implementation for use with the mail and rest-client gem.
+
+
+%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
+gem build ../%{gem_name}-%{version}.gemspec
+%gem_install
+
+%install
+mkdir -p %{buildroot}%{gem_dir}
+cp -a .%{gem_dir}/* \
+ %{buildroot}%{gem_dir}/
+
+
+
+%check
+pushd .%{gem_instdir}
+ruby -e 'Dir.glob "./test/**/*_test.rb", &method(:require)'
+popd
+
+%files
+%dir %{gem_instdir}
+%exclude %{gem_instdir}/.*
+%license %{gem_instdir}/LICENSE.txt
+%{gem_instdir}/bench
+%{gem_instdir}/bin
+%{gem_libdir}
+%exclude %{gem_instdir}/%{gem_name}.gemspec
+%exclude %{gem_cache}
+%{gem_spec}
+
+%files doc
+%doc %{gem_docdir}
+%doc %{gem_instdir}/CODE_OF_CONDUCT.md
+%doc %{gem_instdir}/CHANGELOG
+%{gem_instdir}/Gemfile
+%doc %{gem_instdir}/README.md
+%{gem_instdir}/Rakefile
+
+%changelog
+* Mon May 14 2018 Pavel Valena <pvalena@redhat.com> - 1.0.0-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..6080f0b
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (mini_mime-1.0.0.gem) = acaaa19ff40b5ffb4c9972e9e1b64370ddc48394ab6e7f60022539d343b7191f526d538f01d7e4aef8de1be32ec3c4f95318914b50bc5829a175f6e6125a5cf3
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-20 23:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-20 23:41 [rpms/rubygem-mini_mime] epel10: Initial commit Pavel Valena
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox