tagoh pushed to rubygem-gettext_i18n_rails (el6). "Import"

notifications at fedoraproject.org notifications at fedoraproject.org
Mon Apr 13 03:27:39 UTC 2015


>From b871ed1ee8aef00847241b5ad37c9e3f8b84947e Mon Sep 17 00:00:00 2001
From: Akira TAGOH <tagoh at redhat.com>
Date: Mon, 13 Apr 2015 12:27:20 +0900
Subject: Import


diff --git a/.gitignore b/.gitignore
index e69de29..337795c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1,2 @@
+/gettext_i18n_rails-1.0.5-specs.tgz
+/gettext_i18n_rails-1.0.5.gem
diff --git a/rubygem-gettext_i18n_rails.spec b/rubygem-gettext_i18n_rails.spec
new file mode 100644
index 0000000..77f72d1
--- /dev/null
+++ b/rubygem-gettext_i18n_rails.spec
@@ -0,0 +1,133 @@
+%global gem_name gettext_i18n_rails
+
+
+Summary: Simple FastGettext Rails integration
+Name: rubygem-%{gem_name}
+Version: 1.0.5
+Release: 1%{?dist}
+Group: Development/Languages
+License: MIT
+URL: http://github.com/grosser/gettext_i18n_rails
+Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
+# git clone https://github.com/grosser/gettext_i18n_rails.git && cd gettext_i18n_rails && git checkout v1.0.5
+# tar czvf gettext_i18n_rails-1.0.5-specs.tgz spec
+Source1: %{gem_name}-%{version}-specs.tgz
+BuildRequires: rubygems-devel
+BuildRequires: rubygem(activerecord)
+BuildRequires: rubygem(actionmailer)
+BuildRequires: rubygem(gettext)
+BuildRequires: rubygem(fast_gettext)
+BuildRequires: rubygem(haml)
+BuildRequires: rubygem(rspec)
+BuildRequires: rubygem(railties)
+BuildRequires: rubygem(ruby_parser)
+BuildRequires: rubygem(slim)
+BuildRequires: rubygem(sqlite3)
+BuildRequires: rubygem(temple)
+BuildArch: noarch
+
+%description
+Translate via FastGettext, use any other I18n backend as extension/fallback.
+
+%package doc
+Summary: Documentation for %{name}
+Group: Documentation
+Requires: %{name} = %{version}-%{release}
+BuildArch: noarch
+
+%description doc
+Documentation for %{name}
+
+
+%prep
+%setup -q -c -T
+%gem_install -n %{SOURCE0}
+
+%build
+
+%install
+mkdir -p %{buildroot}%{gem_dir}
+cp -a .%{gem_dir}/* \
+        %{buildroot}%{gem_dir}/
+
+
+%check
+pushd .%{gem_instdir}
+tar xzf %{SOURCE1}
+
+# Ignore "GettextI18nRails::ModelAttributesFinder find returns all AR models"
+# test case failure.
+# https://github.com/grosser/gettext_i18n_rails/issues/98
+sed -i '/it "returns all AR models" do/a \      pending' spec/gettext_i18n_rails/model_attributes_finder_spec.rb
+
+# Require output_safety to prevent "undefined method
+# `translations_are_html_safe=' for GettextI18nRails:Module" test suite errors.
+# https://github.com/grosser/gettext_i18n_rails/issues/125
+rspec -ractive_support/core_ext/string/output_safety.rb -Ilib spec
+
+popd
+
+%files
+%doc %{gem_instdir}/MIT-LICENSE.txt
+%dir %{gem_instdir}
+%{gem_libdir}
+%exclude %{gem_cache}
+%{gem_spec}
+
+%files doc
+%doc %{gem_docdir}
+
+%changelog
+* Fri Jun 20 2014 Vít Ondruch <vondruch at redhat.com> - 1.0.5-1
+- Update to gettext_i18n_rails 1.0.5.
+
+* Sun Jun 08 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.10.1-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
+
+* Tue Aug 20 2013 Vít Ondruch <vondruch at redhat.com> - 0.10.1-1
+- Update to gettext_i18n_rails 0.10.1.
+
+* Sun Aug 04 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.9.4-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
+
+* Wed Apr 17 2013 Josef Stribny <jstribny at redhat.com> - 0.9.4-1
+- Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0
+- Updated to version 0.9.4.
+
+* Mon Feb 18 2013 Bohuslav Kabrda <bkabrda at redhat.com> - 0.9.2-1
+- Updated to version 0.9.2.
+
+* Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.7.1-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
+
+* Mon Nov 5 2012 Josef Stribny <jstribny at redhat.com> - 0.7.0-1
+- Update to version 0.7.1
+
+* Fri Jul 27 2012 Bohuslav Kabrda <bkabrda at redhat.com> - 0.6.6-1
+- Updated to version 0.6.6.
+
+* Sat Jul 21 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.4.0-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
+
+* Thu Feb 02 2012 Bohuslav Kabrda <bkabrda at redhat.com> - 0.4.0-2
+- Rebuilt for Ruby 1.9.3.
+
+* Wed Jan 04 2012 Bohuslav Kabrda <bkabrda at redhat.com> - 0.4.0-1
+- New version.
+- Modified Requires and BuildRequires according to new version.
+
+* Mon Jan 02 2012 Bohuslav Kabrda <bkabrda at redhat.com> - 0.3.6-1
+- Update to the latest version.
+- Changed license to Public Domain only.
+- Moved init.rb to doc subpackage, as it is not needed for runtime.
+- Fixed dependencies according to the gemspec in this version.
+
+* Wed Oct 26 2011 Bohuslav Kabrda <bkabrda at redhat.com> - 0.3.0-1
+- Upgraded to the latest version.
+- Removed the patch that fixed failing tests (fixed in new version).
+- Clarified the license.
+- Moved Readme.md to the main package, as it contains licensing information.
+- Moved VERSION to the main package and unmarked it as a doc, as it's needed for runtime.
+
+* Wed Sep 14 2011 Bohuslav Kabrda <bkabrda at redhat.com> - 0.2.20-1
+- Initial package
diff --git a/sources b/sources
index e69de29..59350b7 100644
--- a/sources
+++ b/sources
@@ -0,0 +1,2 @@
+474dca18f79b7c77aceb0baa51bfae27  gettext_i18n_rails-1.0.5-specs.tgz
+74086a2acddb33d2f2f26f6a91afe55a  gettext_i18n_rails-1.0.5.gem
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/rubygem-gettext_i18n_rails.git/commit/?h=el6&id=b871ed1ee8aef00847241b5ad37c9e3f8b84947e


More information about the scm-commits mailing list