.gear/jq.spec | 110 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ .gear/rules | 3 ++ .gear/tags/list | 1 + 3 files changed, 114 insertions(+) diff --git a/.gear/jq.spec b/.gear/jq.spec new file mode 100644 index 0000000..5dac275 --- /dev/null +++ b/.gear/jq.spec @@ -0,0 +1,110 @@ +%def_disable static +%def_disable docs + +Name: jq +%define lname lib%name +Version: 1.6 +Release: alt1 +Summary: Command-line JSON processor +Group: Development/Other +Source: %name-%version.tar +Patch0: %name-%version-alt.patch +Url: http://stedolan.github.io/jq/ +License: BSD-style +Requires: %lname = %EVR + +BuildRequires: flex liboniguruma-devel +BuildRequires: %{?!_disable_check:/proc valgrind ruby-tools} + +%description +%name is a command-line JSON processor. + +%package -n %lname +Summary: %name shared library +Group: System/Libraries + +%description -n %lname +%name shared library. + +%package -n %lname-devel +Summary: Files for devel with %name library +Group: Development/C +Requires: %lname = %EVR + +%description -n %lname-devel +Files for devel with %name library. + +%if_enabled static +%package -n %lname-devel-static +Summary: %name static library +Group: Development/C +Requires: %lname-devel = %version-%release + +%description -n %lname-devel-static +%name static library. +%endif + +%prep +%setup +%patch0 -p1 +rm scripts/version +printf "#!/bin/sh\necho %version\n" > scripts/version +chmod +x scripts/version + +%build +%autoreconf +./configure \ + --prefix=%_prefix \ + --libdir=%_libdir \ + --enable-shared \ + +%make_build V=1 + +%install +%makeinstall_std docdir=%_docdir/%name-%version +ln -sf README.md %buildroot%_docdir/%name-%version/README + +%check +export LD_LIBRARY_PATH=$PWD/.libs +%make_build check || : +cat ./test-suite.log + +%files +%doc %_docdir/%name-%version +%_bindir/* +%_man1dir/* + +%files -n %lname +%_libdir/*.so.* + +%files -n %lname-devel +%_includedir/* +%_libdir/*.so + +%if_enabled static +%files -n %lname-devel-static +%_libdir/*.a +%endif + +%changelog +* Mon Nov 05 2018 Anton Farygin 1.6-alt1 +- 1.6 + +* Thu May 31 2018 Anton Farygin 1.5-alt3 +- security update (fixes: CVE-2016-4074) + +* Thu Apr 05 2018 Anton Farygin 1.5-alt2 +- rebuilt for new liboniguruma + +* Wed May 10 2017 Anton Farygin 1.5-alt1 +- new version with security fixes (CVE-2015-8863) + +* Sun Jun 15 2014 Led 1.4-alt1 +- 1.4 +- added library subpackages + +* Tue Nov 12 2013 Led 1.3-alt2 +- fixed build with new automake + +* Fri Oct 11 2013 Led 1.3-alt1 +- initial build diff --git a/.gear/rules b/.gear/rules new file mode 100644 index 0000000..ef8bad5 --- /dev/null +++ b/.gear/rules @@ -0,0 +1,3 @@ +tar: @name@-@version@:. +diff: @name@-@version@:. . name=@name@-@version@-alt.patch +spec: .gear/jq.spec \ No newline at end of file diff --git a/.gear/tags/list b/.gear/tags/list new file mode 100644 index 0000000..6cd1267 --- /dev/null +++ b/.gear/tags/list @@ -0,0 +1 @@ +2e01ff1fb69609540b2bdc4e62a60499f2b2fb8e jq-1.6