]> git.pld-linux.org Git - packages/libsass.git/commitdiff
- updated to 3.6.0 auto/th/libsass-3.6.0-1
authorJakub Bogusz <qboosh@pld-linux.org>
Fri, 24 May 2019 17:07:06 +0000 (19:07 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Fri, 24 May 2019 17:07:06 +0000 (19:07 +0200)
libsass.spec

index 28bc48d745acf3c6d02ec32c2c9cd3f85dc7d31e..6abb84319dc32d00fb14a5b23c8cd76b6007572c 100644 (file)
@@ -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
This page took 0.100944 seconds and 4 git commands to generate.