lzop/lzop.spec

57 lines
1.3 KiB
RPMSpec

# norootforbuild
%define _prefix /usr
Name: lzop
Version: 1.01
Release: 0
Summary: LZOP is a fast File Compressor
Source: http://www.lzop.org/download/lzop-%{version}.tar.gz
Patch1: lzop-lzo2.patch
URL: http://www.oberhumer.com/opensource/lzop/
Group: Archiving/Compression
License: GNU General Public License (GPL)
BuildRoot: %{_tmppath}/build-%{name}-%{version}
BuildRequires: lzo lzo-devel >= 2.0.0
BuildRequires: gcc make glibc-devel
BuildRequires: autoconf automake libtool
%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:
- speed (both compression and decompression)
- reasonable drop-in compatibility to gzip
- portability
%debug_package
%prep
%setup -q
%patch1
%patch2
%build
export CPPFLAGS="-I/usr/include/lzo"
export LDFLAGS="-L%{_libdir}"
%configure
%__make %{?jobs:-j%{jobs}}
%install
%makeinstall
%clean
%__rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING NEWS README THANKS
%{_bindir}/lzop
%doc %{_mandir}/man1/lzop.1*
%changelog
* Thu May 31 2007 Pascal Bleser <guru@unixtech.be>
- initial submission to openSUSE Build Service
- patch to compile against lzo 2