[packages/ruby-compass-core] new, version 1.0.1

glen glen at pld-linux.org
Mon Dec 8 22:04:34 CET 2014


commit 74c9746ba2aea3f6edcef0cdd2312d281ed40b67
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Mon Dec 8 23:04:06 2014 +0200

    new, version 1.0.1
    
    created with gem2rpm

 ruby-compass-core.spec | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 52 insertions(+)
---
diff --git a/ruby-compass-core.spec b/ruby-compass-core.spec
new file mode 100644
index 0000000..54e2df3
--- /dev/null
+++ b/ruby-compass-core.spec
@@ -0,0 +1,52 @@
+#
+# Conditional build:
+%bcond_with	tests		# build without tests
+
+%define	pkgname	compass-core
+Summary:	The Compass core stylesheet library
+Name:		ruby-%{pkgname}
+Version:	1.0.1
+Release:	1
+License:	MIT
+Group:		Development/Languages
+Source0:	http://rubygems.org/downloads/%{pkgname}-%{version}.gem
+# Source0-md5:	c6fdee615aafd1e6db66cf8e349bc95e
+URL:		http://compass-style.org/reference/compass/
+BuildRequires:	rpm-rubyprov
+BuildRequires:	rpmbuild(macros) >= 1.656
+%if %{with tests}
+BuildRequires:	ruby-rake
+%endif
+Requires:	ruby-multi_json < 2
+Requires:	ruby-multi_json >= 1.0
+Requires:	ruby-sass < 3.5
+Requires:	ruby-sass >= 3.3.0
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The Compass core stylesheet library and minimum required ruby
+extensions. This library can be used stand-alone without the compass
+ruby configuration file or compass command line tools.
+
+%prep
+%setup -q -n %{pkgname}-%{version}
+
+%build
+# write .gemspec
+%__gem_helper spec
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{ruby_vendorlibdir},%{ruby_specdir}}
+cp -a lib/* $RPM_BUILD_ROOT%{ruby_vendorlibdir}
+cp -p %{pkgname}-%{version}.gemspec $RPM_BUILD_ROOT%{ruby_specdir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%{ruby_vendorlibdir}/compass-core.rb
+%{ruby_vendorlibdir}/compass
+%{ruby_specdir}/%{pkgname}-%{version}.gemspec
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ruby-compass-core.git/commitdiff/74c9746ba2aea3f6edcef0cdd2312d281ed40b67



More information about the pld-cvs-commit mailing list