jq-vl.spec 1.6 KB

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