libatomic_ops/libatomic_ops.spec

105 lines
3.3 KiB
RPMSpec
Raw Permalink Normal View History

%define srcdirver %(echo %version | sed "s|[a-z]$||")
Name: libatomic_ops
Epoch: 1
Version: 7.6.12
Release: 1mamba
Summary: Atomic memory update operations
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Fabio Giani <fabio.giani@gmail.com>
URL: https://github.com/ivmai/libatomic_ops/
Source: http://www.ivmaisoft.com/_bin/atomic_ops/libatomic_ops-%{version}.tar.gz
License: GPL
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
%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
%{_libdir}/libatomic_ops.la
%{_libdir}/libatomic_ops_gpl.la
%{_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}/*
%dir %{_datadir}/doc/libatomic_ops
%{_datadir}/doc/libatomic_ops/*
%doc AUTHORS ChangeLog
%changelog
* Wed Oct 06 2021 Automatic Build System <autodist@mambasoft.it> 7.6.12-1mamba
- automatic version update by autodist
* Sat Mar 09 2019 Automatic Build System <autodist@mambasoft.it> 7.6.10-1mamba
- automatic version update by autodist
* Thu Dec 13 2018 Automatic Build System <autodist@mambasoft.it> 7.6.8-1mamba
- automatic version update by autodist
* Fri Aug 17 2018 Automatic Build System <autodist@mambasoft.it> 7.6.6-1mamba
- automatic version update by autodist
* Thu Mar 29 2018 Automatic Build System <autodist@mambasoft.it> 7.6.4-1mamba
- automatic version update by autodist
* Sun Jan 07 2018 Automatic Build System <autodist@mambasoft.it> 7.6.2-1mamba
- automatic version update by autodist
* Sat Nov 18 2017 Automatic Build System <autodist@mambasoft.it> 7.6.0-1mamba
- automatic update by autodist
* Tue Aug 08 2017 Automatic Build System <autodist@mambasoft.it> 7.4.6-1mamba
- automatic version update by autodist
* Mon Jun 13 2016 Automatic Build System <autodist@mambasoft.it> 7.4.4-1mamba
- automatic version update by autodist
* Tue Jun 17 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 7.4.2-1mamba
- update to 7.4.2
* 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