SHA256
1
0
forked from pool/lz4

lz4-1.2.3+svn123

OBS-URL: https://build.opensuse.org/package/show/Archiving/lz4?expand=0&rev=13
This commit is contained in:
Jan Engelhardt 2014-10-01 12:23:22 +00:00 committed by Git OBS Bridge
parent 9e6a832b97
commit 3641d88213
6 changed files with 26 additions and 16 deletions

3
lz4-1.2.3+svn123.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1485e5d1d672014f02f5f4b72d449be183ee4500fc72235a4314e7118c1565d3
size 110180

View File

@ -7,7 +7,7 @@ Index: trunk/programs/fullbench.c
=================================================================== ===================================================================
--- trunk.orig/programs/fullbench.c --- trunk.orig/programs/fullbench.c
+++ trunk/programs/fullbench.c +++ trunk/programs/fullbench.c
@@ -109,7 +109,7 @@ @@ -107,7 +107,7 @@
# define LZ4_VERSION "" # define LZ4_VERSION ""
#endif #endif
#define AUTHOR "Yann Collet" #define AUTHOR "Yann Collet"
@ -20,8 +20,8 @@ Index: trunk/programs/lz4cli.c
=================================================================== ===================================================================
--- trunk.orig/programs/lz4cli.c --- trunk.orig/programs/lz4cli.c
+++ trunk/programs/lz4cli.c +++ trunk/programs/lz4cli.c
@@ -112,7 +112,7 @@ @@ -116,7 +116,7 @@
# define LZ4_VERSION "v1.2.0" # define LZ4_VERSION "r122"
#endif #endif
#define AUTHOR "Yann Collet" #define AUTHOR "Yann Collet"
-#define WELCOME_MESSAGE "*** %s %i-bits %s, by %s (%s) ***\n", COMPRESSOR_NAME, (int)(sizeof(void*)*8), LZ4_VERSION, AUTHOR, __DATE__ -#define WELCOME_MESSAGE "*** %s %i-bits %s, by %s (%s) ***\n", COMPRESSOR_NAME, (int)(sizeof(void*)*8), LZ4_VERSION, AUTHOR, __DATE__

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:96019c37ebf5546b5644eca7e79f5111aa784d877726641f3294147d04052fe9
size 141631

View File

@ -6,19 +6,19 @@ Index: trunk/programs/Makefile
=================================================================== ===================================================================
--- trunk.orig/programs/Makefile --- trunk.orig/programs/Makefile
+++ trunk/programs/Makefile +++ trunk/programs/Makefile
@@ -69,11 +69,11 @@ default: lz4 lz4c @@ -70,11 +70,11 @@ default: lz4 lz4c
all: lz4 lz4c lz4c32 fullbench fullbench32 fuzzer fuzzer32 datagen all: lz4 lz4c lz4c32 fullbench fullbench32 fuzzer fuzzer32 frametest datagen
-lz4: $(LZ4DIR)/lz4.c $(LZ4DIR)/lz4hc.c bench.c xxhash.c lz4io.c lz4cli.c -lz4: $(LZ4DIR)/lz4.c $(LZ4DIR)/lz4hc.c $(LZ4DIR)/xxhash.c bench.c lz4io.c lz4cli.c
- $(CC) $(FLAGS) -DDISABLE_LZ4C_LEGACY_OPTIONS $^ -o $@$(EXT) - $(CC) $(FLAGS) -DDISABLE_LZ4C_LEGACY_OPTIONS $^ -o $@$(EXT)
+lz4: bench.c xxhash.c lz4io.c lz4cli.c +lz4: $(LZ4DIR)/xxhash.c bench.c lz4io.c lz4cli.c
+ $(CC) $(FLAGS) -DDISABLE_LZ4C_LEGACY_OPTIONS $^ -o $@$(EXT) -L${LZ4DIR} -llz4 + $(CC) $(FLAGS) -DDISABLE_LZ4C_LEGACY_OPTIONS $^ -o $@$(EXT) -L${LZ4DIR} -llz4
-lz4c : $(LZ4DIR)/lz4.c $(LZ4DIR)/lz4hc.c bench.c xxhash.c lz4io.c lz4cli.c -lz4c : $(LZ4DIR)/lz4.c $(LZ4DIR)/lz4hc.c $(LZ4DIR)/xxhash.c bench.c lz4io.c lz4cli.c
- $(CC) $(FLAGS) $^ -o $@$(EXT) - $(CC) $(FLAGS) $^ -o $@$(EXT)
+lz4c: bench.c xxhash.c lz4io.c lz4cli.c +lz4c : $(LZ4DIR)/xxhash.c bench.c lz4io.c lz4cli.c
+ $(CC) $(FLAGS) $^ -o $@$(EXT) -L${LZ4DIR} -llz4 + $(CC) $(FLAGS) $^ -o $@$(EXT) -L${LZ4DIR} -llz4
lz4c32: $(LZ4DIR)/lz4.c $(LZ4DIR)/lz4hc.c bench.c xxhash.c lz4io.c lz4cli.c lz4c32: $(LZ4DIR)/lz4.c $(LZ4DIR)/lz4hc.c $(LZ4DIR)/xxhash.c bench.c lz4io.c lz4cli.c
$(CC) -m32 $(FLAGS) $^ -o $@$(EXT) $(CC) -m32 $(FLAGS) $^ -o $@$(EXT)

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Wed Oct 1 12:18:15 UTC 2014 - jengelh@inai.de
- Update to version 1.3.1+svn123
* Added a pkgconfig file
* Fix a LZ4HC streaming bug
* Updated the framing specificaiton to 1.4.1
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jul 16 14:34:44 UTC 2014 - jengelh@inai.de Wed Jul 16 14:34:44 UTC 2014 - jengelh@inai.de

View File

@ -18,7 +18,7 @@
Name: lz4 Name: lz4
%define lname liblz4-1 %define lname liblz4-1
Version: 1.2.0.r119 Version: 1.2.3+svn123
Release: 0 Release: 0
Summary: Hash-based Predictive Lempel-Ziv compressor Summary: Hash-based Predictive Lempel-Ziv compressor
License: GPL-2.0+ and BSD-2-Clause License: GPL-2.0+ and BSD-2-Clause
@ -28,11 +28,12 @@ Url: http://code.google.com/p/lz4/
#SVN-Clone: http://lz4.googlecode.com/svn/trunk #SVN-Clone: http://lz4.googlecode.com/svn/trunk
# Project offers no source tarballs. # Project offers no source tarballs.
Source: %name-svn119.tar.lz Source: %name-%version.tar.xz
Patch1: lz4-use-shlib.diff Patch1: lz4-use-shlib.diff
Patch2: lz4-killdate.diff Patch2: lz4-killdate.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: lzip BuildRequires: pkg-config
BuildRequires: xz
%description %description
LZ4 is a very fast compressor, based on well-known LZ77 (Lempel-Ziv) LZ4 is a very fast compressor, based on well-known LZ77 (Lempel-Ziv)
@ -95,5 +96,6 @@ rm -f "%buildroot/%_libdir"/*.a
%defattr(-,root,root) %defattr(-,root,root)
%_includedir/lz4*.h %_includedir/lz4*.h
%_libdir/liblz4.so %_libdir/liblz4.so
%_libdir/pkgconfig/*.pc
%changelog %changelog