Blame SPECS/zchunk.spec

43f372
Name:           zchunk
43f372
Version:        1.1.9
43f372
Release:        4%{?dist}
43f372
Summary:        Compressed file format that allows easy deltas
43f372
License:        BSD and MIT
43f372
URL:            https://github.com/zchunk/zchunk
43f372
Source0:        %{url}/archive/%{version}/%{name}-%{version}.tar.gz
43f372
BuildRequires:  gcc
43f372
BuildRequires:  pkgconfig(libzstd)
43f372
BuildRequires:  pkgconfig(libcurl)
43f372
BuildRequires:  pkgconfig(openssl)
43f372
BuildRequires:  meson
43f372
Requires:       %{name}-libs%{_isa} = %{version}-%{release}
43f372
Provides:       bundled(buzhash-urlblock) = 0.1
43f372
43f372
%description
43f372
zchunk is a compressed file format that splits the file into independent
43f372
chunks.  This allows you to only download the differences when downloading a
43f372
new version of the file, and also makes zchunk files efficient over rsync.
43f372
zchunk files are protected with strong checksums to verify that the file you
43f372
downloaded is in fact the file you wanted.
43f372
43f372
%package libs
43f372
Summary: Zchunk library
43f372
43f372
%description libs
43f372
zchunk is a compressed file format that splits the file into independent
43f372
chunks.  This allows you to only download the differences when downloading a
43f372
new version of the file, and also makes zchunk files efficient over rsync.
43f372
zchunk files are protected with strong checksums to verify that the file you
43f372
downloaded is in fact the file you wanted.
43f372
43f372
This package contains the zchunk library, libzck.
43f372
43f372
%package devel
43f372
Summary: Headers for building against zchunk
43f372
Requires: %{name}-libs%{_isa} = %{version}-%{release}
43f372
43f372
%description devel
43f372
zchunk is a compressed file format that splits the file into independent
43f372
chunks.  This allows you to only download the differences when downloading a
43f372
new version of the file, and also makes zchunk files efficient over rsync.
43f372
zchunk files are protected with strong checksums to verify that the file you
43f372
downloaded is in fact the file you wanted.
43f372
43f372
This package contains the headers necessary for building against the zchunk
43f372
library, libzck.
43f372
43f372
%prep
43f372
%autosetup
43f372
# Remove bundled sha libraries
43f372
rm -rf src/lib/hash/sha*
43f372
43f372
%build
43f372
%meson -Dwith-openssl=enabled -Dwith-zstd=enabled
43f372
%meson_build
43f372
43f372
%install
43f372
%meson_install
43f372
mkdir -p %{buildroot}%{_libexecdir}
43f372
install contrib/gen_xml_dictionary %{buildroot}%{_libexecdir}/zck_gen_xml_dictionary
43f372
43f372
%check
43f372
%meson_test
43f372
43f372
%ldconfig_scriptlets libs
43f372
43f372
%files
43f372
%doc README.md contrib
43f372
%{_bindir}/zck*
43f372
%{_bindir}/unzck
43f372
%{_libexecdir}/zck_gen_xml_dictionary
43f372
%{_mandir}/man1/*.gz
43f372
43f372
%files libs
43f372
%license LICENSE
43f372
%doc README.md
43f372
%{_libdir}/libzck.so.*
43f372
43f372
%files devel
43f372
%doc zchunk_format.txt
43f372
%{_libdir}/libzck.so
43f372
%{_libdir}/pkgconfig/zck.pc
43f372
%{_includedir}/zck.h
43f372
43f372
%changelog
43f372
* Wed Jun 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.1.9-4
43f372
- Rebuilt for RHEL 9 BETA for openssl 3.0
43f372
  Related: rhbz#1971065
43f372
43f372
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.1.9-3
43f372
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
43f372
43f372
* Thu Jan 28 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.9-2
43f372
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
43f372
43f372
* Wed Dec 30 2020 Jonathan Dieter <jdieter@gmail.com> - 1.1.9-1
43f372
- Fixes for test failures with zstd-1.4.7+
43f372
- Add man pages
43f372
43f372
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.5-3
43f372
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
43f372
43f372
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.5-2
43f372
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
43f372
43f372
* Sat Jan 18 2020 Jonathan Dieter <jdieter@gmail.com> - 1.1.5-1
43f372
- Fix small bug in corner case when handling write failures
43f372
43f372
* Wed Nov 13 2019 Jonathan Dieter <jdieter@gmail.com> - 1.1.4-1
43f372
- Fix download failure when web server doesn't include content-type with each
43f372
  range
43f372
43f372
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.2-3
43f372
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
43f372
43f372
* Sun May 19 2019 Jonathan Dieter <jdieter@gmail.com> - 1.1.2-2
43f372
- Fix multipart range handling to work with quotes, fixes #1706627
43f372
- Fix file creation permissions so they respect umask
43f372
- Actually push new sources
43f372
43f372
* Tue Apr 16 2019 Adam Williamson <awilliam@redhat.com> - 1.1.1-3
43f372
- Rebuild with Meson fix for #1699099
43f372
43f372
* Mon Apr 15 2019 Jonathan Dieter <jdieter@gmail.com> - 1.1.1-2
43f372
- Fix compilation on GCC 4.4.7 so it builds on EL6
43f372
- Add missing sources
43f372
- Also, zchunk will now automatically do all your taxes
43f372
43f372
* Sat Mar 23 2019 Jonathan Dieter <jdieter@gmail.com> - 1.1.0-1
43f372
- Optimize chunk matching while downloading, significantly reducing CPU usage
43f372
43f372
* Sat Mar 16 2019 Jonathan Dieter <jdieter@gmail.com> - 1.0.4-1
43f372
- Fix multipart boundary bug when dealing with lighttpd servers
43f372
43f372
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.3-2
43f372
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
43f372
43f372
* Thu Jan 24 2019 Jonathan Dieter <jdieter@gmail.com> - 1.0.3-1
43f372
- Fix several memory leaks and use-after-frees
43f372
43f372
* Fri Dec 28 2018 Jonathan Dieter <jdieter@gmail.com> - 1.0.2-1
43f372
- Use hash table for finding identical chunks, speeding up process considerably
43f372
- Add test case to verify that identical chunk checking is working
43f372
43f372
* Sat Dec 22 2018 Jonathan Dieter <jdieter@gmail.com> - 1.0.0-1
43f372
- 1.0 release.  API/ABI stability is now guaranteed
43f372
43f372
* Sun Dec 09 2018 Jonathan Dieter <jdieter@gmail.com> - 0.9.17-1
43f372
- Turn off some tests for big-endian architectures since zstd isn't
43f372
  deterministic on them
43f372
43f372
* Sat Dec 08 2018 Jonathan Dieter <jdieter@gmail.com> - 0.9.16-1
43f372
- Add zck_gen_zdict binary to generate optimal zdict for a zchunk file
43f372
- Add functions to API to simplify extracting a single chunk
43f372
- Change default zstd compression to 9 for a 6x speed increase in compression
43f372
  speed for a 5% increase in compression size
43f372
43f372
* Tue Nov 13 2018 Jonathan Dieter <jdieter@gmail.com> - 0.9.15-1
43f372
- Switch from optional flags to more robust optional elements
43f372
43f372
* Thu Nov 01 2018 Jonathan Dieter <jdieter@gmail.com> - 0.9.14-1
43f372
- Sanity check hex hashes passed in as an option
43f372
43f372
* Mon Oct 08 2018 Jonathan Dieter <jdieter@gmail.com> - 0.9.13-1
43f372
- Add read support for zchunk files with optional flags
43f372
- Fix tests for zstd-1.3.6
43f372
43f372
* Fri Sep 28 2018 Jonathan Dieter <jdieter@gmail.com> - 0.9.11-1
43f372
- Fix small bug where creating a zck_dl context fails when zck context is NULL
43f372
43f372
* Tue Sep 18 2018 Jonathan Dieter <jdieter@gmail.com> - 0.9.10-1
43f372
- Update to 0.9.10
43f372
- Fixes security bugs found by Coverity
43f372
43f372
* Fri Aug 10 2018 Jonathan Dieter <jdieter@gmail.com> - 0.9.7-2
43f372
- Add contrib scripts to docs
43f372
- Fix test failures for zstd <= 1.3.4
43f372
- Add gen_xml_dictionary to libexecdir with zck_ prefix
43f372
43f372
* Wed Aug 01 2018 Jonathan Dieter <jdieter@gmail.com> - 0.9.5-1
43f372
- Update to 0.9.4
43f372
- Fix failing tests on ppc64, ppc64le, arm7, and s390x
43f372
- Fix intermittent parallel test failures
43f372
43f372
* Tue Jul 31 2018 Jonathan Dieter <jdieter@gmail.com> - 0.9.3-1
43f372
- Update to 0.9.3
43f372
- Fix intermittent bug where auto-chunking wasn't deterministic
43f372
43f372
* Mon Jul 30 2018 Jonathan Dieter <jdieter@gmail.com> - 0.9.2-1
43f372
- Update to 0.9.2
43f372
- Set minimum and maximum chunk sizes for both automatic and
43f372
  manual chunking
43f372
- New tests
43f372
- ABI (but not API change) - Use bool from stdbool.h
43f372
- Allow specification of output file in zck
43f372
43f372
* Wed Jul 25 2018 Jonathan Dieter <jdieter@gmail.com> - 0.9.1-1
43f372
- Update to 0.9.1
43f372
- New error handling functions
43f372
- File format changes
43f372
- API changes
43f372
- Proposed permanent stable ABI
43f372
- Fix Rawhide build error
43f372
43f372
* Thu Jul 12 2018 Jonathan Dieter <jdieter@gmail.com> - 0.7.6-1
43f372
- Update to 0.7.6
43f372
- SHA-512 and SHA-512/128 support
43f372
- New default chunk checksum type SHA-512/128
43f372
- Automatic chunking moved into libzck and is now default
43f372
- New option to disable automatic chunking
43f372
- Bugfixes
43f372
43f372
* Wed Jul 04 2018 Jonathan Dieter <jdieter@gmail.com> - 0.7.5-4
43f372
- Fix ldconfig scriptlets to run on libs package
43f372
- Rename zchunk-libs-devel to zchunk-devel
43f372
- Add BR: gcc
43f372
- Explicitly enable zstd and openssl support
43f372
- Simplify file globs
43f372
43f372
* Tue Jul 03 2018 Jonathan Dieter <jdieter@gmail.com> - 0.7.5-1
43f372
- Split libs into separate package
43f372
- Fix license
43f372
- Provide bundled buzhash
43f372
- Fix punctuation
43f372
- Simplify source0 using url macro
43f372
- Remove bundled sha library and add dependency on OpenSSL
43f372
43f372
* Mon Jul 02 2018 Jonathan Dieter <jdieter@gmail.com> - 0.7.4-2
43f372
- Add zchunk format definition to -devel documentation
43f372
43f372
* Fri Jun 22 2018 Jonathan Dieter <jdieter@gmail.com> - 0.7.4-1
43f372
- Add --stdout argument to unzck
43f372
- Use meson native versioning rather than manual header and fix
43f372
  pkgconfig output
43f372
43f372
* Tue Jun 12 2018 Jonathan Dieter <jdieter@gmail.com> - 0.7.2-1
43f372
- Rename zck_get_dl_range to zck_get_missing_range because it
43f372
  was too similar to the unrelated zck_dl_get_range function
43f372
43f372
* Mon Jun 11 2018 Jonathan Dieter <jdieter@gmail.com> - 0.7.1-1
43f372
- New functions in the library
43f372
43f372
* Fri Jun 08 2018 Jonathan Dieter <jdieter@gmail.com> - 0.7.0-1
43f372
- Massive API rework in preparation for ABI stability guarantee
43f372
43f372
* Wed Jun 06 2018 Jonathan Dieter <jdieter@gmail.com> - 0.6.2-1
43f372
- Header and API cleanup
43f372
- Fix warnings
43f372
43f372
* Tue Jun 05 2018 Jonathan Dieter <jdieter@gmail.com> - 0.6.0-1
43f372
- Massive rework of zckdl utility
43f372
- Main library no longer depends on curl, only zckdl utility
43f372
- Rework API
43f372
- Support for servers that have different maximum ranges in a request
43f372
43f372
* Thu May 10 2018 Jonathan Dieter <jdieter@gmail.com> - 0.5.2-1
43f372
- Add new zck_get_range() function
43f372
- Add tests
43f372
- Range functions are no longer prefixed with "Range: bytes="
43f372
43f372
* Wed May 09 2018 Jonathan Dieter <jdieter@gmail.com> - 0.5.0-1
43f372
- Command line utilities now provide help and usage examples and take
43f372
  proper flags
43f372
- Reading a zchunk header no longer automatically reads the dictionary
43f372
43f372
* Sun Apr 29 2018 Jonathan Dieter <jdieter@gmail.com> - 0.4.0-1
43f372
- Next release with incompatible file format changes
43f372
- File format has been reworked to allow checking of the header checksum
43f372
  without reading full header into memory at once
43f372
- Terminology changes for the header
43f372
43f372
* Fri Apr 20 2018 Jonathan Dieter <jdieter@gmail.com> - 0.3.0-1
43f372
- Next release with incompatible file format changes
43f372
- File format now supports streams and signatures
43f372
43f372
* Tue Apr 17 2018 Jonathan Dieter <jdieter@gmail.com> - 0.2.2-1
43f372
- First release
43f372
- Fix build on EL7