From 011fdd6bcc8c616434072045b918ce26d97067a4 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 05:43:59 +0100 Subject: [PATCH] package created using the webbuild interface [release 3.5.4-1mamba;Mon Aug 13 2018] --- README.md | 2 ++ libsass.spec | 72 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 74 insertions(+) create mode 100644 libsass.spec diff --git a/README.md b/README.md index 6bb2d1e..9d14336 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libsass +Sass compiler written in C++. + diff --git a/libsass.spec b/libsass.spec new file mode 100644 index 0000000..f7114a0 --- /dev/null +++ b/libsass.spec @@ -0,0 +1,72 @@ +Name: libsass +Version: 3.5.4 +Release: 1mamba +Summary: Sass compiler written in C++ +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://sass-lang.com/libsass +## GITSOURCE https://github.com/sass/libsass.git 3.5.4 +Source: https://github.com/sass/libsass.git/%{version}/libsass-%{version}.tar.bz2 +License: MIT +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libgcc +BuildRequires: libstdc++6-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Sass compiler written in C++. + +%package devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Requires: pkg-config + +%description devel +This package contains libraries and header files for developing applications that use %{name}. + +%debug_package + +%prep +%setup -q + +%build +autoreconf -f -i +%configure \ + --enable-shared \ + --disable-static + +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_libdir}/libsass.so.* +%doc COPYING LICENSE + +%files devel +%defattr(-,root,root) +%{_includedir}/sass.h +%{_includedir}/sass2scss.h +%dir %{_includedir}/sass +%{_includedir}/sass/*.h +%{_libdir}/libsass.la +%{_libdir}/libsass.so +%{_libdir}/pkgconfig/libsass.pc + +%changelog +* Mon Aug 13 2018 Silvan Calarco 3.5.4-1mamba +- package created using the webbuild interface