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