diff --git a/3.5.4.tar.gz b/3.5.4.tar.gz new file mode 100644 index 0000000..05f8d35 Binary files /dev/null and b/3.5.4.tar.gz differ diff --git a/libsass.spec b/libsass.spec new file mode 100644 index 0000000..184c402 --- /dev/null +++ b/libsass.spec @@ -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 - 3.5.4-4 +- Package Init +