[packages/llvm-libcxxabi] - updated to 3.7.0

qboosh qboosh at pld-linux.org
Sat Dec 5 18:28:01 CET 2015


commit 666b249c99bf045f4a8e2ec36976a2c118b84732
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Dec 5 18:28:53 2015 +0100

    - updated to 3.7.0

 llvm-libcxxabi.spec | 28 ++++++++++++++++++++++++----
 1 file changed, 24 insertions(+), 4 deletions(-)
---
diff --git a/llvm-libcxxabi.spec b/llvm-libcxxabi.spec
index c2604cd..17639a7 100644
--- a/llvm-libcxxabi.spec
+++ b/llvm-libcxxabi.spec
@@ -1,18 +1,21 @@
 Summary:	libc++abi - C++ standard library support from LLVM project
 Summary(pl.UTF-8):	libc++abi - wsparcie dla biblioteki standardowej C++ z projektu LLVM
 Name:		llvm-libcxxabi
-Version:	3.6.0
+Version:	3.7.0
 Release:	1
 License:	MIT or BSD-like
 Group:		Libraries
 #Source0Download: http://llvm.org/releases/download.html
 Source0:	http://llvm.org/releases/%{version}/libcxxabi-%{version}.src.tar.xz
-# Source0-md5:	df1dd8943a47dfcfdd518660319fd4bb
+# Source0-md5:	5aa769e2fca79fa5335cfae8f6258772
 URL:		http://libcxxabi.llvm.org/
 BuildRequires:	cmake >= 2.8.8
 BuildRequires:	clang >= %{version}
+%ifarch arm
+BuildRequires:	libunwind-devel
+%endif
 BuildRequires:	llvm-devel >= %{version}
-BuildRequires:	llvm-libcxx-devel >= %{version}
+BuildRequires:	llvm-libcxx-devel >= 3.6.0
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -35,6 +38,18 @@ Development files for LLVM libc++abi library.
 %description devel -l pl.UTF-8
 Pliki programistyczne biblioteki LLVM libc++abi.
 
+%package static
+Summary:	Static LLVM libc++abi library
+Summary(pl.UTF-8):	Statyczna biblioteka LLVM libc++abi
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{version}-%{release}
+
+%description static
+Static LLVM libc++abi library.
+
+%description static -l pl.UTF-8
+Statyczna biblioteka LLVM libc++abi.
+
 %prep
 %setup -q -n libcxxabi-%{version}.src
 
@@ -52,7 +67,8 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} -C build install \
 	DESTDIR=$RPM_BUILD_ROOT
 
-install -D include/cxxabi.h $RPM_BUILD_ROOT%{_includedir}/libcxxabi/cxxabi.h
+install -d $RPM_BUILD_ROOT%{_includedir}/libcxxabi
+cp -p include/*.h $RPM_BUILD_ROOT%{_includedir}/libcxxabi
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -70,3 +86,7 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libc++abi.so
 %{_includedir}/libcxxabi
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libc++abi.a
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/llvm-libcxxabi.git/commitdiff/666b249c99bf045f4a8e2ec36976a2c118b84732



More information about the pld-cvs-commit mailing list