Jan Engelhardt 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

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:61b5ca426f0f7b135bf18c2014a398b9417f23cdaf075aac96edf0328551a043
size 226437

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:254c34b5a6aa7c1b9549f81b0891ffb776e9fb87297d01f6682abad98ec42487
size 230358

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