[12131] | 1 | %bcond_with check |
---|
| 2 | %global testspec_version 3.6.0 |
---|
[12005] | 3 | |
---|
| 4 | Name: sassc |
---|
[12131] | 5 | Version: 3.6.1 |
---|
| 6 | Release: 1%{?_dist_release} |
---|
[12005] | 7 | Summary: Wrapper around libsass to compile CSS stylesheet |
---|
| 8 | Summary(ja): libsassのコマンドラインラッパー |
---|
| 9 | |
---|
| 10 | Vendor: Project Vine |
---|
| 11 | Distribution: Vine Linux |
---|
| 12 | |
---|
| 13 | License: MIT |
---|
| 14 | URL: http://github.com/sass/sassc |
---|
| 15 | Source0: https://github.com/sass/sassc/archive/%{version}.tar.gz |
---|
| 16 | # Test suite spec. According to this comment from an upstream dev, we should |
---|
| 17 | # not use the release tags on the test spec: |
---|
| 18 | # https://github.com/sass/libsass/issues/2258#issuecomment-268196004 |
---|
| 19 | # https://github.com/sass/sass-spec/archive/master.zip |
---|
| 20 | # https://github.com/sass/sass-spec/archive/v%%{testspec_version}.tar.gz |
---|
[12131] | 21 | Source1: https://github.com/sass/sass-spec/archive/libsass-%{testspec_version}.tar.gz |
---|
[12005] | 22 | |
---|
| 23 | # libsass is built as a shared library. |
---|
| 24 | Patch0: %{name}-3.5.0-build.patch |
---|
| 25 | |
---|
| 26 | BuildRequires: libsass-devel >= %{version} |
---|
| 27 | BuildRequires: gcc-c++ |
---|
[12131] | 28 | %if %{with check} |
---|
| 29 | BuildRequires: ruby |
---|
| 30 | BuildRequires: rubygem-minitest |
---|
| 31 | BuildRequires: rubygem-hrx |
---|
| 32 | %endif |
---|
[12005] | 33 | |
---|
| 34 | %description |
---|
| 35 | SassC is a wrapper around libsass used to generate a useful command-line |
---|
| 36 | application that can be installed and packaged for several operating systems. |
---|
| 37 | |
---|
| 38 | |
---|
| 39 | %prep |
---|
| 40 | %setup -q -a 1 |
---|
[12131] | 41 | mv sass-spec-libsass-%{testspec_version} sass-spec |
---|
[12005] | 42 | %patch0 -p1 |
---|
| 43 | |
---|
| 44 | |
---|
| 45 | %build |
---|
| 46 | %make_build build-shared \ |
---|
| 47 | LDFLAGS="$RPM_OPT_FLAGS" \ |
---|
| 48 | CFLAGS="$RPM_OPT_FLAGS" \ |
---|
| 49 | CXXFLAGS="$RPM_OPT_FLAGS" |
---|
| 50 | |
---|
| 51 | |
---|
| 52 | %install |
---|
| 53 | rm -rf $RPM_BUILD_ROOT |
---|
| 54 | install -p -m755 -D bin/sassc $RPM_BUILD_ROOT%{_bindir}/%{name} |
---|
| 55 | |
---|
| 56 | |
---|
[12131] | 57 | %if %{with check} |
---|
| 58 | %check |
---|
| 59 | ruby sass-spec/sass-spec.rb -V 3.6 -c bin/%{name} --impl libsass sass-spec/spec |
---|
| 60 | %endif |
---|
| 61 | |
---|
[12005] | 62 | %files |
---|
| 63 | %license LICENSE |
---|
| 64 | %doc Readme.md |
---|
| 65 | %{_bindir}/%{name} |
---|
| 66 | |
---|
| 67 | |
---|
| 68 | %changelog |
---|
[12131] | 69 | * Fri Aug 30 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 3.6.1-1 |
---|
| 70 | - new upstream relaase. |
---|
| 71 | |
---|
[12005] | 72 | * Sun Dec 30 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 3.5.0-2 |
---|
| 73 | - initial build for Vine Linux. |
---|
| 74 | - disabled tests. |
---|
| 75 | |
---|
| 76 | * Thu Jul 19 2018 Kevin Fenzi <kevin@scrye.com> - 3.5.0-1 |
---|
| 77 | - Upgrade to 3.5.0, tests 3.5.4. |
---|
| 78 | - Fixes FTBFS. |
---|
| 79 | |
---|
| 80 | * Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.5-6 |
---|
| 81 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild |
---|
| 82 | |
---|
| 83 | * Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.5-5 |
---|
| 84 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild |
---|
| 85 | |
---|
| 86 | * Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.5-4 |
---|
| 87 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild |
---|
| 88 | |
---|
| 89 | * Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.5-3 |
---|
| 90 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild |
---|
| 91 | |
---|
| 92 | * Mon Jul 24 2017 Aurelien Bompard <abompard@fedoraproject.org> - 3.4.5-2 |
---|
| 93 | - Require the same libsass version |
---|
| 94 | |
---|
| 95 | * Mon Jul 24 2017 Aurelien Bompard <abompard@fedoraproject.org> - 3.4.5-1 |
---|
| 96 | - Version 3.4.5: https://github.com/sass/sassc/releases/tag/3.4.5 |
---|
| 97 | |
---|
| 98 | * Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.1-2 |
---|
| 99 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild |
---|
| 100 | |
---|
| 101 | * Mon Dec 19 2016 Aurelien Bompard <abompard@fedoraproject.org> - 3.4.1-1 |
---|
| 102 | - Version 3.4.1: https://github.com/sass/sassc/releases/tag/3.4.1 |
---|
| 103 | |
---|
| 104 | * Mon Dec 12 2016 Aurelien Bompard <abompard@fedoraproject.org> - 3.4.0-1 |
---|
| 105 | - Version 3.4.0: https://github.com/sass/sassc/releases/tag/3.4.0 |
---|
| 106 | |
---|
| 107 | * Tue Aug 23 2016 Aurelien Bompard <abompard@fedoraproject.org> - 3.3.6-1 |
---|
| 108 | - initial package |
---|