SHA256
1
0
forked from pool/lz4
lz4/lz4.spec

55 lines
1.6 KiB
RPMSpec
Raw Normal View History

#
# 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
Version: 1.2d+77
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.
Source: lz4-svn77.tar.xz
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
make install DESTDIR="%buildroot"
%files
%defattr(-,root,root)
%_bindir/lz4
%changelog