2024-01-06 03:49:30 +01:00
|
|
|
%define srcdirver %(echo %version | sed "s|[a-z]$||")
|
|
|
|
Name: libatomic_ops
|
|
|
|
Epoch: 1
|
2024-01-06 03:49:30 +01:00
|
|
|
Version: 7.4.6
|
2024-01-06 03:49:30 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: Atomic memory update operations
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Fabio Giani <fabio.giani@gmail.com>
|
2024-01-06 03:49:30 +01:00
|
|
|
URL: https://github.com/ivmai/libatomic_ops/
|
|
|
|
Source: http://www.ivmaisoft.com/_bin/atomic_ops/libatomic_ops-%{version}.tar.gz
|
2024-01-06 03:49:30 +01:00
|
|
|
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
|
2024-01-06 03:49:30 +01:00
|
|
|
%{_libdir}/libatomic_ops.la
|
|
|
|
%{_libdir}/libatomic_ops_gpl.la
|
2024-01-06 03:49:30 +01:00
|
|
|
%{_includedir}/*.h
|
|
|
|
%dir %{_includedir}/atomic_ops
|
|
|
|
%{_includedir}/atomic_ops/*.h
|
|
|
|
%dir %{_includedir}/atomic_ops/sysdeps
|
|
|
|
%{_includedir}/atomic_ops/sysdeps/*
|
|
|
|
%{_libdir}/pkgconfig/atomic_ops.pc
|
2024-01-06 03:49:30 +01:00
|
|
|
#%dir %{_datadir}/%{name}
|
|
|
|
#%{_datadir}/%{name}/*
|
|
|
|
%dir %{_datadir}/doc/libatomic_ops
|
|
|
|
%{_datadir}/doc/libatomic_ops/*
|
2024-01-06 03:49:30 +01:00
|
|
|
%doc AUTHORS ChangeLog
|
2024-01-06 03:49:30 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-06 03:49:30 +01:00
|
|
|
* Tue Aug 08 2017 Automatic Build System <autodist@mambasoft.it> 7.4.6-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 03:49:30 +01:00
|
|
|
* Mon Jun 13 2016 Automatic Build System <autodist@mambasoft.it> 7.4.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 03:49:30 +01:00
|
|
|
* Tue Jun 17 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 7.4.2-1mamba
|
|
|
|
- update to 7.4.2
|
|
|
|
|
2024-01-06 03:49:30 +01:00
|
|
|
* Sat Jan 25 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 7.2e-1mamba
|
|
|
|
- update to 7.2e
|
|
|
|
|
|
|
|
* Fri Aug 10 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 7.2-1mamba
|
|
|
|
- update to 7.2
|
|
|
|
|
|
|
|
* Sat Mar 01 2008 Fabio Giani <fabio.giani@gmail.com> 1.2-1mamba
|
|
|
|
- package created by autospec
|