[rubygem-archivist] Initial import

Marek Mahut mmahut at fedoraproject.org
Wed Sep 14 12:43:40 UTC 2011


commit 411479634f09a935e4a11156dd25a957c1660416
Author: Marek Mahut <mmahut at redhat.com>
Date:   Wed Sep 14 14:42:58 2011 +0200

    Initial import

 .gitignore             |    1 +
 rubygem-archivist.spec |   61 ++++++++++++++++++++++++++++++++++++++++++++++++
 sources                |    1 +
 3 files changed, 63 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..c3526c7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/archivist-1.0.5.1.gem
diff --git a/rubygem-archivist.spec b/rubygem-archivist.spec
new file mode 100644
index 0000000..782ecc5
--- /dev/null
+++ b/rubygem-archivist.spec
@@ -0,0 +1,61 @@
+# Generated from archivist-1.0.5.1.gem by gem2rpm -*- rpm-spec -*-
+%global gemname archivist
+
+%global gemdir %(ruby -rubygems -e 'puts Gem::dir' 2>/dev/null)
+%global geminstdir %{gemdir}/gems/%{gemname}-%{version}
+%global rubyabi 1.8
+
+Summary: A rails 3 model archiving system based on acts_as_archive
+Name: rubygem-%{gemname}
+Version: 1.0.5.1
+Release: 2%{?dist}
+Group: Development/Languages
+License: MIT
+URL: http://github.com/tpickett66/archivist
+Source0: http://rubygems.org/gems/%{gemname}-%{version}.gem
+Requires: ruby(abi) = %{rubyabi}
+Requires: ruby(rubygems) 
+Requires: rubygem(activerecord) => 3.0.1
+Requires: rubygem(activerecord) < 3.1
+BuildRequires: ruby(abi) = %{rubyabi}
+BuildRequires: ruby(rubygems) 
+BuildArch: noarch
+Provides: rubygem(%{gemname}) = %{version}
+
+%description
+This is a functional replacement for acts_as_archive in
+rails 3 applications, the only functionality that is not
+duplicated is the migration from acts_as_paranoid
+
+
+%prep
+%setup -q -c -T
+mkdir -p .%{gemdir}
+gem install --local --install-dir .%{gemdir} \
+            -V --force %{SOURCE0}
+
+%build
+
+%install
+mkdir -p %{buildroot}%{gemdir}
+cp -a .%{gemdir}/* \
+        %{buildroot}%{gemdir}/
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%dir %{geminstdir}
+%{geminstdir}/lib
+%{geminstdir}/MIT-LICENSE
+%doc %{gemdir}/doc/%{gemname}-%{version}
+%doc %{geminstdir}/README.md
+%{gemdir}/cache/%{gemname}-%{version}.gem
+%{gemdir}/specifications/%{gemname}-%{version}.gemspec
+
+%changelog
+* Thu Sep 01 2011 Maros Zatko <mzatko at redhat.com> - 1.0.5.1-2
+- Added %doc, removed shoulda dep
+
+* Thu Sep 01 2011 Maros Zatko <mzatko at redhat.com> - 1.0.5.1-1
+- Initial package
diff --git a/sources b/sources
index e69de29..4f3ad2d 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+223f8447ff6156717af211a52653ef3f  archivist-1.0.5.1.gem


More information about the scm-commits mailing list