Accepting request 237443 from home:prusnak:branches:utilities

- updated to 1.4

OBS-URL: https://build.opensuse.org/request/show/237443
OBS-URL: https://build.opensuse.org/package/show/utilities/jq?expand=0&rev=5
This commit is contained in:
Robert Munteanu 2014-06-15 21:14:53 +00:00 committed by Git OBS Bridge
parent 72336de9c1
commit eb1c8d9f45
4 changed files with 49 additions and 13 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:623f23c36abfc1d96d85020cf421b56f90a229d566f26a4a0d3e8536244bfed7
size 333678

3
jq-1.4.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:998c41babeb57b4304e65b4eb73094279b3ab1e63801b6b4bddd487ce009b39d
size 578317

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Jun 15 20:52:42 UTC 2014 - prusnak@opensuse.org
- updated to 1.4
-------------------------------------------------------------------
Thu Oct 17 15:55:03 UTC 2013 - cdenicolo@suse.com
@ -7,5 +12,5 @@ Thu Oct 17 15:55:03 UTC 2013 - cdenicolo@suse.com
-------------------------------------------------------------------
Tue Oct 1 15:09:01 UTC 2013 - robert.munteanu@gmail.com
- Initial packaging of version 1.3
- Initial packaging of version 1.3

49
jq.spec
View File

@ -1,7 +1,7 @@
#
# spec file for package jq
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2014 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
@ -15,26 +15,41 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: jq
Version: 1.3
Release: 0.0
License: MIT and CC-BY-3.0
Version: 1.4
Release: 0
Summary: A lightweight and flexible command-line JSON processor
License: MIT and CC-BY-3.0
Group: Productivity/Text/Utilities
Url: http://stedolan.github.io/jq/
Group: Productivity/Text/Utilities
Source: http://stedolan.github.io/jq/download/source/jq-1.3.tar.gz
Source: http://stedolan.github.io/jq/download/source/%{name}-%{version}.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
structured data with the same ease that sed, awk, grep and friends let
you play with text.
%package -n libjq1
Summary: Library for a lightweight and flexible command-line JSON processor
Group: System/Libraries
%description -n libjq1
Library for a lightweight and flexible command-line JSON processor.
%package -n libjq-devel
Summary: Development files for jq
Group: Development/Languages/C and C++
Requires: libjq1 = %{version}
%description -n libjq-devel
Development files (headers and libraries for jq).
%prep
%setup -q
@ -46,7 +61,11 @@ make %{?_smp_mflags}
%make_install
# we install the documentation in a separate location using the doc macro
%{__rm} -rf %{buildroot}/usr/share/doc/%{name}
rm -rf %{buildroot}%{_datadir}/doc/%{name}
%post -n libjq1 -p /sbin/ldconfig
%postun -n libjq1 -p /sbin/ldconfig
%files
%defattr(-,root,root)
@ -54,4 +73,16 @@ make %{?_smp_mflags}
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1.gz
%files -n libjq1
%defattr(-,root,root)
%{_libdir}/libjq.so.1*
%files -n libjq-devel
%defattr(-,root,root)
%{_includedir}/jq.h
%{_includedir}/jv.h
%{_libdir}/libjq.a
%{_libdir}/libjq.la
%{_libdir}/libjq.so
%changelog