]> git.pld-linux.org Git - packages/ruby-compass-core.git/commitdiff
new, version 1.0.1 auto/th/ruby-compass-core-1.0.1-1
authorElan Ruusamäe <glen@delfi.ee>
Mon, 8 Dec 2014 21:04:06 +0000 (23:04 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Mon, 8 Dec 2014 21:04:06 +0000 (23:04 +0200)
created with gem2rpm

ruby-compass-core.spec [new file with mode: 0644]

diff --git a/ruby-compass-core.spec b/ruby-compass-core.spec
new file mode 100644 (file)
index 0000000..54e2df3
--- /dev/null
@@ -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
This page took 0.091581 seconds and 4 git commands to generate.