blob: ffc9ef36a1b4e8845844e2be3698622bc11ad210 [file] [log] [blame]
# This is spec file maintained by developers of JQ, not by a OS distro.
# Your OS of choice will likely ignore this RPM spec file.
Summary: Command-line JSON processor
Name: jq
Version: %{myver}
Release: %{myrel}%{?dist}
Source0: jq-%{myver}.tar.gz
License: BSD
AutoReqProv: no
#BuildPrereq: autoconf, libtool, automake, flex, bison, python
Group: Applications/System
# Requires:
# Disables debug packages and stripping of binaries:
%global _enable_debug_package 0
%global debug_package %{nil}
%global __os_install_post %{nil}
# Crank up the compression
%define _binary_payload w7.lzdio
jq is a command-line JSON processor
echo "Building in: \"$(pwd)\""
%if "%{devbuild}" == "yes"
./configure --prefix=%{_prefix} --enable-devel
./configure --prefix=%{_prefix}
echo "Installing to: \"%{buildroot}\""
make install DESTDIR=%{buildroot}
rm -rf %{buildroot}
%if "%{devbuild}" == "yes"