2012-03-18 19:08:42 +01:00
|
|
|
#
|
|
|
|
# spec file for package lz4
|
|
|
|
#
|
|
|
|
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
Name: lz4
|
2012-09-01 13:25:18 +02:00
|
|
|
Version: 1.2d+77
|
2012-03-18 19:08:42 +01:00
|
|
|
Release: 0
|
|
|
|
Summary: Hash-based Predictive LZ compressor
|
|
|
|
Group: Productivity/Archiving/Compression
|
|
|
|
License: BSD-2-Clause
|
|
|
|
URL: http://code.google.com/p/lz4/
|
|
|
|
#URL: http://fastcompression.blogspot.com/p/lz4.html
|
|
|
|
|
|
|
|
#SVN-Clone: http://lz4.googlecode.com/svn/trunk
|
|
|
|
# Project offers no source tarballs.
|
2012-09-01 13:25:18 +02:00
|
|
|
Source: lz4-svn77.tar.xz
|
2012-03-18 19:08:42 +01:00
|
|
|
Patch1: lz4-automake.diff
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
BuildRequires: autoconf, automake, xz
|
|
|
|
|
|
|
|
%description
|
|
|
|
LZ4 is a very fast compressor, based on well-known LZ77 (Lempel-Ziv)
|
|
|
|
algorithm. Originally a fork from LZP2, it provides better
|
|
|
|
compression ratio for text files.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -qn %name
|
|
|
|
%patch -P 1 -p1
|
|
|
|
|
|
|
|
%build
|
|
|
|
autoreconf -fi;
|
|
|
|
%configure
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
2013-02-21 06:53:07 +01:00
|
|
|
make install DESTDIR="%buildroot"
|
2012-03-18 19:08:42 +01:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%_bindir/lz4
|
|
|
|
|
|
|
|
%changelog
|