]>
Commit | Line | Data |
---|---|---|
1 | Summary: Atomic operations implementation | |
2 | Summary(pl.UTF-8): Implementacja operacji atomowych | |
3 | Name: libatomic_ops | |
4 | Version: 7.2d | |
5 | Release: 1 | |
6 | License: MIT-like (libatomic_ops), GPL v2+ (libatomic_ops_gpl) | |
7 | Group: Development/Libraries | |
8 | #Source0Download http://www.hpl.hp.com/research/linux/atomic_ops/download.php4 | |
9 | Source0: http://www.hpl.hp.com/research/linux/atomic_ops/download/%{name}-%{version}.tar.gz | |
10 | # Source0-md5: e6997db4875909e11b514cd5c3caa3cf | |
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 -n %{name}-7.2 | |
31 | ||
32 | %build | |
33 | %configure | |
34 | %{__make} | |
35 | ||
36 | %install | |
37 | rm -rf $RPM_BUILD_ROOT | |
38 | ||
39 | %{__make} install \ | |
40 | DESTDIR=$RPM_BUILD_ROOT | |
41 | ||
42 | %clean | |
43 | rm -rf $RPM_BUILD_ROOT | |
44 | ||
45 | %files | |
46 | %defattr(644,root,root,755) | |
47 | %doc AUTHORS ChangeLog README doc/{LICENSING.txt,README.txt,README_malloc.txt,README_stack.txt} | |
48 | %{_libdir}/libatomic_ops.a | |
49 | %{_libdir}/libatomic_ops_gpl.a | |
50 | %{_includedir}/atomic_ops*.h | |
51 | %{_includedir}/atomic_ops | |
52 | %{_pkgconfigdir}/atomic_ops.pc |