]>
Commit | Line | Data |
---|---|---|
d38a66ce JB |
1 | Summary: Atomic operations implementation |
2 | Summary(pl.UTF-8): Implementacja operacji atomowych | |
3 | Name: libatomic_ops | |
adedc408 | 4 | # NOTE: 7.4.0 is considered experimental (as of Nov 2013) |
09e8033b JB |
5 | Version: 7.2g |
6 | Release: 1 | |
d38a66ce JB |
7 | License: MIT-like (libatomic_ops), GPL v2+ (libatomic_ops_gpl) |
8 | Group: Development/Libraries | |
09e8033b JB |
9 | #Source0Download: https://github.com/ivmai/libatomic_ops/wiki/Download |
10 | Source0: http://www.ivmaisoft.com/_bin/atomic_ops/%{name}-%{version}.tar.gz | |
11 | # Source0-md5: e6d1c85c90563555f1fde7a0980d41ab | |
12 | URL: https://github.com/ivmai/libatomic_ops/ | |
d38a66ce JB |
13 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
14 | ||
15 | %description | |
16 | Provides implementations for atomic memory update operations on a | |
17 | number of architectures. This allows direct use of these in reasonably | |
18 | portable code. Unlike earlier similar packages, this one explicitly | |
19 | considers memory barrier semantics, and allows the construction of | |
20 | code that involves minimum overhead across a variety of architectures. | |
21 | ||
22 | %description -l pl.UTF-8 | |
23 | Pakiet udostępnia implementacja atomowych operacji uaktualnień pamięci | |
24 | dla wielu architektur. Pozwala to na ich bezpośrednie wykorzystanie we | |
25 | w miarę przenośnym kodzie. W przeciwieństwie do innych podobnych | |
26 | pakietów ten uwzględnia semantykę barier pamięciowych i pozwala na | |
27 | konstruowanie kodu na wielu różnych architekturach z minimalnym | |
28 | narzutem. | |
29 | ||
30 | %prep | |
373e7c7d | 31 | %setup -q -n %{name}-7.2 |
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 | ||
09e8033b JB |
43 | %{__rm} $RPM_BUILD_ROOT%{_datadir}/libatomic_ops/{COPYING,LICENSING.txt,README*.txt} |
44 | ||
d38a66ce JB |
45 | %clean |
46 | rm -rf $RPM_BUILD_ROOT | |
47 | ||
48 | %files | |
49 | %defattr(644,root,root,755) | |
1ccd3ff4 | 50 | %doc AUTHORS ChangeLog README doc/{LICENSING.txt,README.txt,README_malloc.txt,README_stack.txt} |
d38a66ce JB |
51 | %{_libdir}/libatomic_ops.a |
52 | %{_libdir}/libatomic_ops_gpl.a | |
53 | %{_includedir}/atomic_ops*.h | |
54 | %{_includedir}/atomic_ops | |
1ccd3ff4 | 55 | %{_pkgconfigdir}/atomic_ops.pc |