Blame SPECS/liberasurecode.spec

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