commit 4913858436e2b4779979224510f62ffcef0dc455 Author: Ismail Dönmez Date: Tue Feb 28 12:08:31 2017 +0000 Accepting request 460841 from home:alois:branches:utilities OBS-URL: https://build.opensuse.org/request/show/460841 OBS-URL: https://build.opensuse.org/package/show/utilities/miller?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..fecc750 --- /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/miller-5.0.0.tar.gz b/miller-5.0.0.tar.gz new file mode 100644 index 0000000..948dd74 --- /dev/null +++ b/miller-5.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:28fe39efd83b3134261fc5614d429f0f5df940036a4cf7577dc1a95bb9e2eec7 +size 5092738 diff --git a/miller.changes b/miller.changes new file mode 100644 index 0000000..f2eaf01 --- /dev/null +++ b/miller.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Tue Feb 28 10:28:05 UTC 2017 - aloisio@gmx.com + +- Initial package (v5.0.0) + diff --git a/miller.spec b/miller.spec new file mode 100644 index 0000000..983e318 --- /dev/null +++ b/miller.spec @@ -0,0 +1,61 @@ +# +# spec file for package miller +# +# Copyright (c) 2017 SUSE LINUX 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: miller +Version: 5.0.0 +Release: 0 +Summary: Name-indexed data processing tool +License: BSD-2-Clause +Group: Productivity/File utilities +Url: http://johnkerl.org/miller/doc +Source0: https://github.com/johnkerl/miller/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz +BuildRequires: automake +BuildRequires: libtool +BuildRequires: flex >= 2.5.35 +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +Miller (mlr) allows name-indexed data such as CSV and JSON files to be +processed with functions equivalent to sed, awk, cut, join, sort etc. It can +convert between formats, preserves headers when sorting or reversing, and +streams data where possible so its memory requirements stay small. It works +well with pipes and can feed "tail -f". + +%prep +%setup -q +%if 0%{?suse_version} >= 1320 +%ifarch %ix86 +sed -e 's/-pg//' -i c/Makefile.am +%endif +%endif + +%build +autoreconf -fi +%configure +make %{?_smp_mflags} + +%install +%make_install + +%files +%defattr(-,root,root) +%doc LICENSE.txt README.md +%{_bindir}/mlr +%{_mandir}/man1/mlr.1%{ext_man} + +%changelog