!1 Package Init

Merge pull request !1 from jinjin/master
This commit is contained in:
openeuler-ci-bot 2019-12-31 18:01:44 +08:00 committed by Gitee
commit 955378f4ee
2 changed files with 57 additions and 0 deletions

BIN
3.5.4.tar.gz Normal file

Binary file not shown.

57
libsass.spec Normal file
View File

@ -0,0 +1,57 @@
Name: libsass
Version: 3.5.4
Release: 4
Summary: A Sass CSS precompiler which is ported for C/C++
License: MIT
URL: http://sass-lang.com/libsass
Source0: https://github.com/sass/libsass/archive/%{version}.tar.gz
BuildRequires: automake autoconf libtool pkgconfig gcc-c++
%description
Libsass is a Sass CSS precompiler which is ported for C/C++. This version is
more efficient and portable than the original Ruby version. Keeping light and
sample is its degisn philosophy which makes it more easier to be built and integrated
with a immense amount of platforms and languages. Installation of saccs is needed
if you want to run is directly as libsass is just a library.
%package devel
Summary: Library and header files for libsass
Requires: libsass = %{version}-%{release}
%description devel
The libsass-devel package contains libraries and header files for
developing applications using libsass.
%prep
%autosetup -p1
export LIBSASS_VERSION=%{version}
autoreconf --force --install
%build
%configure --disable-static
%make_build
%install
%make_install
%delete_la
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%license LICENSE
%doc Readme.md SECURITY.md
%{_libdir}/*.so.*
%files devel
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%changelog
* Tue Dec 31 2019 lihao <lihao129@huawei.com> - 3.5.4-4
- Package Init