Browse Source

jq 1.4-1

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@9212 ec354946-7b23-47d6-9f5a-488ba84defc7
iwaim 9 years ago
parent
commit
1cba3c3b4e
1 changed files with 67 additions and 0 deletions
  1. 67 0
      j/jq/jq-vl.spec

+ 67 - 0
j/jq/jq-vl.spec

@@ -0,0 +1,67 @@
+%define ver 1.4
+%define rel 1
+
+Summary: a command-line JSON processor
+Name: jq
+Version: %{ver}
+Release: %{rel}%{?_dist_release}
+License: BSD
+Group: Applications/Text
+URL: http://stedolan.github.io/jq/
+Source0: http://stedolan.github.io/jq/download/source/%{name}-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
+
+Vendor: Project Vine
+Distribution: Vine Linux
+Packager: iwaim
+
+%description
+jq is like sed for JSON data – you can use it to slice and filter and
+map and transform structured data with the same ease that sed, awk,
+grep and friends let you play with text.
+
+%package devel
+Summary: Development files for %{name}
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+The %{name}-devel package contains libraries and header files for
+developing applications that use %{name}.
+
+%prep
+%setup -q
+%configure --enable-shared --enable-static=no
+
+%build
+%__make
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%makeinstall
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%check
+make check
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root,-)
+%doc AUTHORS COPYING README*
+%{_bindir}/jq
+%{_libdir}/libjq.so.*
+%{_mandir}/man1/jq.1*
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/*.h
+%{_libdir}/libjq.so
+
+%changelog
+* Fri Jan  2 2015 IWAI, Masaharu <iwaim.sub@gmail.com>
+- initial release Vine Linux