5
0
forked from pool/libatomic_ops
2013-05-26 20:07:42 +00:00
committed by Git OBS Bridge
parent b90c0a8afa
commit e132900640
4 changed files with 32 additions and 16 deletions

BIN
libatomic_ops-7.2alpha6.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
libatomic_ops-7.2d.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Sun May 26 20:05:34 UTC 2013 - jengelh@inai.de
- Update to upstream release 7.2d
- pkgconfig support, testsuite was fixed and no longer
loops endlessy/crashes
-------------------------------------------------------------------
Wed May 23 12:45:39 UTC 2012 - jengelh@inai.de

View File

@@ -16,18 +16,22 @@
#
Name: libatomic_ops
Summary: A portable library for atomic memory operations
License: GPL-2.0+ ; MIT
License: GPL-2.0+ and MIT
Group: Development/Languages/C and C++
Version: 7.2alpha6
Version: 7.2d
Release: 0
Url: http://www.hpl.hp.com/research/linux/atomic_ops/
Source: http://www.hpl.hp.com/research/linux/atomic_ops/download/libatomic_ops-%{version}.tar.gz
Source: http://www.hpl.hp.com/research/linux/atomic_ops/download/libatomic_ops-%version.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: autoconf automake
BuildRequires: autoconf automake, pkgconfig
%description
This package provides semi-portable access to hardware provided atomic
memory operations.
Provides implementations for atomic memory update operations on a
number of architectures. This allows direct use of these in reasonably
portable code. Unlike earlier similar packages, this one explicitly
considers memory barrier semantics, and allows the construction of code
that involves minimum overhead across a variety of architectures.
%package devel
Summary: A portable library for atomic memory operations
@@ -36,11 +40,14 @@ Obsoletes: libatomic-ops-devel < %version-%release
Provides: libatomic-ops-devel = %version-%release
%description devel
This package provides semi-portable access to hardware provided atomic
memory operations.
Provides implementations for atomic memory update operations on a
number of architectures. This allows direct use of these in reasonably
portable code. Unlike earlier similar packages, this one explicitly
considers memory barrier semantics, and allows the construction of code
that involves minimum overhead across a variety of architectures.
%prep
%setup -q
%setup -qn %name-7.2
%build
autoreconf -fi
@@ -48,9 +55,9 @@ autoreconf -fi
make %{?_smp_mflags}
%install
make DESTDIR=%{buildroot} install
make DESTDIR="%buildroot" install
# remove unnecessary documents
rm -rf $RPM_BUILD_ROOT%{_datadir}/libatomic_ops
rm -Rf "%buildroot/%_datadir/libatomic_ops"
%check
%if !0%{?qemu_user_space_build:1}
@@ -61,7 +68,9 @@ make check
%defattr(-, root, root)
%doc README COPYING AUTHORS ChangeLog
%doc doc/*.txt
%{_libdir}/lib*
%{_includedir}/*
%_libdir/libatomic_ops*.a
%_includedir/atomic_ops/
%_includedir/atomic_ops*.h
%_libdir/pkgconfig/atomic_ops.pc
%changelog