Name: lrzip Version: 0.44 Release: 1 Summary: Compression program optimised for large files Group: Applications/File License: GPLv2+ URL: http://ck.kolivas.org/apps/lrzip/ Source0: http://ck.kolivas.org/apps/lrzip/%{name}-%{version}.tar.bz2 Patch0: %{name}-%{version}-aix.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: bzip2-devel, lzo-devel >= 2.03, zlib-devel >= 1.2.3 BuildRequires: tofrodos Requires: bzip2, lzo >= 2.03, zlib >= 1.2.3 %description Long Range ZIP or Lzma RZIP This is a compression program optimised for large files. The larger the file and the more memory you have, the better the compression advantage this will provide, especially once the files are larger than 100MB. The advantage can be chosen to be either size (much smaller than bzip2) or speed (much faster than bzip2). Decompression is always much faster than bzip2. %prep %setup -q fromdos * %patch0 %build export CC="cc -qcpluscmt -D_LARGE_FILES" ./configure \ --prefix=%{_prefix} \ --mandir=%{_mandir} make %{?_smp_mflags} %install [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} make install DESTDIR=${RPM_BUILD_ROOT} /usr/bin/strip ${RPM_BUILD_ROOT}%{_bindir}/* || : cd ${RPM_BUILD_ROOT} mkdir -p usr/bin cd usr/bin ln -sf ../..%{_bindir}/* . %clean [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} %files %defattr(-,root,system,-) %doc COPYING README %{_bindir}/* %{_mandir}/man?/* %{_datadir}/doc/%{name}-%{version} /usr/bin/* %changelog * Fri Jan 15 2010 Michael Perzl - 0.44-1 - first version for AIX V5.1 and higher