Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
44 lines (32 sloc) 780 Bytes
%define version 1.2
Summary: Command-line JSON processor
Name : jq
Version: %{version}
Release: 0%{?dist}.suzlab_2
Source0: jq-%{version}.tar.gz
URL : https://github.com/stedolan/jq
License: MIT
Group : Applications/System
%description
jq is a command-line JSON processor
%prep
%setup
%build
echo "Building in: \"$(pwd)\""
make
%install
echo "Installing to: \"${RPM_BUILD_ROOT}\""
install -d -m 0755 ${RPM_BUILD_ROOT}/usr/bin
install -m 0755 jq ${RPM_BUILD_ROOT}/usr/bin
%clean
rm -rf ${RPM_BUILD_ROOT}
%files
%defattr(-,root,root)
%{_bindir}/jq
%changelog
* Sun Jan 13 2013 Hiroyasu Suzuki <suzuki@suz-lab.com> - 1.2-0_2
- Change License from BSD to MIT. (My Mistake)
* Sat Jan 12 2013 Hiroyasu Suzuki <suzuki@suz-lab.com> - 1.2-0_1
- Initial Release
%pre
%post