From: Elan Ruusamäe Date: Mon, 8 Dec 2014 21:04:06 +0000 (+0200) Subject: new, version 1.0.1 X-Git-Tag: auto/th/ruby-compass-core-1.0.1-1 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=74c9746ba2aea3f6edcef0cdd2312d281ed40b67;p=packages%2Fruby-compass-core.git new, version 1.0.1 created with gem2rpm --- 74c9746ba2aea3f6edcef0cdd2312d281ed40b67 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