File libatomic-ops-devel.spec of Package libatomic-ops-devel

# spec file for package libatomic-ops-devel (Version 1.2)
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

# norootforbuild

Name:           libatomic-ops-devel
Summary:        A portable library for atomic memory operations
Version:        1.2
Release:        87
License:        GPL v2 or later ; MIT License (or similar)
Group:          Development/Languages/C and C++
Source:         libatomic_ops-%{version}.tar.bz2
Patch:          libatomic-ops-1.2-s390-fix.diff
Patch1:         libatomic_ops-1.2-ppclwzfix.patch
Patch2:         libatomic_ops-1.2-am.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

This package provides semi-portable access to hardware provided atomic
memory operations.

%setup -q -n libatomic_ops-%{version}
%patch1 -p1
%patch2 -p1

autoreconf -fi
%{?suse_update_config:%{suse_update_config -f}}

# remove unnecessary documents
rm -rf $RPM_BUILD_ROOT%{_datadir}/libatomic_ops

test "$RPM_BUILD_ROOT" != "/" -a -d "$RPM_BUILD_ROOT" && rm -rf $RPM_BUILD_ROOT

%defattr(-, root, root)
%doc doc/*.txt

openSUSE Build Service is sponsored by