]> git.pld-linux.org Git - packages/libunwind.git/blob - libunwind.spec
- use x8664 macro
[packages/libunwind.git] / libunwind.spec
1 Summary:        libunwind - a (mostly) platform-independent unwind API
2 Summary(pl):    libunwind - (prawie) niezale¿ne od platformy API do rozwijania
3 Name:           libunwind
4 Version:        0.98.5
5 Release:        1
6 License:        MIT
7 Group:          Libraries
8 Source0:        ftp://ftp.hpl.hp.com/pub/linux-ia64/%{name}-%{version}.tar.gz
9 # Source0-md5:  a145a46003930b6382a11b125eef4cb4
10 URL:            http://www.hpl.hp.com/research/linux/libunwind/
11 %ifarch %{x8664}
12 BuildRequires:  binutils >= 2:2.15.94.0.2.2
13 %endif
14 BuildRequires:  rpmbuild(macros) >= 1.213
15 ExclusiveArch:  %{ix86} %{x8664} hppa ia64
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 The goal of the libunwind project is to define a portable and
20 efficient C programming interface (API) to determine the call-chain
21 of a program.
22  
23 %description -l pl
24 Celem projektu libunwind jest zdefiniowanie przeno¶nego i wydajnego
25 API w jêzyku C do okre¶lania ³añcucha wywo³añ w programie.
26
27 %package devel
28 Summary:        Header files for libunwind library
29 Summary(pl):    Pliki nag³ówkowe biblioteki libunwind
30 Group:          Development/Libraries
31 Requires:       %{name} = %{version}-%{release}
32
33 %description devel
34 Header files for libunwind library.
35
36 %description devel -l pl
37 Pliki nag³ówkowe biblioteki libunwind.
38
39 %package static
40 Summary:        Static libunwind library
41 Summary(pl):    Statyczna biblioteka libunwind
42 Group:          Development/Libraries
43 Requires:       %{name}-devel = %{version}-%{release}
44
45 %description static
46 Static libunwind library.
47
48 %description static -l pl
49 Statyczna biblioteka libunwind.
50
51 %prep
52 %setup -q
53
54 %build
55 %configure
56 %{__make}
57
58 %install
59 rm -rf $RPM_BUILD_ROOT
60
61 %{__make} install \
62         DESTDIR=$RPM_BUILD_ROOT
63
64 %clean
65 rm -rf $RPM_BUILD_ROOT
66
67 %post   -p /sbin/ldconfig
68 %postun -p /sbin/ldconfig
69
70 %files
71 %defattr(644,root,root,755)
72 %doc AUTHORS COPYING ChangeLog NEWS README TODO
73 %attr(755,root,root) %{_libdir}/libunwind*.so.*.*.*
74
75 %files devel
76 %defattr(644,root,root,755)
77 %attr(755,root,root) %{_libdir}/libunwind*.so
78 %{_libdir}/libunwind*.la
79 %{_includedir}/*unwind*.h
80 %{_mandir}/man3/*.3*
81
82 %files static
83 %defattr(644,root,root,755)
84 %{_libdir}/libunwind*.a
This page took 0.043471 seconds and 4 git commands to generate.