]> git.pld-linux.org Git - packages/llvm-libunwind.git/blame - llvm-libunwind.spec
- up to 14.0.6
[packages/llvm-libunwind.git] / llvm-libunwind.spec
CommitLineData
8138752f
JB
1Summary: LLVM libunwind implementation
2Summary(pl.UTF-8): Implementacja biblioteki libunwind z projektu LLVM
3Name: llvm-libunwind
1052db1e 4Version: 14.0.6
8138752f
JB
5Release: 1
6License: BSD-like or MIT
7Group: Libraries
3dd05896 8#Source0Download: https://github.com/llvm/llvm-project/releases/
3973eafc 9Source0: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}/libunwind-%{version}.src.tar.xz
1052db1e 10# Source0-md5: b4ab520fd84066cde664eec95940de59
eb3b3bd9
JB
11#Source1Download: https://github.com/llvm/llvm-project/releases/
12Source1: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}/libcxx-%{version}.src.tar.xz
1052db1e 13# Source1-md5: 3d5630a8dcbec623172e57fae890351b
eb3b3bd9
JB
14#Source2Download: https://github.com/llvm/llvm-project/releases/
15Source2: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}/llvm-%{version}.src.tar.xz
1052db1e 16# Source2-md5: 80072c6a4be8b9adb60c6aac01f577db
8138752f 17URL: http://llvm.org/
eb3b3bd9 18BuildRequires: cmake >= 3.13.4
8138752f
JB
19BuildRequires: libstdc++-devel
20BuildRequires: llvm-devel >= %{version}
21BuildRequires: rpmbuild(macros) >= 1.605
55225523
JB
22BuildRequires: tar >= 1:1.22
23BuildRequires: xz
8138752f
JB
24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26%description
27LLVM libunwind implementation.
28
29%description -l pl.UTF-8
30Implementacja biblioteki libunwind z projektu LLVM.
31
32%package devel
33Summary: Header file for LLVM libunwind implementation
34Summary(pl.UTF-8): Plik nagłówkowy implementacji LLVM libunwind
35Group: Development/Libraries
36Requires: %{name} = %{version}-%{release}
37
38%description devel
39Header file for LLVM libunwind implementation.
40
41%description devel -l pl.UTF-8
42Plik nagłówkowy implementacji LLVM libunwind.
43
b3f09f48
JB
44%package static
45Summary: Static LLVM libunwind library
46Summary(pl.UTF-8): Statyczna biblioteka LLVM libunwind
47Group: Development/Libraries
48Requires: %{name} = %{version}-%{release}
49
50%description static
51Static LLVM libunwind library.
52
53%description static -l pl.UTF-8
54Statyczna biblioteka LLVM libunwind.
55
8138752f 56%prep
eb3b3bd9
JB
57%setup -q -c -a1 -a2
58
59%{__mv} libcxx-%{version}.src libcxx
60%{__mv} libunwind-%{version}.src libunwind
61%{__mv} llvm-%{version}.src llvm
8138752f
JB
62
63%build
64install -d build
65cd build
eb3b3bd9 66%cmake ../libunwind
8138752f
JB
67
68%{__make}
69
70%install
71rm -rf $RPM_BUILD_ROOT
72
73%{__make} -C build install \
74 DESTDIR=$RPM_BUILD_ROOT
75
76install -d $RPM_BUILD_ROOT%{_includedir}/llvm-libunwind
eb3b3bd9 77cp -p libunwind/include/*.h $RPM_BUILD_ROOT%{_includedir}/llvm-libunwind
8138752f
JB
78
79%clean
80rm -rf $RPM_BUILD_ROOT
81
82%post -p /sbin/ldconfig
83%postun -p /sbin/ldconfig
84
85%files
86%defattr(644,root,root,755)
87%attr(755,root,root) %{_libdir}/libunwind.so.*.*
88%attr(755,root,root) %ghost %{_libdir}/libunwind.so.1
89
90%files devel
91%defattr(644,root,root,755)
92%attr(755,root,root) %{_libdir}/libunwind.so
93%{_includedir}/llvm-libunwind
b3f09f48
JB
94
95%files static
96%defattr(644,root,root,755)
97%{_libdir}/libunwind.a
This page took 0.17556 seconds and 4 git commands to generate.