File sassc.spec of Package sassc
# vim: set ts=4 sw=4 et:
#
# spec file for package sassc
#
# Copyright (c) 2018 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: sassc
Version: 3.5.0
%define libsass_version 3.5.4
Release: 0
Summary: Command Line for libsass
Source: sassc-%{version}.tar.xz
Source1: libsass-%{libsass_version}.tar.xz
License: MIT
Group: Development/Tools/Other
Url: https://github.com/sass/sassc
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: make autoconf automake libtool
BuildRequires: gcc-c++
%description
SassC is a wrapper around libsass.
%prep
%setup -q -a 1
%build
%__make %{?_smp_mflags} build-static SASS_LIBSASS_PATH="$PWD/libsass-%{libsass_version}"
%install
%__install -D -m0755 bin/sassc "%{buildroot}%{_bindir}/sassc"
%files
%defattr(-,root,root)
%doc LICENSE
%{_bindir}/sassc
%changelog