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