Package init
This commit is contained in:
commit
d96bf198a5
BIN
libatomic_ops-7.6.6.tar.gz
Normal file
BIN
libatomic_ops-7.6.6.tar.gz
Normal file
Binary file not shown.
65
libatomic_ops.spec
Normal file
65
libatomic_ops.spec
Normal file
@ -0,0 +1,65 @@
|
||||
Name: libatomic_ops
|
||||
Version: 7.6.6
|
||||
Release: 2
|
||||
Summary: Atomic memory update operations
|
||||
License: GPLv2
|
||||
URL: https://github.com/ivmai/libatomic_ops/
|
||||
Source0: https://github.com/ivmai/libatomic_ops/releases/download/v%{version}/libatomic_ops-%{version}.tar.gz
|
||||
|
||||
BuildRequires: gcc
|
||||
|
||||
%description
|
||||
This package provides semi-portable access to hardware-provided
|
||||
atomic memory update operations on a number of architectures.
|
||||
|
||||
%package devel
|
||||
Summary: Development Package
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Provides: %{name}-static = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
The devel for %{name}
|
||||
|
||||
%package_help
|
||||
|
||||
%prep
|
||||
%autosetup -n %{name}-%{version} -p1
|
||||
|
||||
%build
|
||||
%configure --enable-shared --disable-silent-rules
|
||||
%{?disable_rpath}
|
||||
%make_build
|
||||
|
||||
%install
|
||||
%make_install
|
||||
|
||||
%check
|
||||
%make_build check
|
||||
|
||||
|
||||
%files
|
||||
%license COPYING
|
||||
%license doc/LICENSING.txt
|
||||
%{_libdir}/libatomic_ops.so.1*
|
||||
%{_libdir}/libatomic_ops_gpl.so.1*
|
||||
%exclude %{_libdir}/*.la
|
||||
%exclude %{_docdir}/libatomic_ops/{COPYING,README*,*.txt}
|
||||
|
||||
%files devel
|
||||
%doc doc/README*
|
||||
%{_includedir}/atomic_ops.h
|
||||
%{_includedir}/atomic_ops_malloc.h
|
||||
%{_includedir}/atomic_ops_stack.h
|
||||
%{_includedir}/atomic_ops/
|
||||
%{_libdir}/libatomic_ops.so
|
||||
%{_libdir}/libatomic_ops_gpl.so
|
||||
%{_libdir}/pkgconfig/atomic_ops.pc
|
||||
%{_libdir}/libatomic_ops.a
|
||||
%{_libdir}/libatomic_ops_gpl.a
|
||||
|
||||
%files help
|
||||
%doc AUTHORS ChangeLog README.md
|
||||
|
||||
%changelog
|
||||
* Tue Aug 20 2019 openEuler Buildteam <buildteam@openeuler.org> - 7.6.6-2
|
||||
- Package init
|
||||
Loading…
x
Reference in New Issue
Block a user