MrShi
2 天以前 640c489a713a54041eb63404592df3599a1777e3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
Name:           libsass
Version:        %{version}
Release:        1%{?dist}
Summary:        A C/C++ implementation of a Sass compiler
 
License:        MIT
URL:            http://libsass.org
Source0:        %{name}-%{version}.tar.gz
 
BuildRequires:  gcc-c++ >= 4.7
BuildRequires:  autoconf
BuildRequires:  automake
BuildRequires:  libtool
 
 
%description
LibSass is a C/C++ port of the Sass engine. The point is to be simple, fast, and easy to integrate.
 
%package        devel
Summary:        Development files for %{name}
Requires:       %{name}%{?_isa} = %{version}-%{release}
 
 
%description    devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
 
 
%prep
%setup -q
autoreconf --force --install
 
 
%build
%configure --disable-static \
           --disable-tests \
           --enable-shared
 
make %{?_smp_mflags}
 
 
%install
%make_install
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
 
 
%post -p /sbin/ldconfig
 
%postun -p /sbin/ldconfig
 
 
%files
%doc Readme.md LICENSE
%{_libdir}/*.so.*
 
%files devel
%doc
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
 
 
%changelog
* Tue Feb 10 2015 Gawain Lynch <gawain.lynch@gmail.com> - 3.1.0-1
- Initial SPEC file