diff --git a/.cvsignore b/.cvsignore index e69de29..37f5fa9 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +libatomic_ops-1.1.tar.gz diff --git a/libatomic_ops.spec b/libatomic_ops.spec new file mode 100644 index 0000000..ac8d415 --- /dev/null +++ b/libatomic_ops.spec @@ -0,0 +1,71 @@ +# No debug information gets generated from a static lib, so +# debuginfo will be empty. +%define debug_package %{nil} + +Name: libatomic_ops +Version: 1.1 +Release: 2%{?dist} +Summary: Atomic memory update operations + +Group: Development/Libraries +License: GPL/MIT +URL: http://www.hpl.hp.com/research/linux/atomic_ops/ +Source0: http://www.hpl.hp.com/research/linux/atomic_ops/download/%{name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +%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 devel +Summary: Atomic memory update operations +Group: Development/Libraries + +%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. + + +%prep +%setup -q +chmod a-x src/*.h + +%build +%configure +make %{?_smp_mflags} + + +%install +rm -rf $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files devel +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING INSTALL NEWS README +%{_includedir}/atomic_ops.h +%{_includedir}/atomic_ops_malloc.h +%{_includedir}/atomic_ops_stack.h +%{_includedir}/atomic_ops +%{_libdir}/%{name}*.a +%{_datadir}/%{name} + + +%changelog +* Sat Sep 9 2006 Pierre Ossman 1.1-2 +- Fix naming of package. +- General cleanup of spec file. + +* Wed Aug 30 2006 Pierre Ossman 1.1-1 +- Initial package for Fedora Extras. diff --git a/sources b/sources index e69de29..a495e87 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +359ed8a7c518eeb5f414102c7be24cf4 libatomic_ops-1.1.tar.gz