Name: ncompress Version: 5.0 Release: 1 Summary: A fast, simple LZW file compressor License: Public Domain URL: http://ncompress.sourceforge.net/ Source0: https://github.com/vapier/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: git gcc glibc-devel %description Compress is a fast, simple LZW file compressor. Compress does not have the highest compression rate, but it is one of the fastest programs to compress data. Compress is the defacto standard in the UNIX community for compressing files. %package_help %prep %autosetup -n %{name}-%{version} -p1 %build make CFLAGS="%{optflags} %{build_ldflags}" %install install -D -p compress %{buildroot}%{_bindir}/compress ln -sf compress %{buildroot}%{_bindir}/uncompress install -D -p compress.1 %{buildroot}%{_mandir}/man1/compress.1 ln -sf compress.1 %{buildroot}%{_mandir}/man1/uncompress.1 %files %defattr(-,root,root) %doc LZW.INFO %attr(755,root,root) %{_bindir}/compress %{_bindir}/uncompress %files help %defattr(-,root,root) %doc Changes %{_mandir}/man1/*.gz %changelog * Mon Jun 27 2022 dillon chen -5.0-1 - update to 5.0 * Tue Feb 02 2021 shixuantong - 4.2.4.6-1 - Type:enhancement - ID:NA - SUG:NA - DESC:upgrade version to 4.2.4.6 * Sat Sep 21 2019 shenyangyang - 4.2.4.4-18 - Type:enhancement - ID:NA - SUG:NA - DESC:revise description * Thu Aug 22 2019 shenyangyang - 4.2.4.4-17 - Type:enhancement - ID:NA - SUG:NA - DESC:strenthen spec * Wed Aug 21 2019 fangyufa - 4.2.4.4-16 - Type:bugfix - ID:NA - SUG:NA - DESC:modify name of patch * Fri May 3 2019 hexiaowen - 4.2.4.4-15 - Type:bugfix - ID:NA - SUG:restart - DESC:compression with 9 bits don't work * Wed Aug 22 2018 openEuler Buildteam - 4.2.4.4-14 - Package init