2017-02-02 14:40:41 +00:00
|
|
|
#
|
|
|
|
|
# spec file for package liberasurecode
|
|
|
|
|
#
|
2021-02-28 18:04:29 +00:00
|
|
|
# Copyright (c) 2021 SUSE LLC
|
2017-02-02 14:40:41 +00:00
|
|
|
#
|
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
2019-08-06 09:36:28 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2017-02-02 14:40:41 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%define libsoname liberasurecode1
|
|
|
|
|
Name: liberasurecode
|
2022-05-06 08:36:31 +00:00
|
|
|
Version: 1.6.3
|
2017-02-02 14:40:41 +00:00
|
|
|
Release: 0
|
|
|
|
|
Summary: Erasure Code API library with pluggable Erasure Code backends
|
|
|
|
|
License: BSD-3-Clause
|
|
|
|
|
Group: Development/Libraries/C and C++
|
2019-08-06 09:36:28 +00:00
|
|
|
URL: https://github.com/openstack/liberasurecode
|
|
|
|
|
Source0: https://github.com/openstack/liberasurecode/archive/%{version}/%{name}-%{version}.tar.gz
|
2017-02-13 23:43:39 +00:00
|
|
|
BuildRequires: automake
|
|
|
|
|
BuildRequires: libtool
|
2021-02-28 18:04:29 +00:00
|
|
|
BuildRequires: pkgconfig
|
2019-08-06 09:36:28 +00:00
|
|
|
BuildRequires: pkgconfig(zlib)
|
2017-02-02 14:40:41 +00:00
|
|
|
|
|
|
|
|
%description
|
2017-02-13 23:43:39 +00:00
|
|
|
liberasurecode is an Erasure Code API library written in C with
|
|
|
|
|
pluggable Erasure Code backends.
|
2017-02-02 14:40:41 +00:00
|
|
|
|
|
|
|
|
%package -n %{libsoname}
|
|
|
|
|
Summary: Erasure Code API library with pluggable Erasure Code backends
|
2017-02-13 23:43:39 +00:00
|
|
|
Group: System/Libraries
|
2017-02-02 14:40:41 +00:00
|
|
|
|
|
|
|
|
%description -n %{libsoname}
|
2017-02-13 23:43:39 +00:00
|
|
|
liberasurecode is an Erasure Code API library written in C with
|
|
|
|
|
pluggable Erasure Code backends.
|
2017-02-02 14:40:41 +00:00
|
|
|
|
|
|
|
|
%package devel
|
2019-08-06 09:36:28 +00:00
|
|
|
Summary: Development files for liberasurecode
|
2017-02-02 14:40:41 +00:00
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
|
Requires: %{libsoname} = %{version}
|
|
|
|
|
|
|
|
|
|
%description devel
|
2017-02-13 23:43:39 +00:00
|
|
|
Development files for the Unified Erasure Coding interface.
|
2017-02-02 14:40:41 +00:00
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
./autogen.sh
|
2017-10-24 10:07:53 +00:00
|
|
|
%configure --disable-static --disable-mmi
|
2021-02-28 18:04:29 +00:00
|
|
|
%make_build
|
2017-02-02 14:40:41 +00:00
|
|
|
|
|
|
|
|
%install
|
2019-08-06 09:36:28 +00:00
|
|
|
%make_install
|
2017-02-02 14:40:41 +00:00
|
|
|
|
|
|
|
|
%check
|
2021-02-28 18:04:29 +00:00
|
|
|
%make_build test
|
2017-02-02 14:40:41 +00:00
|
|
|
|
|
|
|
|
%post -n %{libsoname} -p /sbin/ldconfig
|
|
|
|
|
%postun -n %{libsoname} -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%files -n %{libsoname}
|
2019-08-06 09:36:28 +00:00
|
|
|
%license COPYING
|
|
|
|
|
%doc ChangeLog README.md
|
2017-02-02 14:40:41 +00:00
|
|
|
%{_libdir}/libXorcode.so.*
|
|
|
|
|
%{_libdir}/liberasurecode.so.*
|
|
|
|
|
%{_libdir}/libnullcode.so.*
|
|
|
|
|
%{_libdir}/liberasurecode_rs_vand.so.*
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%{_includedir}/liberasurecode
|
|
|
|
|
%{_includedir}/config_liberasurecode.h
|
|
|
|
|
%{_includedir}/erasurecode*.h
|
|
|
|
|
%{_libdir}/libXorcode.la
|
|
|
|
|
%{_libdir}/libXorcode.so
|
|
|
|
|
%{_libdir}/liberasurecode.la
|
|
|
|
|
%{_libdir}/liberasurecode.so
|
|
|
|
|
%{_libdir}/libnullcode.la
|
|
|
|
|
%{_libdir}/libnullcode.so
|
|
|
|
|
%{_libdir}/liberasurecode_rs_vand.la
|
|
|
|
|
%{_libdir}/liberasurecode_rs_vand.so
|
|
|
|
|
%{_libdir}/pkgconfig/erasurecode-1.pc
|
|
|
|
|
|
|
|
|
|
%changelog
|