2023-07-11 15:03:49 +00:00
|
|
|
# Be explicit about the soname in order to avoid unintentional changes.
|
|
|
|
%global soname libz-ng.so.2
|
|
|
|
|
2020-07-02 02:03:53 +00:00
|
|
|
Name: zlib-ng
|
2023-07-11 15:03:49 +00:00
|
|
|
Version: 2.1.3
|
2023-07-22 19:45:15 +00:00
|
|
|
Release: 2%{?dist}
|
2020-07-07 00:29:40 +00:00
|
|
|
Summary: Zlib replacement with optimizations
|
|
|
|
License: zlib
|
2020-07-02 02:03:53 +00:00
|
|
|
Url: https://github.com/zlib-ng/zlib-ng
|
2022-04-14 12:55:22 +00:00
|
|
|
Source0: https://github.com/zlib-ng/zlib-ng/archive/%{version}/%{name}-%{version}.tar.gz
|
2020-07-02 02:03:53 +00:00
|
|
|
|
|
|
|
ExclusiveArch: aarch64 i686 ppc64le s390x x86_64
|
2023-07-11 15:03:49 +00:00
|
|
|
BuildRequires: cmake >= 3.1
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: cmake(GTest)
|
2020-07-02 02:03:53 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
zlib-ng is a zlib replacement that provides optimizations for "next generation"
|
|
|
|
systems.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for %{name}
|
2020-07-07 00:29:40 +00:00
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
2020-07-02 02:03:53 +00:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
The %{name}-devel package contains static libraries and header files for
|
|
|
|
developing application that use %{name}.
|
|
|
|
|
|
|
|
%prep
|
2022-04-14 12:55:22 +00:00
|
|
|
%autosetup -p1 -n %{name}-%{version}
|
2020-07-02 02:03:53 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
# zlib-ng uses a different macro for library directory.
|
2020-07-10 00:40:18 +00:00
|
|
|
%cmake -DWITH_SANITIZERS=ON -DINSTALL_LIB_DIR=%{_libdir}
|
|
|
|
%cmake_build
|
2020-07-02 02:03:53 +00:00
|
|
|
|
|
|
|
%check
|
2020-07-10 00:40:18 +00:00
|
|
|
%ctest
|
2020-07-02 02:03:53 +00:00
|
|
|
|
|
|
|
%install
|
2020-07-10 00:40:18 +00:00
|
|
|
%cmake_install
|
2020-07-02 02:03:53 +00:00
|
|
|
|
|
|
|
%files
|
|
|
|
%license LICENSE.md
|
|
|
|
%doc README.md
|
2023-07-11 15:03:49 +00:00
|
|
|
%{_libdir}/libz-ng.so.%{version}
|
|
|
|
%{_libdir}/%{soname}
|
2020-07-02 02:03:53 +00:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%{_includedir}/zconf-ng.h
|
|
|
|
%{_includedir}/zlib-ng.h
|
2023-07-11 15:03:49 +00:00
|
|
|
%{_includedir}/zlib_name_mangling-ng.h
|
2020-07-07 00:29:40 +00:00
|
|
|
%{_libdir}/libz-ng.so
|
2020-09-14 01:52:56 +00:00
|
|
|
%{_libdir}/pkgconfig/%{name}.pc
|
2020-07-02 02:03:53 +00:00
|
|
|
|
|
|
|
%changelog
|
2023-07-22 19:45:15 +00:00
|
|
|
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.3-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
2023-07-11 15:03:49 +00:00
|
|
|
* Tue Jul 11 2023 Ali Erdinc Koroglu <aekoroglu@fedoraproject.org> - 2.1.3-1
|
|
|
|
- Update to 2.1.3
|
|
|
|
|
2023-01-21 08:18:49 +00:00
|
|
|
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.6-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
2022-07-23 13:58:12 +00:00
|
|
|
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.6-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
2022-04-14 12:55:22 +00:00
|
|
|
* Thu Apr 14 2022 Ali Erdinc Koroglu <aekoroglu@fedoraproject.org> - 2.0.6-1
|
|
|
|
- New upstream release 2.0.6
|
|
|
|
|
2022-01-22 05:54:16 +00:00
|
|
|
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.5-2.20210625gitc69f78bc5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
2021-08-07 23:45:41 +00:00
|
|
|
* Sat Aug 07 2021 Tulio Magno Quites Machado Filho <tuliom@ascii.art.br> - 2.0.2-5.20210625gitc69f78bc5e
|
|
|
|
- Update to v2.0.5.
|
|
|
|
|
2021-07-23 22:20:41 +00:00
|
|
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.2-2.20210323git5fe25907e
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
2021-04-18 16:37:26 +00:00
|
|
|
* Sun Apr 18 2021 Tulio Magno Quites Machado Filho <tuliom@ascii.art.br> - 2.0.2-1.20210323gite5fe25907e
|
|
|
|
- Update to v2.0.2.
|
|
|
|
- Remove the manpage that got removed from upstream.
|
|
|
|
|
2021-01-28 00:44:27 +00:00
|
|
|
* Thu Jan 28 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.9-0.4.20200912gite58738845
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2020-09-14 01:52:56 +00:00
|
|
|
* Sun Sep 13 2020 Tulio Magno Quites Machado Filho <tuliom@ascii.art.br> - 1.9.9-0.3.20200912gite58738845
|
|
|
|
- Update to a newer commit.
|
|
|
|
|
2020-07-29 15:25:49 +00:00
|
|
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.9-0.3.20200609gitfe69810c2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-07-10 00:40:18 +00:00
|
|
|
* Thu Jul 09 2020 Tulio Magno Quites Machado Filho <tuliom@ascii.art.br> - 1.9.9-0.2.20200609gitfe69810c2
|
|
|
|
- Replace cmake commands with new cmake macros
|
|
|
|
|
2020-07-07 00:29:40 +00:00
|
|
|
* Mon Jul 06 2020 Tulio Magno Quites Machado Filho <tuliom@ascii.art.br> - 1.9.9-0.1.20200609gitfe69810c2
|
|
|
|
- Improve the archive name.
|
|
|
|
- Starte release at 0.1 as required for prerelease.
|
|
|
|
- Make the devel package require an arch-dependent runtime subpackage.
|
|
|
|
- Remove %%ldconfig_scriptlets.
|
|
|
|
- Glob the man page extension.
|
|
|
|
- Move unversioned shared library to the devel subpackage
|
|
|
|
|
2020-07-02 02:03:53 +00:00
|
|
|
* Wed Jul 01 2020 Tulio Magno Quites Machado Filho <tuliom@ascii.art.br> - 1.9.9-0.20200609gitfe69810c2
|
|
|
|
- Initial commit
|