File libatomic-ops-devel.spec of Package libatomic-ops-devel
#
# spec file for package libatomic-ops-devel (Version 1.2)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: libatomic-ops-devel
Summary: A portable library for atomic memory operations
Version: 1.2
Release: 13
License: GPL v2 or later, X11/MIT
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
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
This package provides semi-portable access to hardware provided atomic
memory operations.
%prep
%setup -q -n libatomic_ops-%{version}
%patch
%patch1 -p1
%build
autoreconf -fi
%{?suse_update_config:%{suse_update_config -f}}
%configure
make
%install
%makeinstall
# remove unnecessary documents
rm -rf $RPM_BUILD_ROOT%{_datadir}/libatomic_ops
%clean
test "$RPM_BUILD_ROOT" != "/" -a -d "$RPM_BUILD_ROOT" && rm -rf $RPM_BUILD_ROOT
%files
%defattr(-, root, root)
%doc README COPYING AUTHORS ChangeLog
%doc doc/*.txt
%{_libdir}/lib*
%{_includedir}/*
%changelog
* Thu Aug 02 2007 - tiwai@suse.de
- fix ppc bugs in PPC assembler codes.
* Tue Jun 12 2007 - tiwai@suse.de
- fixed the build with s390.
* Fri Jun 08 2007 - tiwai@suse.de
- initial version: 1.2