source: projects/specs/trunk/j/jq/jq-vl.spec @ 12212

Revision 12212, 1.6 KB checked in by tomop, 5 years ago (diff)

updated 3 packages


jq-1.6-1

lua-rex-2.9.0-1

oniguruma-6.9.3-1

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