diff options
author | CoprDistGit <copr-devel@lists.fedorahosted.org> | 2022-04-19 13:33:38 +0000 |
---|---|---|
committer | CoprDistGit <copr-devel@lists.fedorahosted.org> | 2022-04-19 13:33:38 +0000 |
commit | b328c80582b92532616e979d4a79b410367104f0 (patch) | |
tree | 3299dda572be5523303ff4f523f4cc3c486fb411 | |
parent | 19612e2be011fb18f4d1b46ce1b9579fa80cb7ae (diff) |
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | rubygem-missing_text.spec | 81 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 83 insertions, 0 deletions
@@ -0,0 +1 @@ +/missing_text-1.0.2.gem diff --git a/rubygem-missing_text.spec b/rubygem-missing_text.spec new file mode 100644 index 0000000..c5ffa76 --- /dev/null +++ b/rubygem-missing_text.spec @@ -0,0 +1,81 @@ +# Generated from missing_text-1.0.2.gem by gem2rpm -*- rpm-spec -*- +%global gem_name missing_text + +Name: rubygem-%{gem_name} +Version: 1.0.2 +Release: 1%{?dist} +Summary: Detects translations missing in your applications' locale files +License: MIT +URL: https://github.com/ChrisSandison/missing_text +Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem +BuildRequires: ruby(release) +BuildRequires: rubygems-devel +BuildRequires: ruby +# BuildRequires: rubygem(sqlite3) +# BuildRequires: rubygem(pry-nav) +# BuildRequires: rubygem(rspec-rails) +# BuildRequires: rubygem(capybara) +# BuildRequires: rubygem(factory_girl_rails) +# BuildRequires: rubygem(better_errors) +# BuildRequires: rubygem(awesome_print) +# BuildRequires: rubygem(html2haml) +# BuildRequires: rubygem(faker) +# BuildRequires: rubygem(binding_of_caller) +BuildArch: noarch + +%description +MissingText is a rails engine for detecting missing translations from your +locale files. The web interface allows full visiblity of missing translations +by file, allowing you to revisit and clear sessions. Please see github for +full installation and use instructions. + + +%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} +%{gem_instdir}/Rakefile +%{gem_instdir}/spec + +%changelog +* Tue Apr 19 2022 mockbuilder - 1.0.2-1 +- Initial package @@ -0,0 +1 @@ +62b00265d720e1344fdff117874d5cb4 missing_text-1.0.2.gem |