new, version 3.3.6
authorElan Ruusamäe <glen@delfi.ee>
Mon, 10 Oct 2016 09:00:11 +0000 (12:00 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Mon, 10 Oct 2016 09:00:11 +0000 (12:00 +0300)
based on fedora package

https://bugzilla.redhat.com/1369534
commit: 606f097

libsass.spec [new file with mode: 0644]

diff --git a/libsass.spec b/libsass.spec
new file mode 100644 (file)
index 0000000..3919716
--- /dev/null
@@ -0,0 +1,74 @@
+Summary:       C/C++ port of the Sass CSS precompiler
+Name:          libsass
+Version:       3.3.6
+Release:       1
+License:       MIT
+Group:         Libraries
+Source0:       https://github.com/sass/libsass/archive/%{version}/%{name}-%{version}.tar.gz
+# Source0-md5: 6bb2a93efb9802758ff7640ab69ce498
+URL:           http://sass-lang.com/libsass
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: libtool
+BuildRequires: pkgconfig
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+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.
+
+Libsass is just a library, but if you want to RUN libsass, install the
+sassc package.
+
+%package devel
+Summary:       Development files for %{name}
+Requires:      %{name} = %{version}-%{release}
+
+%description devel
+The %{name}-devel package contains libraries and header files for
+developing applications that use %{name}.
+
+%prep
+%setup -q
+
+%build
+%{__aclocal}
+%{__libtoolize}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure \
+       --disable-static
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libsass.la
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post  -p /sbin/ldconfig
+%postun        -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc Readme.md SECURITY.md LICENSE
+%attr(755,root,root) %{_libdir}/libsass.so.*.*.*
+%ghost %{_libdir}/libsass.so.0
+
+%files devel
+%defattr(644,root,root,755)
+%{_includedir}/sass.h
+%{_includedir}/sass2scss.h
+%{_includedir}/sass
+%{_libdir}/libsass.so
+%{_pkgconfigdir}/libsass.pc
This page took 0.119781 seconds and 4 git commands to generate.