2016-01-05 17:29:19 +00:00
|
|
|
#
|
|
|
|
# spec file for package libsass
|
|
|
|
#
|
2018-03-09 13:04:39 +00:00
|
|
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
2016-01-05 17:29:19 +00:00
|
|
|
#
|
|
|
|
# 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/
|
|
|
|
#
|
|
|
|
|
2016-07-07 15:48:55 +00:00
|
|
|
|
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
|
|
|
%define libname libsass-3_5_1-1
|
2016-01-05 17:29:19 +00:00
|
|
|
Name: libsass
|
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
|
|
|
Version: 3.5.1
|
2016-01-05 17:29:19 +00:00
|
|
|
Release: 0
|
2016-11-24 14:35:30 +00:00
|
|
|
Summary: Compiler library for A CSS preprocessor language
|
2016-07-07 15:48:55 +00:00
|
|
|
License: MIT
|
2016-01-05 17:29:19 +00:00
|
|
|
Group: Development/Libraries/C and C++
|
2016-07-07 15:48:55 +00:00
|
|
|
Url: https://github.com/sass/libsass
|
2016-11-23 17:04:07 +00:00
|
|
|
Source: https://github.com/sass/libsass/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
2016-07-18 08:18:37 +00:00
|
|
|
Patch1: libsass-am.diff
|
|
|
|
Patch2: libsass-vers.diff
|
2016-01-05 17:29:19 +00:00
|
|
|
BuildRequires: autoconf
|
|
|
|
BuildRequires: automake
|
|
|
|
BuildRequires: gcc-c++
|
2016-07-07 15:48:55 +00:00
|
|
|
BuildRequires: libtool
|
|
|
|
BuildRequires: pkgconfig
|
2016-01-05 17:29:19 +00:00
|
|
|
|
|
|
|
%description
|
2016-07-18 08:18:37 +00:00
|
|
|
Sass is a CSS pre-processor language to add new features to CSS.
|
|
|
|
LibSass is a C/C++ port of the Sass CSS precompiler.
|
2016-01-05 17:29:19 +00:00
|
|
|
|
2016-07-07 15:48:55 +00:00
|
|
|
%package -n %{libname}
|
2016-11-24 14:35:30 +00:00
|
|
|
Summary: Compiler library for A CSS preprocessor language
|
|
|
|
Group: System/Libraries
|
2016-07-07 15:48:55 +00:00
|
|
|
|
|
|
|
%description -n %{libname}
|
2016-11-24 14:35:30 +00:00
|
|
|
This package provides the shared library object for libsass.
|
2016-07-07 15:48:55 +00:00
|
|
|
|
2016-01-05 17:29:19 +00:00
|
|
|
%package devel
|
2016-11-24 14:35:30 +00:00
|
|
|
Summary: Development files for libsass, a library for a CSS preprocessor language
|
2016-01-05 17:29:19 +00:00
|
|
|
Group: Development/Libraries/C and C++
|
2016-07-07 15:48:55 +00:00
|
|
|
Requires: %{libname} = %{version}
|
2016-01-05 17:29:19 +00:00
|
|
|
|
|
|
|
%description devel
|
2016-11-24 14:35:30 +00:00
|
|
|
This package provides development header files for libsass.
|
2016-01-05 17:29:19 +00:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2016-07-18 08:18:37 +00:00
|
|
|
%patch -P 1 -P 2 -p1
|
2016-01-05 17:29:19 +00:00
|
|
|
|
|
|
|
%build
|
2016-07-18 08:18:37 +00:00
|
|
|
if [ ! -f VERSION ]; then
|
|
|
|
echo "%{version}" >VERSION
|
|
|
|
fi
|
2016-01-05 17:29:19 +00:00
|
|
|
autoreconf -fi
|
2016-07-18 08:18:37 +00:00
|
|
|
%configure --disable-static
|
2016-01-05 17:29:19 +00:00
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
2016-07-07 15:48:55 +00:00
|
|
|
%check
|
|
|
|
make check %{?_smp_mflags}
|
|
|
|
|
2016-07-18 08:18:37 +00:00
|
|
|
%install
|
|
|
|
%make_install
|
2016-11-23 17:04:07 +00:00
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
2016-07-18 08:18:37 +00:00
|
|
|
|
2016-07-07 15:48:55 +00:00
|
|
|
%post -n %{libname} -p /sbin/ldconfig
|
|
|
|
%postun -n %{libname} -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files -n %{libname}
|
2018-03-09 13:04:39 +00:00
|
|
|
%license LICENSE
|
2016-07-18 08:18:37 +00:00
|
|
|
%{_libdir}/libsass*.so.*
|
2016-07-07 15:48:55 +00:00
|
|
|
|
|
|
|
%files devel
|
2016-07-18 08:18:37 +00:00
|
|
|
%{_includedir}/sass*
|
2016-01-05 17:29:19 +00:00
|
|
|
%{_libdir}/pkgconfig/libsass.pc
|
2016-07-18 08:18:37 +00:00
|
|
|
%{_libdir}/libsass*.so
|
2016-01-05 17:29:19 +00:00
|
|
|
|
|
|
|
%changelog
|