Репозиторий Sisyphus
Последнее обновление: 24 октября 2021 | Пакетов: 17375 | Посещений: 22155226
en ru br
Репозитории ALT

Группа :: Работа с текстами
Пакет: sassc

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%define ver_major 3.6

%def_disable snapshot
%def_enable spec_snapshot
%def_enable check
# use corresponding 3.6.x version
%define testspec_version %ver_major.3

Name: sassc
Version: %ver_major.2
Release: alt1

Summary: Wrapper around libsass to compile CSS stylesheet
Group: Text tools
License: MIT
Url: http://github.com/sass/sassc

%if_disabled snapshot
Source: %url/archive/%version/%name-%version.tar.gz
%else
Vcs: https://github.com/sass/sassc.git
Source: %name-%version.tar
%endif

%if_disabled spec_snapshot
Source1: https://github.com/sass/sass-spec/archive/libsass-%testspec_version/sass-spec-libsass-%testspec_version.tar.gz
%else
Vcs: https://github.com/sass/sass-spec.git
Source1: sass-spec-%testspec_version.tar
%endif

BuildRequires: gcc-c++ libsass-devel >= %version
%{?_enable_check:BuildRequires: ruby-minitest gem-hrx}

%description
SassC is a wrapper around libsass used to generate a useful command-line
application that can be installed and packaged for several operating systems.

%prep
%setup -a 1
mv sass-spec-%{?_disable_spec_snapshot:libsass-}%testspec_version sass-spec
echo %version > VERSION

%build
%add_optflags %(getconf LFS_CFLAGS)
%autoreconf
%configure
%make_build

%install
%makeinstall_std

%check
ruby sass-spec/sass-spec.rb --impl libsass -c ./%name

%files
%_bindir/%name
%doc LICENSE Readme.md

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin