]> git.pld-linux.org Git - packages/llvm-libcxxabi.git/commitdiff
- up to 11.0.1
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 14 Feb 2021 11:49:12 +0000 (12:49 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Sun, 14 Feb 2021 11:49:12 +0000 (12:49 +0100)
llvm-libcxxabi.spec

index 84ef3bf18f3f2c6177889cbb53849acc2cb47ee7..8079269476826fca432c094795f4c7c9a9ca6034 100644 (file)
@@ -1,14 +1,17 @@
 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:       10.0.1
+Version:       11.0.1
 Release:       1
 License:       MIT or BSD-like
 Group:         Libraries
 #Source0Download: https://github.com/llvm/llvm-project/releases/
 Source0:       https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}/libcxxabi-%{version}.src.tar.xz
-# Source0-md5: fb256e8166ea99087d7deecad0a52ab8
-URL:           http://libcxxabi.llvm.org/
+# Source0-md5: eea472a502b2dbe60f4b1c6e2e0631f1
+#Source1Download: https://github.com/llvm/llvm-project/releases/
+Source1:       https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}/libcxx-%{version}.src.tar.xz
+# Source1-md5: 4b2467eb023c9b4c84335808f811d5fa
+URL:           https://libcxxabi.llvm.org/
 BuildRequires: cmake >= 3.4.3
 BuildRequires: clang >= %{version}
 %ifarch %{arm}
@@ -51,12 +54,15 @@ Static LLVM libc++abi library.
 Statyczna biblioteka LLVM libc++abi.
 
 %prep
-%setup -q -n libcxxabi-%{version}.src
+%setup -q -c -a1
+
+%{__mv} libcxx-%{version}.src libcxx
+%{__mv} libcxxabi-%{version}.src libcxxabi
 
 %build
 install -d build
 cd build
-%cmake .. \
+%cmake ../libcxxabi \
        -DCMAKE_C_COMPILER="clang" \
        -DCMAKE_CXX_COMPILER="clang++"
 
@@ -69,7 +75,7 @@ rm -rf $RPM_BUILD_ROOT
        DESTDIR=$RPM_BUILD_ROOT
 
 install -d $RPM_BUILD_ROOT%{_includedir}/libcxxabi
-cp -p include/*.h $RPM_BUILD_ROOT%{_includedir}/libcxxabi
+cp -p libcxxabi/include/*.h $RPM_BUILD_ROOT%{_includedir}/libcxxabi
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -79,7 +85,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc CREDITS.TXT LICENSE.TXT
+%doc libcxxabi/{CREDITS.TXT,LICENSE.TXT}
 %attr(755,root,root) %{_libdir}/libc++abi.so.*.*
 %attr(755,root,root) %ghost %{_libdir}/libc++abi.so.1
 
This page took 0.082112 seconds and 4 git commands to generate.