[rubygem-audited] Initial import (#881016).

Vít Ondruch vondruch at fedoraproject.org
Fri Nov 30 15:02:37 UTC 2012


commit 04e03afd91162dfe7b2ef8396a9829ec5bff7039
Author: Vít Ondruch <vondruch at redhat.com>
Date:   Fri Nov 30 16:01:57 2012 +0100

    Initial import (#881016).

 .gitignore           |    1 +
 rubygem-audited.spec |   83 ++++++++++++++++++++++++++++++++++++++++++++++++++
 sources              |    1 +
 3 files changed, 85 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..717a708 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/audited-3.0.0.gem
diff --git a/rubygem-audited.spec b/rubygem-audited.spec
new file mode 100644
index 0000000..39b5aad
--- /dev/null
+++ b/rubygem-audited.spec
@@ -0,0 +1,83 @@
+# Generated from audited-3.0.0.gem by gem2rpm -*- rpm-spec -*-
+%global gem_name audited
+%global rubyabi 1.9.1
+
+Summary: Log all changes to your models
+Name: rubygem-%{gem_name}
+Version: 3.0.0
+Release: 1%{?dist}
+Group: Development/Languages
+License: MIT
+URL: https://github.com/collectiveidea/audited
+Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
+Requires: ruby(abi) = %{rubyabi}
+Requires: ruby(rubygems)
+BuildRequires: ruby(abi) = %{rubyabi}
+BuildRequires: rubygems-devel
+BuildRequires: ruby
+BuildArch: noarch
+Provides: rubygem(%{gem_name}) = %{version}
+
+%description
+Log all changes to your models
+
+
+%package doc
+Summary: Documentation for %{name}
+Group: Documentation
+Requires: %{name} = %{version}-%{release}
+BuildArch: noarch
+
+%description doc
+Documentation for %{name}
+
+%prep
+%setup -q -c -T
+mkdir -p .%{gem_dir}
+gem install --local --install-dir .%{gem_dir} \
+            --force %{SOURCE0}
+
+%build
+
+%install
+mkdir -p %{buildroot}%{gem_dir}
+cp -pa .%{gem_dir}/* \
+        %{buildroot}%{gem_dir}/
+
+# Remove shebang from Rakefile that do not have executable permission.
+sed -i '/^#!\//d' %{buildroot}%{gem_instdir}/Rakefile
+
+
+%check
+# Unfortunatelly, there doesn't seems to be any test coverage of auditable gem.
+# However, there are available test suites for audited's ORM adapters.
+
+
+%files
+%dir %{gem_instdir}
+%{gem_libdir}
+%doc %{gem_instdir}/LICENSE
+%exclude %{gem_instdir}/.*
+# audited-*.gemspec seems to be included by mistake.
+# https://github.com/collectiveidea/audited/pull/124
+%exclude %{gem_instdir}/audited-*.gemspec
+# Seems that spec and test folders are included just by mistake.
+# https://github.com/collectiveidea/audited/pull/125
+%exclude %{gem_instdir}/spec
+%exclude %{gem_instdir}/test
+%exclude %{gem_cache}
+%{gem_spec}
+
+%files doc
+%doc %{gem_docdir}
+%{gem_instdir}/Appraisals
+%doc %{gem_instdir}/CHANGELOG
+%{gem_instdir}/Gemfile
+%doc %{gem_instdir}/README.md
+%{gem_instdir}/Rakefile
+%{gem_instdir}/audited.gemspec
+%{gem_instdir}/gemfiles
+
+%changelog
+* Tue Nov 27 2012 Vít Ondruch <vondruch at redhat.com> - 3.0.0-1
+- Initial package
diff --git a/sources b/sources
index e69de29..b4b199e 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+d39c6efb6aec2dc9054b352f318075f2  audited-3.0.0.gem


More information about the scm-commits mailing list