libsass/libsass.spec

73 lines
2.2 KiB
RPMSpec

#
# spec file for package libsass
#
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: libsass
Version: 3.3.2
Release: 0
License: MIT
Summary: C/C++ Sass compiler library
Url: https://github.com/sass/libsass
Group: Development/Libraries/C and C++
Source: %{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
BuildRequires: gcc-c++
BuildRequires: pkg-config
%description
Sass is a CSS pre-processor language to add on exciting, new, awesome
features to CSS. LibSass is a C/C++ port of the Sass CSS precompiler.
The original version was written in Ruby, but this version is meant
for efficiency and portability.
This library strives to be light, simple, and easy to build and integrate
with a variety of platforms and languages.
%package devel
Summary: C/C++ Sass compiler library development files
Group: Development/Libraries/C and C++
%description devel
This package provides development header files for libsass
%prep
%setup -q
%build
autoreconf -fi
# libsass doesn't support being used as a shared-library so far
%configure --with-pic --disable-shared
make %{?_smp_mflags}
%install
make install DESTDIR=%{buildroot} %{?_smp_mflags}
rm %{buildroot}/%{_libdir}/libsass.la
%files devel
%defattr(-,root,root)
%dir %{_includedir}/sass
%{_includedir}/sass/*.h
%{_includedir}/sass.h
%{_includedir}/sass2scss.h
%{_libdir}/pkgconfig/libsass.pc
%{_libdir}/libsass.a
%changelog