]>
Commit | Line | Data |
---|---|---|
d38a66ce JB |
1 | Summary: Atomic operations implementation |
2 | Summary(pl.UTF-8): Implementacja operacji atomowych | |
3 | Name: libatomic_ops | |
4 | Version: 1.2 | |
112b7cc3 | 5 | Release: 2 |
d38a66ce JB |
6 | License: MIT-like (libatomic_ops), GPL v2+ (libatomic_ops_gpl) |
7 | Group: Development/Libraries | |
8 | Source0: http://www.hpl.hp.com/research/linux/atomic_ops/download/%{name}-%{version}.tar.gz | |
9 | # Source0-md5: 1b65e48271c81e3fa2d7a9a69bab7504 | |
112b7cc3 | 10 | Patch0: %{name}-ppc.patch |
d38a66ce JB |
11 | URL: http://www.hpl.hp.com/research/linux/atomic_ops/ |
12 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
13 | ||
14 | %description | |
15 | Provides implementations for atomic memory update operations on a | |
16 | number of architectures. This allows direct use of these in reasonably | |
17 | portable code. Unlike earlier similar packages, this one explicitly | |
18 | considers memory barrier semantics, and allows the construction of | |
19 | code that involves minimum overhead across a variety of architectures. | |
20 | ||
21 | %description -l pl.UTF-8 | |
22 | Pakiet udostępnia implementacja atomowych operacji uaktualnień pamięci | |
23 | dla wielu architektur. Pozwala to na ich bezpośrednie wykorzystanie we | |
24 | w miarę przenośnym kodzie. W przeciwieństwie do innych podobnych | |
25 | pakietów ten uwzględnia semantykę barier pamięciowych i pozwala na | |
26 | konstruowanie kodu na wielu różnych architekturach z minimalnym | |
27 | narzutem. | |
28 | ||
29 | %prep | |
30 | %setup -q | |
112b7cc3 | 31 | %patch0 -p1 |
d38a66ce JB |
32 | |
33 | %build | |
34 | %configure | |
35 | %{__make} | |
36 | ||
37 | %install | |
38 | rm -rf $RPM_BUILD_ROOT | |
39 | ||
40 | %{__make} install \ | |
41 | DESTDIR=$RPM_BUILD_ROOT | |
42 | ||
43 | %clean | |
44 | rm -rf $RPM_BUILD_ROOT | |
45 | ||
46 | %files | |
47 | %defattr(644,root,root,755) | |
48 | %doc AUTHORS INSTALL README doc/{LICENSING.txt,README.txt,README_malloc.txt,README_stack.txt} | |
49 | %{_libdir}/libatomic_ops.a | |
50 | %{_libdir}/libatomic_ops_gpl.a | |
51 | %{_includedir}/atomic_ops*.h | |
52 | %{_includedir}/atomic_ops |