Name:           zlib
Version:        1.3.2
Release:        1%?dist
License:        Zlib
URL:            https://zlib.net
Source:         https://github.com/madler/zlib/archive/v%{version}.tar.gz
Summary:        A massively spiffy yet delicately unobtrusive compression library
Conflicts:      zlib-ng-compat

BuildRequires:  gcc

%description
%summary.

%package devel
%pkg_devel_files

%package static
%pkg_static_files

%prep
%autosetup

%conf
%configure

%build
%make_build

%install
%make_install

%files
%license LICENSE
%doc README 
%_mandir/man3/zlib.3.*
%_libdir/libz.so.*

%changelog
* Tue Apr 21 2026 Owen Zimmerman <owen@fyralabs.com>
- Use %conf and %configure

* Wed Nov 26 2025 metcya <metcya@gmail.com>
- package zlib
