]> git.pld-linux.org Git - packages/libsass.git/blob - libsass.spec
new, version 3.3.6
[packages/libsass.git] / libsass.spec
1 Summary:        C/C++ port of the Sass CSS precompiler
2 Name:           libsass
3 Version:        3.3.6
4 Release:        1
5 License:        MIT
6 Group:          Libraries
7 Source0:        https://github.com/sass/libsass/archive/%{version}/%{name}-%{version}.tar.gz
8 # Source0-md5:  6bb2a93efb9802758ff7640ab69ce498
9 URL:            http://sass-lang.com/libsass
10 BuildRequires:  autoconf
11 BuildRequires:  automake
12 BuildRequires:  libtool
13 BuildRequires:  pkgconfig
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 Libsass is a C/C++ port of the Sass CSS precompiler. The original
18 version was written in Ruby, but this version is meant for efficiency
19 and portability.
20
21 This library strives to be light, simple, and easy to build and
22 integrate with a variety of platforms and languages.
23
24 Libsass is just a library, but if you want to RUN libsass, install the
25 sassc package.
26
27 %package devel
28 Summary:        Development files for %{name}
29 Requires:       %{name} = %{version}-%{release}
30
31 %description devel
32 The %{name}-devel package contains libraries and header files for
33 developing applications that use %{name}.
34
35 %prep
36 %setup -q
37
38 %build
39 %{__aclocal}
40 %{__libtoolize}
41 %{__autoconf}
42 %{__autoheader}
43 %{__automake}
44 %configure \
45         --disable-static
46
47 %{__make}
48
49 %install
50 rm -rf $RPM_BUILD_ROOT
51 %{__make} install \
52         DESTDIR=$RPM_BUILD_ROOT
53
54 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libsass.la
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 %post   -p /sbin/ldconfig
60 %postun -p /sbin/ldconfig
61
62 %files
63 %defattr(644,root,root,755)
64 %doc Readme.md SECURITY.md LICENSE
65 %attr(755,root,root) %{_libdir}/libsass.so.*.*.*
66 %ghost %{_libdir}/libsass.so.0
67
68 %files devel
69 %defattr(644,root,root,755)
70 %{_includedir}/sass.h
71 %{_includedir}/sass2scss.h
72 %{_includedir}/sass
73 %{_libdir}/libsass.so
74 %{_pkgconfigdir}/libsass.pc
This page took 0.082585 seconds and 3 git commands to generate.