[packages/libsass] - updated to 3.6.0

qboosh qboosh at pld-linux.org
Fri May 24 19:06:21 CEST 2019


commit e7ff6508384093b54b3c99d24b02edf78c8020a2
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Fri May 24 19:07:06 2019 +0200

    - updated to 3.6.0

 libsass.spec | 66 +++++++++++++++++++++++++++++++++++++++++++++++++-----------
 1 file changed, 54 insertions(+), 12 deletions(-)
---
diff --git a/libsass.spec b/libsass.spec
index 28bc48d..6abb843 100644
--- a/libsass.spec
+++ b/libsass.spec
@@ -1,16 +1,22 @@
+#
+# Conditional build:
+%bcond_without	static_libs	# static library
+
 Summary:	C/C++ port of the Sass CSS precompiler
+Summary(pl.UTF-8):	Port C/C++ prekompilatora CSS Sass
 Name:		libsass
-Version:	3.5.2
+Version:	3.6.0
 Release:	1
 License:	MIT
 Group:		Libraries
+#Source0Download: https://github.com/sass/libsass/releases
 Source0:	https://github.com/sass/libsass/archive/%{version}/%{name}-%{version}.tar.gz
-# Source0-md5:	0d0159517a138e201225461a73884e2a
-URL:		http://sass-lang.com/libsass
-BuildRequires:	autoconf
+# Source0-md5:	e3182fd45638ca1ac933fa4b68dd4cf0
+URL:		https://sass-lang.com/libsass
+BuildRequires:	autoconf >= 2.61
 BuildRequires:	automake
 BuildRequires:	libstdc++-devel
-BuildRequires:	libtool
+BuildRequires:	libtool >= 2:2
 BuildRequires:	pkgconfig
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -25,31 +31,60 @@ integrate with a variety of platforms and languages.
 Libsass is just a library, but if you want to RUN libsass, install the
 sassc package.
 
+%description -l pl.UTF-8
+Libsass to port C/C++ prekompilatora CSS Sass. Pierwotna wersja
+została napisana w języku Ruby, a ta powstała z myślą o wydajności i
+przenośności.
+
+Biblioteka stara się być lekka, prosta i łatwa do zbudowania oraz
+integrowania z wieloma różnymi platformami i językami.
+
+Libsass to tylko biblioteka - aby URUCHOMIĆ kompilator, należy
+zainstalować pakiet sassc.
+
 %package devel
-Summary:	Development files for %{name}
+Summary:	Development files for libsass
+Summary(pl.UTF-8):	Pliki programistyczne biblioteki libsass
 Group:		Development/Libraries
 Requires:	%{name} = %{version}-%{release}
 
 %description devel
-The %{name}-devel package contains libraries and header files for
-developing applications that use %{name}.
+This package contains the header files for developing applications
+that use libsass.
+
+%description devel -l pl.UTF-8
+Ten pakiet zawiera pliki nagłówkowe do tworzenia aplikacji
+wykorzystujących bibliotekę libsass.
+
+%package static
+Summary:	Static libsass library
+Summary(pl.UTF-8):	Statyczna biblioteka libsass
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{version}-%{release}
+
+%description static
+Static libsass library.
+
+%description static -l pl.UTF-8
+Statyczna biblioteka libsass.
 
 %prep
 %setup -q
 
 %build
-%{__aclocal}
 %{__libtoolize}
+%{__aclocal} -I m4
 %{__autoconf}
 %{__autoheader}
 %{__automake}
 %configure \
-	--disable-static
+	%{!?with_static_libs:--disable-static}
 
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
+
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
@@ -65,12 +100,19 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc Readme.md SECURITY.md LICENSE
 %attr(755,root,root) %{_libdir}/libsass.so.*.*.*
-%ghost %{_libdir}/libsass.so.1
+%attr(755,root,root) %ghost %{_libdir}/libsass.so.1
 
 %files devel
 %defattr(644,root,root,755)
+%doc docs/[!b]*.md
+%attr(755,root,root) %{_libdir}/libsass.so
 %{_includedir}/sass.h
 %{_includedir}/sass2scss.h
 %{_includedir}/sass
-%{_libdir}/libsass.so
 %{_pkgconfigdir}/libsass.pc
+
+%if %{with static_libs}
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libsass.a
+%endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libsass.git/commitdiff/e7ff6508384093b54b3c99d24b02edf78c8020a2



More information about the pld-cvs-commit mailing list