Accepting request 109822 from home:jengelh:branches:Base:System
OBS-URL: https://build.opensuse.org/request/show/109822 OBS-URL: https://build.opensuse.org/package/show/Archiving/lz4?expand=0&rev=1
This commit is contained in:
commit
50794e89f5
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
29
lz4-automake.diff
Normal file
29
lz4-automake.diff
Normal file
@ -0,0 +1,29 @@
|
||||
---
|
||||
Makefile.am | 6 ++++++
|
||||
configure.ac | 8 ++++++++
|
||||
2 files changed, 14 insertions(+)
|
||||
|
||||
Index: lz4/Makefile.am
|
||||
===================================================================
|
||||
--- /dev/null
|
||||
+++ lz4/Makefile.am
|
||||
@@ -0,0 +1,6 @@
|
||||
+# -*- Makefile -*-
|
||||
+
|
||||
+AM_CFLAGS = -Wall -std=c99
|
||||
+
|
||||
+bin_PROGRAMS = lz4
|
||||
+lz4_SOURCES = lz4.c lz4.h bench.c lz4demo.c
|
||||
Index: lz4/configure.ac
|
||||
===================================================================
|
||||
--- /dev/null
|
||||
+++ lz4/configure.ac
|
||||
@@ -0,0 +1,8 @@
|
||||
+AC_INIT([lz4], [0])
|
||||
+AC_CONFIG_AUX_DIR([build-aux])
|
||||
+AC_CONFIG_HEADERS([config.h])
|
||||
+AM_INIT_AUTOMAKE([-Wall foreign subdir-objects tar-pax no-dist-gzip dist-xz])
|
||||
+AC_PROG_CC
|
||||
+AM_PROG_CC_C_O
|
||||
+AC_CONFIG_FILES([Makefile])
|
||||
+AC_OUTPUT
|
3
lz4-svn60.tar.xz
Normal file
3
lz4-svn60.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3b8930dcad38afa293b10203022ba20934be7718c93484b628be891b9a93dc6e
|
||||
size 14908
|
4
lz4.changes
Normal file
4
lz4.changes
Normal file
@ -0,0 +1,4 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 17 15:21:31 UTC 2012 - jengelh@medozas.de
|
||||
|
||||
- Initial package for build.opensuse.org
|
54
lz4.spec
Normal file
54
lz4.spec
Normal file
@ -0,0 +1,54 @@
|
||||
#
|
||||
# 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+60
|
||||
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-svn60.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
|
||||
%makeinstall
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%_bindir/lz4
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user