Files
jq/jq.spec
T

55 lines
1.0 KiB
RPMSpec
Raw Normal View History

2012-12-03 17:27:40 -06:00
# 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: %{version}
Release: %{release}
2012-12-03 17:27:40 -06:00
Source0: jq-%{version}.tar.gz
URL: https://github.com/stedolan/jq
2012-12-03 17:27:40 -06:00
License: BSD
AutoReqProv: no
2012-12-04 19:00:59 -06:00
#BuildPrereq: autoconf, libtool, automake, flex, bison, python
2012-12-03 17:27:40 -06:00
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}
2012-12-03 17:27:40 -06:00
%description
jq is a command-line JSON processor
2012-12-03 17:27:40 -06:00
%prep
%setup
%build
2012-12-03 17:27:40 -06:00
echo "Building in: \"$(pwd)\""
./configure --prefix=%{_prefix}
make
%install
2013-01-29 19:13:22 -06:00
echo "Installing to: \"${_buildroot}\""
make install DESTDIR=${_buildroot}
%clean
2013-01-29 19:13:22 -06:00
rm -rf ${_buildroot}
%files
%defattr(-,root,root)
2012-12-03 17:27:40 -06:00
%{_bindir}/jq
%{_bindir}/jq_test
%{_datadir}/doc/jq/AUTHORS
%{_datadir}/doc/jq/COPYING
%{_datadir}/doc/jq/INSTALL
%{_datadir}/doc/jq/NEWS
%{_datadir}/doc/jq/README
%{_datadir}/doc/jq/README.md
%changelog
%pre
%post