From e018b99e5e2acb8d98d213823acde9e27854257b Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 03:49:30 +0100 Subject: [PATCH] update to 7.2e [release 7.2e-1mamba;Sat Jan 25 2014] --- README.md | 3 ++ libatomic_ops.spec | 73 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 76 insertions(+) create mode 100644 libatomic_ops.spec diff --git a/README.md b/README.md index d248c2e..e375d31 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ # libatomic_ops +This package is empty, since the library is statically linked. +See libatomic_ops-devel. + diff --git a/libatomic_ops.spec b/libatomic_ops.spec new file mode 100644 index 0000000..1a0101d --- /dev/null +++ b/libatomic_ops.spec @@ -0,0 +1,73 @@ +%define srcdirver %(echo %version | sed "s|[a-z]$||") +Name: libatomic_ops +Epoch: 1 +Version: 7.2e +Release: 1mamba +Summary: Atomic memory update operations +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Fabio Giani +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 +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: pkg-config +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +This package is empty, since the library is statically linked. +See libatomic_ops-devel. + +%package devel +Group: Development/Libraries +Summary: Atomic memory update operations library + +%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. +This package contains static libraries and header files need for development. + +%prep +%setup -q -n %{name}-%{srcdirver} +chmod a-x src/*.h + +%build +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files devel +%defattr(-,root,root) +%{_libdir}/%{name}*.a +%{_includedir}/*.h +%dir %{_includedir}/atomic_ops +%{_includedir}/atomic_ops/*.h +%dir %{_includedir}/atomic_ops/sysdeps +%{_includedir}/atomic_ops/sysdeps/* +%{_libdir}/pkgconfig/atomic_ops.pc +%dir %{_datadir}/%{name} +%{_datadir}/%{name}/COPYING +%{_datadir}/%{name}/*.txt +%doc AUTHORS ChangeLog INSTALL NEWS + +%changelog +* Sat Jan 25 2014 Silvan Calarco 7.2e-1mamba +- update to 7.2e + +* Fri Aug 10 2012 Silvan Calarco 7.2-1mamba +- update to 7.2 + +* Sat Mar 01 2008 Fabio Giani 1.2-1mamba +- package created by autospec