From 66994c041e2a02e0a0f20cf636b31b9cc7e65ef1647b945f0b523b7694d66712 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Tue, 1 Oct 2013 17:06:13 +0000 Subject: [PATCH] Accepting request 201621 from home:robert_munteanu OBS-URL: https://build.opensuse.org/request/show/201621 OBS-URL: https://build.opensuse.org/package/show/utilities/jq?expand=0&rev=1 --- .gitattributes | 23 ++++++++++++ .gitignore | 1 + _service | 12 ++++++ _service:download_url:jq-1.3.tar.gz | 3 ++ jq.changes | 5 +++ jq.spec | 57 +++++++++++++++++++++++++++++ 6 files changed, 101 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 _service create mode 100644 _service:download_url:jq-1.3.tar.gz create mode 100644 jq.changes create mode 100644 jq.spec 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/_service b/_service new file mode 100644 index 0000000..b04510a --- /dev/null +++ b/_service @@ -0,0 +1,12 @@ + + + http + stedolan.github.io + /jq/download/source/jq-1.3.tar.gz + + + _service:download_url:jq-1.3.tar.gz + sha256 + 623f23c36abfc1d96d85020cf421b56f90a229d566f26a4a0d3e8536244bfed7 + + diff --git a/_service:download_url:jq-1.3.tar.gz b/_service:download_url:jq-1.3.tar.gz new file mode 100644 index 0000000..c1b5f7d --- /dev/null +++ b/_service:download_url:jq-1.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:623f23c36abfc1d96d85020cf421b56f90a229d566f26a4a0d3e8536244bfed7 +size 333678 diff --git a/jq.changes b/jq.changes new file mode 100644 index 0000000..5139112 --- /dev/null +++ b/jq.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Tue Oct 1 15:09:01 UTC 2013 - robert.munteanu@gmail.com + +- Initial packaging of version 1.3 + diff --git a/jq.spec b/jq.spec new file mode 100644 index 0000000..46f68dd --- /dev/null +++ b/jq.spec @@ -0,0 +1,57 @@ +# +# spec file for package jq +# +# Copyright (c) 2013 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: jq +Version: 1.3 +Release: 0.0 +License: MIT +Summary: A lightweight and flexible command-line JSON processor +Url: http://stedolan.github.io/jq/ +Group: Productivity/Text/Utilities +Source: http://stedolan.github.io/jq/download/source/jq-1.3.tar.gz +BuildRequires: autoconf +BuildRequires: coreutils +BuildRequires: make +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description + +A lightweight and flexible command-line JSON processor. jq is like sed for +JSON data – you can use it to slice and filter and map and transform +structured data with the same ease that sed, awk, grep and friends let +you play with text. + +%prep +%setup -q + +%build +%configure +make %{?_smp_mflags} + +%install +%make_install + +# we install the documentation in a separate location using the doc macro +%{__rm} -rf %{buildroot}/usr/share/doc/%{name} + +%files +%defattr(-,root,root) +%doc README README.md COPYING AUTHORS +%{_bindir}/%{name} +%{_mandir}/man1/%{name}.1.gz + +%changelog