libsass/libsass.spec

87 lines
2.4 KiB
RPMSpec
Raw Normal View History

#
# spec file for package libsass
#
Accepting request 822450 from home:jayvdb:branches:devel:libraries:c_c++ - Update version to 3.6.4 * Fix parenthesization for selector schema and real parents * Add deprecation warning for global variable creation * Ensure correct output order of compound selectors * Handle loaded source code as shared objects * New custom memory allocator - disabled for now * Add back C-API getters for plugin paths * Fix abspath handling on windows without directory * Fix various edge case crashes * Fix segfault on directive ruleset * Fix heap-buffer-overflow in lexer * Fix stack-overflow in parser * Fix memory leak in parser * Fix memory leak in evaluation * Fix memory handling edge case * Fix some null pointer access crashes * Preparations for ongoing refactoring - from v3.6.3 * Fix compound extend warning * Fix extend being stuck in endless loop * Fix various edge-case segfault crashes * Extend error_src lifetime on c-api context * Fix memory leak in permutation function * Preserve indentation in nested mode - from v3.6.2 * Improve pseudo selector handling * Code improvements * Fix various functions arguments * Fix "call" for $function * Check weight argument on invert call * Improve makefile to use dylib extension on MacOS * Fix bug in scale-color with positive saturation * Minor API documentation improvements * Fix selector isInvisible logic * Fix evaluation of unary expressions in loops * Fix attribute selector equality with modifiers OBS-URL: https://build.opensuse.org/request/show/822450 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libsass?expand=0&rev=26
2020-08-05 14:43:29 +02:00
# Copyright (c) 2020 SUSE LINUX 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 https://bugs.opensuse.org/
#
Accepting request 822450 from home:jayvdb:branches:devel:libraries:c_c++ - Update version to 3.6.4 * Fix parenthesization for selector schema and real parents * Add deprecation warning for global variable creation * Ensure correct output order of compound selectors * Handle loaded source code as shared objects * New custom memory allocator - disabled for now * Add back C-API getters for plugin paths * Fix abspath handling on windows without directory * Fix various edge case crashes * Fix segfault on directive ruleset * Fix heap-buffer-overflow in lexer * Fix stack-overflow in parser * Fix memory leak in parser * Fix memory leak in evaluation * Fix memory handling edge case * Fix some null pointer access crashes * Preparations for ongoing refactoring - from v3.6.3 * Fix compound extend warning * Fix extend being stuck in endless loop * Fix various edge-case segfault crashes * Extend error_src lifetime on c-api context * Fix memory leak in permutation function * Preserve indentation in nested mode - from v3.6.2 * Improve pseudo selector handling * Code improvements * Fix various functions arguments * Fix "call" for $function * Check weight argument on invert call * Improve makefile to use dylib extension on MacOS * Fix bug in scale-color with positive saturation * Minor API documentation improvements * Fix selector isInvisible logic * Fix evaluation of unary expressions in loops * Fix attribute selector equality with modifiers OBS-URL: https://build.opensuse.org/request/show/822450 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libsass?expand=0&rev=26
2020-08-05 14:43:29 +02:00
%define libname libsass-3_6_4-1
Name: libsass
Accepting request 822450 from home:jayvdb:branches:devel:libraries:c_c++ - Update version to 3.6.4 * Fix parenthesization for selector schema and real parents * Add deprecation warning for global variable creation * Ensure correct output order of compound selectors * Handle loaded source code as shared objects * New custom memory allocator - disabled for now * Add back C-API getters for plugin paths * Fix abspath handling on windows without directory * Fix various edge case crashes * Fix segfault on directive ruleset * Fix heap-buffer-overflow in lexer * Fix stack-overflow in parser * Fix memory leak in parser * Fix memory leak in evaluation * Fix memory handling edge case * Fix some null pointer access crashes * Preparations for ongoing refactoring - from v3.6.3 * Fix compound extend warning * Fix extend being stuck in endless loop * Fix various edge-case segfault crashes * Extend error_src lifetime on c-api context * Fix memory leak in permutation function * Preserve indentation in nested mode - from v3.6.2 * Improve pseudo selector handling * Code improvements * Fix various functions arguments * Fix "call" for $function * Check weight argument on invert call * Improve makefile to use dylib extension on MacOS * Fix bug in scale-color with positive saturation * Minor API documentation improvements * Fix selector isInvisible logic * Fix evaluation of unary expressions in loops * Fix attribute selector equality with modifiers OBS-URL: https://build.opensuse.org/request/show/822450 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libsass?expand=0&rev=26
2020-08-05 14:43:29 +02:00
Version: 3.6.4
Release: 0
Summary: Compiler library for A CSS preprocessor language
License: MIT
Group: Development/Libraries/C and C++
Url: https://github.com/sass/libsass
Source: https://github.com/sass/libsass/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
Patch1: libsass-am.diff
Patch2: libsass-vers.diff
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: gcc-c++
BuildRequires: libtool
BuildRequires: pkgconfig
%description
Sass is a CSS pre-processor language to add new features to CSS.
LibSass is a C/C++ port of the Sass CSS precompiler.
%package -n %{libname}
Summary: Compiler library for A CSS preprocessor language
Group: System/Libraries
%description -n %{libname}
This package provides the shared library object for libsass.
%package devel
Summary: Development files for libsass, a library for a CSS preprocessor language
Group: Development/Libraries/C and C++
Requires: %{libname} = %{version}
%description devel
This package provides development header files for libsass.
%prep
%setup -q
%patch -P 1 -P 2 -p1
%build
if [ ! -f VERSION ]; then
echo "%{version}" >VERSION
fi
autoreconf -fi
%configure --disable-static
make %{?_smp_mflags}
%check
make check %{?_smp_mflags}
%install
%make_install
find %{buildroot} -type f -name "*.la" -delete -print
%post -n %{libname} -p /sbin/ldconfig
%postun -n %{libname} -p /sbin/ldconfig
%files -n %{libname}
%license LICENSE
%{_libdir}/libsass*.so.*
%files devel
%{_includedir}/sass*
%{_libdir}/pkgconfig/libsass.pc
%{_libdir}/libsass*.so
%changelog