]> git.pld-linux.org Git - SPECS.git/blob - jshon.spec
SPECS updated Sun 1 Aug 20:28:02 CEST 2021
[SPECS.git] / jshon.spec
1 Summary:        Jshon is a JSON parser designed for maximum convenience within the shell
2 Name:           jshon
3 Version:        20131010
4 Release:        2
5 License:        MIT
6 Group:          Applications/System
7 # Source0:      http://kmkeen.com/%{name}/jshon.tar.gz
8 Source0:        http://ftp.debian.org/debian/pool/main/j/jshon/%{name}_%{version}.orig.tar.gz
9 # Source0-md5:  f939755699cd152379f97a8a9e2fe7c4
10 URL:            http://kmkeen.com/jshon/
11 BuildRequires:  jansson-devel
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14 %description
15 Jshon is a JSON parser designed for maximum convenience within the
16 shell
17
18 %prep
19 %setup -q
20
21 %build
22 %{__make} \
23         CC="%{__cc}" \
24         CFLAGS="%{rpmcflags} %{rpmcppflags}" \
25         LDFLAGS="%{rpmldflags}"
26
27 %install
28 rm -rf $RPM_BUILD_ROOT
29 %{__make} install \
30         DESTDIR=$RPM_BUILD_ROOT
31
32 %clean
33 rm -rf $RPM_BUILD_ROOT
34
35 %files
36 %defattr(644,root,root,755)
37 %attr(755,root,root) %{_bindir}/jshon
38 %{_mandir}/man1/jshon.1*
This page took 0.549417 seconds and 3 git commands to generate.