Compare commits
10 Commits
87b74cd0e9
...
c4051a7eff
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c4051a7eff | ||
|
|
999bf213bb | ||
|
|
4d7768df20 | ||
|
|
66d321b7dc | ||
|
|
12bc4b7d54 | ||
|
|
a02098dea0 | ||
|
|
c0fd899d0b | ||
|
|
af8161628e | ||
|
|
675c22aa09 | ||
|
|
c4166e776b |
BIN
3.5.0.tar.gz
BIN
3.5.0.tar.gz
Binary file not shown.
BIN
sass-spec-libsass-3.6.3.tar.gz
Normal file
BIN
sass-spec-libsass-3.6.3.tar.gz
Normal file
Binary file not shown.
BIN
sassc-3.6.2.tar.gz
Normal file
BIN
sassc-3.6.2.tar.gz
Normal file
Binary file not shown.
37
sassc.spec
37
sassc.spec
@ -1,14 +1,13 @@
|
|||||||
%define debug_package %{nil}
|
|
||||||
|
|
||||||
Name: sassc
|
Name: sassc
|
||||||
Version: 3.5.0
|
Version: 3.6.2
|
||||||
Release: 2
|
Release: 2
|
||||||
Summary: Libsass command line driver
|
Summary: Libsass command line driver
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/sass/sassc
|
URL: https://github.com/sass/sassc
|
||||||
Source0: https://github.com/sass/sassc/archive/3.5.0.tar.gz
|
Source0: https://github.com/sass/sassc/archive/sassc-3.6.2.tar.gz
|
||||||
|
Source1: sass-spec-libsass-3.6.3.tar.gz
|
||||||
|
|
||||||
BuildRequires: libsass-devel libsass
|
BuildRequires: libsass-devel libsass gcc-c++ autoconf automake libtool
|
||||||
Requires: libsass
|
Requires: libsass
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -19,23 +18,27 @@ SassC currently statically links the libsass library, but might one day using dy
|
|||||||
if libsass supports that in the future.
|
if libsass supports that in the future.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1
|
%autosetup -a 1
|
||||||
|
mv sass-spec-libsass-3.6.3 sass-spec
|
||||||
|
autoreconf -fiv
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
export CFLAGS="${RPM_OPT_FLAGS}"
|
||||||
sed -i.bak '
|
sed -i.bak '
|
||||||
/^$(SASSC_EXE):/s/libsass//
|
/^$(SASSC_EXE):/s/libsass//
|
||||||
/^build-shared:/s/$(LIB_SHARED)//
|
/^build-shared:/s/$(LIB_SHARED)//
|
||||||
s|-L$(SASS_LIBSASS_PATH)/lib||g' Makefile
|
s|-L$(SASS_LIBSASS_PATH)/lib||g' Makefile
|
||||||
|
|
||||||
|
%configure
|
||||||
%make_build BUILD="shared"
|
%make_build BUILD="shared"
|
||||||
|
|
||||||
%install
|
%install
|
||||||
install -Dpm 0755 bin/%{name} %{buildroot}%{_bindir}/%{name}
|
%make_install
|
||||||
rm -rf docs/**/*windows*
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
./bin/%{name} -h
|
./%{name} -h
|
||||||
./bin/%{name} -v
|
./%{name} -v
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc docs/* Readme.md
|
%doc docs/* Readme.md
|
||||||
@ -43,5 +46,17 @@ rm -rf docs/**/*windows*
|
|||||||
%{_bindir}/%{name}
|
%{_bindir}/%{name}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Thu Jan 03 2020 catastrowings <jianghuhao1994@163.com> - 3.5.0-2
|
* Fri Mar 3 2023 caodongxia <caodongxia@h-partners.com> - 3.6.2-2
|
||||||
|
- Fix not stripped problem
|
||||||
|
|
||||||
|
* Thu Jul 28 2022 fushanqing <fushanqing@kylinos.cn> - 3.6.2-1
|
||||||
|
- update sassc to 3.6.2
|
||||||
|
|
||||||
|
* Wed Sep 08 2021 sunguoshuai <sunguoshuai@huawei.com> - 3.5.0-4
|
||||||
|
- Fix binary /usr/bin/sassc not striped problem.
|
||||||
|
|
||||||
|
* Mon May 31 2021 huanghaitao <huanghaitao8@huawei.com> - 3.5.0-3
|
||||||
|
- Completing build dependencies to fix gcc compiler missing error
|
||||||
|
|
||||||
|
* Fri Jan 03 2020 catastrowings <jianghuhao1994@163.com> - 3.5.0-2
|
||||||
- openEuler init
|
- openEuler init
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user