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

Revision 10862, 1.5 KB checked in by iwaim, 7 years ago (diff)

jq 1.5-1

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