58 lines
1.4 KiB
RPMSpec
58 lines
1.4 KiB
RPMSpec
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
|
|
|