libsass/libsass.spec

73 lines
1.7 KiB
RPMSpec
Raw Normal View History

Name: libsass
Version: 3.5.4
Release: 1mamba
Summary: Sass compiler written in C++
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://sass-lang.com/libsass
## GITSOURCE https://github.com/sass/libsass.git 3.5.4
Source: https://github.com/sass/libsass.git/%{version}/libsass-%{version}.tar.bz2
License: MIT
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Sass compiler written in C++.
%package devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: pkg-config
%description devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
%build
autoreconf -f -i
%configure \
--enable-shared \
--disable-static
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/libsass.so.*
%doc COPYING LICENSE
%files devel
%defattr(-,root,root)
%{_includedir}/sass.h
%{_includedir}/sass2scss.h
%dir %{_includedir}/sass
%{_includedir}/sass/*.h
%{_libdir}/libsass.la
%{_libdir}/libsass.so
%{_libdir}/pkgconfig/libsass.pc
%changelog
* Mon Aug 13 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 3.5.4-1mamba
- package created using the webbuild interface