Blame SPECS/liberasurecode.spec

468240
Name:           liberasurecode
468240
Version:        1.6.2
468240
Release:        10%{?dist}
468240
Summary:        Erasure Code API library written in C with pluggable backends
468240
468240
# Main license is a 2-clause BSD with clause numbers removed for some reason.
468240
# Automatically converted from old format: BSD and CRC32 - review is highly recommended.
468240
License:        LicenseRef-Callaway-BSD AND LicenseRef-CRC32
468240
URL:            https://bitbucket.org/tsg-/liberasurecode/
468240
# We pull the tag using git CLI. Save the current command for Source0 below.
468240
#  tag=1.6.2 eval 'git archive -o ../liberasurecode-$tag.tar.gz --prefix=liberasurecode-$tag/ $tag'
468240
# Note that as of 1.2.0, liberasurecode migrated to github.com/openstack
468240
# and switched to tags without the 'v' prefix.
468240
Source0:        %{name}-%{version}.tar.gz
468240
Patch2:         liberasurecode-1.0.5-docs.patch
468240
Patch3:         liberasurecode-1.5.0-ldtest.patch
468240
468240
BuildRequires:  autoconf
468240
BuildRequires:  automake
468240
BuildRequires:  coreutils
468240
BuildRequires:  doxygen
468240
BuildRequires:  findutils
468240
BuildRequires:  gcc
468240
BuildRequires:  libtool
468240
BuildRequires:  make
468240
BuildRequires:  sed
468240
BuildRequires:  zlib-devel
468240
468240
%description
468240
An API library for Erasure Code, written in C. It provides a number
468240
of pluggable backends, such as Intel ISA-L library.
468240
468240
%package doc
468240
Summary:        Documentation for %{name}
468240
468240
%description doc
468240
The documentation for %{name}.
468240
468240
%package devel
468240
Summary:        Development files for %{name}
468240
Requires:       %{name}%{?_isa} = %{version}-%{release}
468240
Requires:       gcc
468240
468240
%description devel
468240
The %{name}-devel package contains libraries and header files for
468240
developing applications that use %{name}.
468240
468240
%prep
468240
%setup -q
468240
%patch -P2 -p1
468240
%patch -P3 -p1
468240
468240
%build
468240
autoreconf -i -v
468240
%configure --disable-static --disable-mmi
468240
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
468240
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
468240
make V=1 %{?_smp_mflags}
468240
468240
%check
468240
make test
468240
468240
%install
468240
%make_install
468240
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
468240
find $RPM_BUILD_ROOT%{_datadir}/doc -type f -exec chmod a-x {} ';'
468240
468240
%post
468240
/sbin/ldconfig
468240
468240
%postun
468240
/sbin/ldconfig
468240
468240
# N.B. We place .so to the main package because PyECLib insists on it.
468240
%files
468240
%license COPYING
468240
%doc AUTHORS ChangeLog README.md
468240
%{_libdir}/*.so
468240
%{_libdir}/*.so.*
468240
468240
%files doc
468240
%{_datadir}/doc/liberasurecode/html/*
468240
468240
%files devel
468240
%{_includedir}/*
468240
%{_libdir}/pkgconfig/erasurecode-1.pc
468240
468240
468240
%changelog
468240
* Mon Sep 02 2024 Miroslav Suchý <msuchy@redhat.com> - 1.6.2-10
468240
- convert license to SPDX
468240
468240
* Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.2-9
468240
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
468240
468240
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.2-8
468240
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
468240
468240
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.2-7
468240
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
468240
468240
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.2-6
468240
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
468240
468240
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.2-5
468240
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
468240
468240
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.2-4
468240
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
468240
468240
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.2-3
468240
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
468240
468240
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.2-2
468240
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
468240
468240
* Thu Jun 24 2021 Pete Zaitcev <zaitcev@redhat.com> - 1.6.2-1
468240
- Upstream 1.6.2
468240
- Drop patches that were upstream
468240
468240
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.1-3
468240
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
468240
468240
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.1-2
468240
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
468240
468240
* Wed Feb 05 2020  Pete Zaitcev <zaitcev@redhat.com> 1.6.1-1
468240
- Upstream 1.6.1
468240
- Add a patch for using strncpy on binary data
468240
- Add a patch for the warning about unitialized frags.array
468240
468240
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.0-5
468240
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
468240
468240
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.0-4
468240
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
468240
468240
* Tue Feb 12 2019 Pete Zaitcev <zaitcev@redhat.com> 1.6.0-3
468240
- Hush warnings that prevent building with our "warning-is-error" settings
468240
- Fix liberasurecode_crc32_alt on s390x
468240
468240
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.0-2
468240
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
468240
468240
* Fri Sep 21 2018 Pete Zaitcev <zaitcev@redhat.com> 1.6.0-1
468240
- Upstream 1.6.0
468240
468240
* Tue Sep 11 2018 Pete Zaitcev <zaitcev@redhat.com> 1.5.0-8
468240
- Ensure that we're using the correct checksum
468240
- Get tests pass on s390x (a big-endian arch)
468240
468240
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0-6
468240
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
468240
468240
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0-5
468240
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
468240
468240
* Wed Jan 10 2018 Pete Zaitcev <zaitcev@redhat.com> 1.5.0-4
468240
- Stop using -p in scrptlets, it's dangerous (#1532872)
468240
468240
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0-3
468240
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
468240
468240
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0-2
468240
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
468240
468240
* Wed Jul 05 2017 Pete Zaitcev <zaitcev@redhat.com> 1.5.0-1
468240
- Upstream 1.5.0: --disable-mmi is included upstream
468240
468240
* Thu May 25 2017 Pete Zaitcev <zaitcev@redhat.com> 1.4.0-3
468240
- Disable unportable optimizations, avoid crash with SIGILL (#1454543)
468240
468240
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-2
468240
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
468240
468240
* Thu Dec 08 2016 Pete Zaitcev <zaitcev@redhat.com> 1.4.0-1
468240
- Upstream 1.4.0: add isa_l_rs_cauchy
468240
468240
* Thu Oct 20 2016 Pete Zaitcev <zaitcev@redhat.com> 1.2.0-2
468240
- Relocate the .so from -devel to the main package, sigh (#1331977)
468240
468240
* Wed Oct 19 2016 Pete Zaitcev <zaitcev@redhat.com> 1.2.0-1
468240
- Upstream 1.2.0: compatible with PyECLib 1.3.1
468240
468240
* Thu Mar 03 2016 Pete Zaitcev <zaitcev@redhat.com> 1.1.1-1
468240
- Upstream 1.1.1: bugfixes for header locations and a segfault
468240
468240
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-2
468240
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
468240
468240
* Fri Oct 23 2015 Pete Zaitcev <zaitcev@redhat.com> 1.1.0-1
468240
- Upstream 1.1.0: better built-in reference implementation
468240
- Enable build-time tests
468240
468240
* Tue Sep 22 2015 Pete Zaitcev <zaitcev@redhat.com> 1.0.9-3
468240
- Address final review comments (#1208695)
468240
468240
* Tue Sep 15 2015 Pete Zaitcev <zaitcev@redhat.com> 1.0.9-2
468240
- Address review comments (#1208695)
468240
468240
* Fri Sep 11 2015 Pete Zaitcev <zaitcev@redhat.com> 1.0.9-1
468240
- Release 1.0.9: true plug-in architecture
468240
468240
* Fri Jul 31 2015 Pete Zaitcev <zaitcev@redhat.com> 1.0.8-1
468240
- Release 1.0.8: build and distribution fixes
468240
- Drop the patch for CFLAGS that was merged upstream
468240
468240
* Fri Apr 17 2015 Pete Zaitcev <zaitcev@redhat.com> 1.0.7-2
468240
- Add a patch to obey CFLAGS from the build system
468240
- Require doxygen, else -doc package fails to install
468240
468240
* Wed Apr 15 2015 Pete Zaitcev <zaitcev@redhat.com> 1.0.7-1
468240
- Release 1.0.7: needed by PyECLib 1.0.7
468240
- Fetch with "git archive": no more tsg--liberasurecode-4e1290ea61e5.tar.bz2
468240
- Drop patch for -ldl that upstream accepted
468240
468240
* Sun Mar 29 2015 Pete Zaitcev <zaitcev@redhat.com> 1.0.5-1
468240
- Initial release