File mingw64-libatomic_ops.spec of Package mingw64-libatomic_ops
#
# spec file for package mingw64-libatomic_ops
#
# Copyright (c) 2014 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 http://bugs.opensuse.org/
#
Name: mingw64-libatomic_ops
Version: 7.4.4
Release: 0
Summary: A portable library for atomic memory operations
License: GPL-2.0-or-later and MIT
Group: Development/Libraries/C and C++
Url: http://www.hpl.hp.com/research/linux/atomic_ops/
Source: http://hboehm.info/gc/gc_source/libatomic_ops-%{version}.tar.gz
BuildRequires: mingw64-cross-binutils
BuildRequires: mingw64-cross-gcc
BuildRequires: mingw64-cross-pkg-config
BuildRequires: mingw64-filesystem
BuildRequires: xz
%_mingw64_package_header_debug
BuildArch: noarch
#!BuildIgnore: post-build-checks
%description
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 -n mingw64-libatomic_ops1
Summary: A portable library for atomic memory operations
Group: System/Libraries
Obsoletes: %{name} < %{version}-%{release}
Provides: %{name} = %{version}-%{release}
%description -n mingw64-libatomic_ops1
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 (development files)
Group: Development/Libraries/C and C++
%description devel
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.
%_mingw64_debug_package
%prep
%setup -q -n libatomic_ops-%{version}
%build
echo "lt_cv_deplibs_check_method='pass_all'" >>%{_mingw64_cache}
%{_mingw64_configure} \
--disable-static \
--enable-shared
make %{?_smp_mflags} || make
%install
make DESTDIR=%{buildroot} install %{?_smp_mflags}
%files -n mingw64-libatomic_ops1
%defattr(-,root,root)
%{_mingw64_bindir}/libatomic_ops-1.dll
%{_mingw64_bindir}/libatomic_ops_gpl-1.dll
%files devel
%defattr(-,root,root)
%{_mingw64_includedir}/atomic_ops*.h
%{_mingw64_includedir}/atomic_ops
%{_mingw64_libdir}/libatomic_ops.dll.a
%{_mingw64_libdir}/libatomic_ops_gpl.dll.a
%{_mingw64_libdir}/pkgconfig/atomic_ops.pc
%{_mingw64_datadir}/libatomic_ops
%changelog