forked from sass/libsass
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request sass#882 from GawainLynch/rpm-spec
Add RPM spec file
- Loading branch information
Showing
1 changed file
with
66 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
Name: libsass | ||
Version: 3.1.0 | ||
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 <[email protected]> - 3.1.0-1 | ||
- Initial SPEC file | ||
|