[rubygem-compass-rails] Initial import (#878243).

tdawson tdawson at fedoraproject.org
Fri Dec 21 18:20:15 UTC 2012


commit e8b0db55876bff074feb02e88cf4ce0052d2fbfa
Author: Troy Dawson <tdawson at redhat.com>
Date:   Fri Dec 21 12:20:12 2012 -0600

    Initial import (#878243).

 .gitignore                 |    1 +
 rubygem-compass-rails.spec |  100 ++++++++++++++++++++++++++++++++++++++++++++
 sources                    |    1 +
 3 files changed, 102 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..88beadb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/compass-rails-1.0.3.gem
diff --git a/rubygem-compass-rails.spec b/rubygem-compass-rails.spec
new file mode 100644
index 0000000..d50521e
--- /dev/null
+++ b/rubygem-compass-rails.spec
@@ -0,0 +1,100 @@
+%global gem_name compass-rails
+%global rubyabi 1.9.1
+
+Summary:       Integrate Compass into Rails 2.3 and up
+Name:          rubygem-%{gem_name}
+Version:       1.0.3
+Release:       3%{?dist}
+Group:         Development/Languages
+License:       MIT
+URL:           https://github.com/Compass/compass-rails
+Source0:       http://rubygems.org/gems/%{gem_name}-%{version}.gem
+Requires:      ruby(abi) = %{rubyabi}
+Requires:      rubygems
+Requires:      rubygem(compass) >= 0.12.2
+BuildRequires: ruby(abi) = %{rubyabi}
+BuildRequires: rubygems
+BuildRequires: rubygems-devel
+# For tests
+#BuildRequires: rubygem(test-unit)
+#BuildRequires: rubygem(compass) >= 0.12.2
+BuildArch:     noarch
+Provides:      rubygem(%{gem_name}) = %{version}
+
+%description
+Integrate Compass into Rails 2.3 and up.
+
+%package doc
+Summary: Documentation for %{name}
+Group: Documentation
+Requires: %{name} = %{version}-%{release}
+BuildArch: noarch
+
+%description doc
+Documentation for %{name}
+
+%prep
+gem unpack %{SOURCE0}
+%setup -q -D -T -n  %{gem_name}-%{version}
+gem spec %{SOURCE0} -l --ruby > %{gem_name}.gemspec
+
+%build
+mkdir -p ./%{gem_dir}
+
+gem build %{gem_name}.gemspec
+export CONFIGURE_ARGS="--with-cflags='%{optflags}'"
+gem install -V \
+        --local \
+        --install-dir ./%{gem_dir} \
+        --bindir ./%{_bindir} \
+        --force \
+        --rdoc \
+        %{gem_name}-%{version}.gem
+
+%install
+mkdir -p %{buildroot}%{gem_dir}
+cp -a ./%{gem_dir}/* %{buildroot}%{gem_dir}/
+
+# Cleanup stuff
+rm -f %{buildroot}%{gem_instdir}/.gitignore
+rm -f %{buildroot}%{gem_instdir}/.travis.yml
+rm -f %{buildroot}%{gem_instdir}/*.gemspec
+rm -rf %{buildroot}%{gem_instdir}/.yardoc
+find %{buildroot} -iname .gitkeep -exec rm -f {} \;
+chmod 0755 %{buildroot}%{gem_instdir}/Rakefile
+
+%check
+# Dont run tests until they get cleaned up, upstream
+#pushd ./%{gem_instdir}
+#testrb2 -Ilib test
+#popd
+
+%files
+%doc %{gem_instdir}/LICENSE
+%dir %{gem_instdir}
+%{gem_libdir}
+%exclude %{gem_cache}
+%{gem_spec}
+
+%files doc
+%doc %{gem_docdir}
+%doc %{gem_instdir}/README.md
+%{gem_instdir}/Rakefile
+%{gem_instdir}/test
+%{gem_instdir}/Appraisals
+%{gem_instdir}/Gemfile
+%{gem_instdir}/Guardfile
+%{gem_instdir}/gemfiles
+
+%changelog
+* Wed Dec 05 2012 Troy Dawson <tdawson at redhat.com> - 1.0.3-3
+- removed Requires: ruby
+- added gemfiles to doc
+- comment out tests until upstream cleans them up
+
+* Wed Dec 05 2012 Troy Dawson <tdawson at redhat.com> - 1.0.3-2
+- Fixup spec file
+- Added rubgem-compass for BuildRequires
+
+* Tue Sep 11 2012 Troy Dawson <tdawson at redhat.com> - 1.0.3-1
+- Initial package
diff --git a/sources b/sources
index e69de29..b07a9d2 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+b1c4cd0759ae9083f28b2ca0dc1b3c3d  compass-rails-1.0.3.gem


More information about the scm-commits mailing list