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