%define name lzop %define version 1.03 %define fversion %version %define release %mkrel 2 Summary: LZO fast file compressor Name: %{name} Version: %{version} Release: %{release} Source0: %{name}-%{fversion}.tar.gz License: GPLv2+ Group: Archiving/Compression BuildRoot: %{_tmppath}/%{name}-buildroot BuildRequires: liblzo-devel >= 2.00 URL: http://www.oberhumer.com/opensource/lzop/ %description lzop is a file compressor similar to gzip. Its main advantages over gzip are much higher compression and decompression speed at the cost of compression ratio. lzop was designed with the following goals in mind: 1) speed (both compression and decompression) 2) reasonable drop-in compatibility to gzip 3) portability %prep %setup -q -n %name-%fversion %build export CPPFLAGS="-D_FILE_OFFSET_BITS=64 -I%_includedir/lzo" %configure2_5x %make %install rm -rf $RPM_BUILD_ROOT %makeinstall_std %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc README COPYING AUTHORS NEWS THANKS doc/lzop.ps doc/lzop.html %_bindir/lzop %_mandir/man1/lzop.1* %changelog * Sat Jan 12 2013 umeabot <umeabot> 1.03-2.mga3 + Revision: 359228 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Thu Jan 27 2011 spuhler <spuhler> 1.03-1.mga3 + Revision: 41674 - imported package lzop