Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37539349
en ru br
ALT Linux repos
S:3.6.5-alt1

Group :: System/Libraries
RPM: libsass

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%def_enable snapshot

# https://github.com/sass/sass-spec.git requires for tests

%define sass_spec_ver 3.6.0
%def_disable check

Name: libsass
Version: 3.6.5
Release: alt1

Summary: A C/C++ implementation of a Sass compiler
License: MIT
Group: System/Libraries
Url: http://libsass.org/

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

BuildRequires(pre): gcc-c++

%description
Libsass is a C/C++ port of the Sass CSS precompiler. The original
version was written in Ruby, but this version is meant for efficiency
and portability.

This library strives to be light, simple, and easy to build and
integrate with a variety of platforms and languages.

%package devel
Summary: Development files of Sass compiler
Group: Development/C++
Requires: %name = %EVR

%description devel
Libsass is a C/C++ port of the Sass CSS precompiler. The original
version was written in Ruby, but this version is meant for efficiency
and portability.

This package contains development files of Sass compiler.

%prep
%setup

%build
export LIBSASS_VERSION=%version
%add_optflags %(getconf LFS_CFLAGS)
%autoreconf
%configure --enable-static=no
%make_build

%install
%makeinstall_std

%check
%make check

%files
%doc *.md
%_libdir/*.so.*

%files devel
%_includedir/*
%_libdir/*.so
%_pkgconfigdir/*

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin