commit 50794e89f576c84adb770c4fd434ab9cb9f2d4f08f2bc8bd15b16dd6e14ae800 Author: Ismail Dönmez Date: Sun Mar 18 18:08:42 2012 +0000 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 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/lz4-automake.diff b/lz4-automake.diff new file mode 100644 index 0000000..dabd0bf --- /dev/null +++ b/lz4-automake.diff @@ -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 diff --git a/lz4-svn60.tar.xz b/lz4-svn60.tar.xz new file mode 100644 index 0000000..48eeebd --- /dev/null +++ b/lz4-svn60.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3b8930dcad38afa293b10203022ba20934be7718c93484b628be891b9a93dc6e +size 14908 diff --git a/lz4.changes b/lz4.changes new file mode 100644 index 0000000..4688beb --- /dev/null +++ b/lz4.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Sat Mar 17 15:21:31 UTC 2012 - jengelh@medozas.de + +- Initial package for build.opensuse.org diff --git a/lz4.spec b/lz4.spec new file mode 100644 index 0000000..105c9b8 --- /dev/null +++ b/lz4.spec @@ -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