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