forked from pool/lz4
Accepting request 208363 from home:dsterba:branches:Archiving
- update to svn 108, set version to 1.4 (current windows release) - added manpage - minor code updates OBS-URL: https://build.opensuse.org/request/show/208363 OBS-URL: https://build.opensuse.org/package/show/Archiving/lz4?expand=0&rev=7
This commit is contained in:
parent
74632d505a
commit
8b4deb0d22
@ -16,7 +16,7 @@ Index: trunk/Makefile.am
|
|||||||
===================================================================
|
===================================================================
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ trunk/Makefile.am
|
+++ trunk/Makefile.am
|
||||||
@@ -0,0 +1,19 @@
|
@@ -0,0 +1,21 @@
|
||||||
+# -*- Makefile -*-
|
+# -*- Makefile -*-
|
||||||
+
|
+
|
||||||
+AM_CFLAGS = -Wall -W -Wundef -Wcast-align -Wno-implicit-function-declaration \
|
+AM_CFLAGS = -Wall -W -Wundef -Wcast-align -Wno-implicit-function-declaration \
|
||||||
@ -24,18 +24,20 @@ Index: trunk/Makefile.am
|
|||||||
+
|
+
|
||||||
+lib_LTLIBRARIES = liblz4.la
|
+lib_LTLIBRARIES = liblz4.la
|
||||||
+liblz4_la_SOURCES = lz4.c lz4hc.c
|
+liblz4_la_SOURCES = lz4.c lz4hc.c
|
||||||
+liblz4_la_LDFLAGS = -release 0s102
|
+liblz4_la_LDFLAGS = -release 0s108
|
||||||
+
|
+
|
||||||
+include_HEADERS = lz4.h lz4hc.h
|
+include_HEADERS = lz4.h lz4hc.h
|
||||||
+
|
+
|
||||||
+bin_PROGRAMS = lz4c
|
+bin_PROGRAMS = lz4c
|
||||||
+lz4c_SOURCES = xxhash.c bench.c lz4c.c
|
+lz4c_SOURCES = xxhash.c bench.c lz4cli.c
|
||||||
+lz4c_LDADD = liblz4.la
|
+lz4c_LDADD = liblz4.la
|
||||||
+
|
+
|
||||||
+noinst_PROGRAMS = fuzzer fullbench
|
+noinst_PROGRAMS = fuzzer fullbench
|
||||||
+fuzzer_LDADD = liblz4.la
|
+fuzzer_LDADD = liblz4.la
|
||||||
+fullbench_SOURCES = fullbench.c xxhash.c
|
+fullbench_SOURCES = fullbench.c xxhash.c
|
||||||
+fullbench_LDADD = liblz4.la
|
+fullbench_LDADD = liblz4.la
|
||||||
|
+
|
||||||
|
+man1_MANS = lz4.1
|
||||||
Index: trunk/configure.ac
|
Index: trunk/configure.ac
|
||||||
===================================================================
|
===================================================================
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
|
@ -9,23 +9,23 @@ Index: trunk/fullbench.c
|
|||||||
+++ trunk/fullbench.c
|
+++ trunk/fullbench.c
|
||||||
@@ -105,7 +105,7 @@
|
@@ -105,7 +105,7 @@
|
||||||
//****************************
|
//****************************
|
||||||
#define COMPRESSOR_NAME "Full LZ4 speed analyzer"
|
#define COMPRESSOR_NAME "LZ4 speed analyzer"
|
||||||
#define COMPRESSOR_VERSION ""
|
#define COMPRESSOR_VERSION ""
|
||||||
-#define COMPILED __DATE__
|
-#define COMPILED __DATE__
|
||||||
+#define COMPILED "SUSE"
|
+#define COMPILED "SUSE"
|
||||||
#define AUTHOR "Yann Collet"
|
#define AUTHOR "Yann Collet"
|
||||||
#define WELCOME_MESSAGE "*** %s %s, by %s (%s) ***\n", COMPRESSOR_NAME, COMPRESSOR_VERSION, AUTHOR, COMPILED
|
#define WELCOME_MESSAGE "*** %s %s %i-bits, by %s (%s) ***\n", COMPRESSOR_NAME, COMPRESSOR_VERSION, (int)(sizeof(void*)*8), AUTHOR, COMPILED
|
||||||
|
|
||||||
Index: trunk/lz4c.c
|
Index: trunk/lz4cli.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- trunk.orig/lz4c.c
|
--- trunk.orig/lz4cli.c
|
||||||
+++ trunk/lz4c.c
|
+++ trunk/lz4cli.c
|
||||||
@@ -85,7 +85,7 @@
|
@@ -108,7 +108,7 @@
|
||||||
//****************************
|
//****************************
|
||||||
#define COMPRESSOR_NAME "LZ4 Compression CLI"
|
#define COMPRESSOR_NAME "LZ4 Compression CLI"
|
||||||
#define COMPRESSOR_VERSION ""
|
#define COMPRESSOR_VERSION "v1.0.8"
|
||||||
-#define COMPILED __DATE__
|
-#define COMPILED __DATE__
|
||||||
+#define COMPILED "SUSE"
|
+#define COMPILED "SUSE"
|
||||||
#define AUTHOR "Yann Collet"
|
#define AUTHOR "Yann Collet"
|
||||||
#define EXTENSION ".lz4"
|
#define LZ4_EXTENSION ".lz4"
|
||||||
#define WELCOME_MESSAGE "*** %s %s, by %s (%s) ***\n", COMPRESSOR_NAME, COMPRESSOR_VERSION, AUTHOR, COMPILED
|
#define WELCOME_MESSAGE "*** %s %i-bits %s, by %s (%s) ***\n", COMPRESSOR_NAME, (int)(sizeof(void*)*8), COMPRESSOR_VERSION, AUTHOR, COMPILED
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:a4ca723da9ee4ea1cb5ab1bf9b2ac11ffe15c62ef5a85ec5f90d5866921fb715
|
|
||||||
size 121264
|
|
3
lz4-svn108.tar.xz
Normal file
3
lz4-svn108.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:849ba02a6cf1e90565923fa1a01089cb53e876cb43181fd30eebee8134005cd6
|
||||||
|
size 140920
|
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Nov 25 23:07:48 UTC 2013 - dsterba@suse.com
|
||||||
|
|
||||||
|
- update to svn 108, set version to 1.4 (current windows release)
|
||||||
|
- added manpage
|
||||||
|
- minor code updates
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Sep 3 16:48:31 UTC 2013 - jengelh@inai.de
|
Tue Sep 3 16:48:31 UTC 2013 - jengelh@inai.de
|
||||||
|
|
||||||
|
8
lz4.spec
8
lz4.spec
@ -17,8 +17,8 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: lz4
|
Name: lz4
|
||||||
%define lname liblz4-0s102
|
%define lname liblz4-0s108
|
||||||
Version: 1.3.3+svn102
|
Version: 1.4+svn108
|
||||||
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,7 +28,7 @@ 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-svn102.tar.xz
|
Source: %name-svn108.tar.xz
|
||||||
Patch1: lz4-automake.diff
|
Patch1: lz4-automake.diff
|
||||||
Patch2: lz4-killdate.diff
|
Patch2: lz4-killdate.diff
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
@ -83,10 +83,12 @@ make %{?_smp_mflags}
|
|||||||
%install
|
%install
|
||||||
make install DESTDIR="%buildroot"
|
make install DESTDIR="%buildroot"
|
||||||
rm -f "%buildroot/%_libdir"/*.la
|
rm -f "%buildroot/%_libdir"/*.la
|
||||||
|
rm -f "%_bindir"/lz4
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%_bindir/lz4c
|
%_bindir/lz4c
|
||||||
|
%_mandir/man1/lz4.1*
|
||||||
|
|
||||||
%files -n %lname
|
%files -n %lname
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
Loading…
Reference in New Issue
Block a user