jq-vl.spec 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. %define ver 1.5
  2. %define rel 1
  3. Summary: a command-line JSON processor
  4. Name: jq
  5. Version: %{ver}
  6. Release: %{rel}%{?_dist_release}
  7. License: BSD
  8. Group: Applications/Text
  9. URL: http://stedolan.github.io/jq/
  10. Source0: http://stedolan.github.io/jq/download/source/%{name}-%{version}.tar.gz
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
  12. BuildRequires: oniguruma-devel
  13. Vendor: Project Vine
  14. Distribution: Vine Linux
  15. Packager: iwaim
  16. %description
  17. jq is like sed for JSON data – you can use it to slice and filter and
  18. map and transform structured data with the same ease that sed, awk,
  19. grep and friends let you play with text.
  20. %package devel
  21. Summary: Development files for %{name}
  22. Group: Development/Libraries
  23. Requires: %{name} = %{version}-%{release}
  24. %description devel
  25. The %{name}-devel package contains libraries and header files for
  26. developing applications that use %{name}.
  27. %prep
  28. %setup -q
  29. %configure --enable-shared --enable-static=no
  30. %build
  31. %__make
  32. %install
  33. rm -rf $RPM_BUILD_ROOT
  34. %makeinstall
  35. %clean
  36. rm -rf $RPM_BUILD_ROOT
  37. %check
  38. make check
  39. %post -p /sbin/ldconfig
  40. %postun -p /sbin/ldconfig
  41. %files
  42. %defattr(-,root,root,-)
  43. %doc AUTHORS COPYING README*
  44. %{_bindir}/jq
  45. %{_libdir}/libjq.so.*
  46. %{_mandir}/man1/jq.1*
  47. %files devel
  48. %defattr(-,root,root,-)
  49. %{_includedir}/*.h
  50. %{_libdir}/libjq.so
  51. %changelog
  52. * Fri Sep 2 2016 IWAI, Masaharu <iwaim.sub@gmail.com> 1.5-1
  53. - add BR: oniguruma-devel
  54. * Fri Jan 2 2015 IWAI, Masaharu <iwaim.sub@gmail.com> 1.4-1
  55. - initial release Vine Linux