libsass/libsass.spec
Adam Majer d5a01e582d Accepting request 587907 from home:z1trus:branches:devel:libraries:c_c++
- Update version to 3.5.1:
  Community:
  * Add sass.cr to implementations list (@straight-shoota, #2574)
  Fixes:
  * Fix compiler warnings (@mgreter, #2575)
  * Fix double free when run in concurrent processes (@mgreter, #2579)
  * Fix units sometimes being dropped in math operations (@mgreter, #2582)
  * Fix missing error for mixins defined within mixins (@mgreter, #2558)
- Includes changes from 3.5.0:
  Features:
  * Implement trailing commas in parameters and arguments (#2070, @xzyfer)
  * Implement deprecation warning for ID strings that look like colors (#2302, @xzyfer)
  * Implement content-exists function (#2266, @xzyfer)
  * Implement support for passing var() to CSS functions (#2244, @xzyfer)
  * Implement first class functions (#2277 #2275, @xzyfer)
  * Implement nesting guard to avoid "out of stack space" (#2438, @mgreter)
  * Implement exponents for numbers (#2465, @mgreter)
  * Implement long file path support for Windows (#2477, @mgreter)
  * Implement case modifier for attribute selector (#2509, @mgreter)
  * Implement warning for double parent selectors (#2522, @mgreter)
  * Implement support for custom property syntax (#2076, @xzyfer)
  * Implement support for custom-property feature flag (#2076, @xzyfer)
  Optimisations:
  * Performance improvements (#2339, @mgreter)
  * Fix memory leak by removing previously unused code (#2505, @mgreter)
  * Fix memory leak of custom functions signature (#2553, @mgreter)
  Community:
  * Add libsass-python to Readme (#2546, @asottile)
  * Update link to go-libsass (#2340 #2410, @drewwells)
  Fixes:
  * Fix media query stack and eval issue (#2341, @mgreter)
  * Fix Attribute Selector equal compare operator (#2347, @mgreter)
  * Fix segfault for varargs with non-string keys (#2352, @mgreter)
  * Fix Element Selector compare operators (#2347, @mgreter)
  * Fix compiler issue with spec regression on NetBSD 6.1 (#2357, @mgreter)
  * Fix some segfaults caused by the parser being too forgiving (#2367, @xzyfer)
  * Fix segfault with invalid map keys (#2368, @xzyfer)
  * Fix null pointer dereference in css_error (#2369, @xzyfer)
  * Fix bug when parsing selector schemas (#2371, @xzyfer)
  * Fix null pointer dereference when parsing selector schemas (#2371, @2372)
  * Fix .editorconfig (#2380, @brucek)
  * Fix compiler issue with spec regression on NetBSD 6.1 (#2357, @mgreter)
  * Fix segfault when extending pseudo selectors failed (#2366, @mgreter)
  * Fix parser for urls looking like ruleset selectors (#2376, @mgreter)
  * Fix use of non-portable std::to_string (#2385, @mgreter)
  * Fix use of non-portable strdup (#2459, @asottile)
  * Fix unary slash expressions (#2349 #2384, @mgreter)
  * Fix missing error for trailing comma in selector list (#2365, @mgreter)
  * Fix selector and binominal look ahead (#2346, @mgreter)
  * Fix hex escape handling in interpolation (#2320, @mgreter)
  * Fix wrong parsing of calc functions as number units (#2382, @mgreter)
  * Fix incorrect comment evaluation for compressed output (#2359, @mgreter)
  * Fix parent selector handling in selector schema (#2358, @mgreter)
  * Fix parameter vararg and keyword handling (#2394, @mgreter)
  * Fix a few minor memory leaks (#2400, @mgreter)
  * Fix issue with invalid error indicator (#2404, @mgreter)
  * Fix selector parsing and url regression (#2429, @mgreter)
  * Fix null ptr segv on invalid vararg (#2437, @mgreter)
  * Fix segfault in selector extend edge-case (#2437, @mgreter)
  * Fix segfault in selector extend edge-case (#2437, @mgreter)
  * Fix segfault in selector append edge-case (#2437, @mgreter)
  * Fix ref-counted value handling in if function (#2437, @mgreter)
  * Fix segfault in at-root cssize edge-case (#2439, @mgreter)
  * Fix file content malloc to avoid reading beyond buffer (#2440, @mgreter)
  * Fix case-sensitive lookup to named color map (#2462, @asottile)
  * Fix shebang for tap-driver (#2466, @naroga)
  * Fix segfault in parser edge case (#2446, @mgreter)
  * Fix memory corruption on error in parse_selector_schema (#2484, @mgreter)
  * Fix autoconf path for sassc tester (#2492, @mgreter)
  * Fix output of invisible @support blocks (#2488, @mgreter)
  * Fix to_value for bracketed lists (#2467, @mgreter)
  * Fix propagation of named rest arguments (#2480, @mgreter)
  * Fix @extend of wrapped selectors (#2468, @mgreter)
  * Fix wrapped pseudo selector handling (#2464 #2383, @mgreter)
  * Fix minor issue with attribute selector unification (#2053, @mgreter)
  * Fix issue when passing restargs to call (#2472, @mgreter)
  * Fix compressing of colors in selectors (#2232, @mgreter)
  * Fix missing error on selector with invalid quote mark (#2082, @mgreter)
  * Fix travis-ci mac OSX builds (#2527, @mgreter)
  * Fix endless loop comparing Selector_List to List (#2516 #2517, @mgreter)
  * Fix SmartOS/Solaris build regression (#2519, @mgreter)
  * Fix to connect parent selector only once (#2520, @mgreter)
  * Fix whitespace issue for wrapped selectors (#2366, @mgreter)
  * Fix missing error if cwd goes missing (#2513, @mgreter)
  * Fix missing error when mixin ruleset in root has parent selector (#2482, @mgreter)
  * Fix sourcemap crutch once again (#2312, @mgreter)
  * Fix parser state column following static values (#2542, @mgreter)
  * Fix error indicator not being Unicode aware (#2404, @mgreter)
  * Fix error sourcemaps not being fully Unicode aware (#2319, @mgreter)
  * Fix some compiler warnings (#2547, @mgreter)
  * Fix math with multiple units (#2549, @mgreter)
  * Fix css test for interpolated numbers (#2560, @mgreter)
  * Fix null pointer access in nesting check (sass/sassc#222 sass/sassc#223, @mgreter)
  * Fix @else possibly producing invalid output (#2569, @xzyfer)
  * Fix parsing of @supports declarations (#2452, @xzyfer)

OBS-URL: https://build.opensuse.org/request/show/587907
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libsass?expand=0&rev=18
2018-03-19 08:01:00 +00:00

87 lines
2.4 KiB
RPMSpec

#
# spec file for package libsass
#
# Copyright (c) 2018 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 http://bugs.opensuse.org/
#
%define libname libsass-3_5_1-1
Name: libsass
Version: 3.5.1
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