aboutsummaryrefslogtreecommitdiffstats
path: root/guix/guile-json/guile-json.spec
blob: f154a77c18a0e94e0504276ccc867149f925eee9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
Name:           guile-json
Version:        0.4.0
Release:        1%{?dist}
Summary:        JSON module for Guile

License:        LGPLv3+
URL:            https://savannah.nongnu.org/projects/guile-json
Source0:        http://download.savannah.gnu.org/releases/%{name}/%{name}-%{version}.tar.gz

BuildArch:      noarch
BuildRequires:  guile
Requires:       guile

%description
guile-json is a JSON module for Guile. It supports parsing and building JSON
documents according to the http://json.org specification. These are the main
features:

- Strictly complies to http://json.org specification.
- Build JSON documents programmatically via macros.
- Unicode support for strings.
- Allows JSON pretty printing.


%prep
%setup -q


%build
%configure
make %{?_smp_mflags}


%install
%make_install


%files
%license COPYING COPYING.LESSER
%doc AUTHORS ChangeLog NEWS README
%{_datadir}/guile/site/json.scm
%{_datadir}/guile/site/json.go
%dir %{_datadir}/guile/site/json
%{_datadir}/guile/site/json/builder.go
%{_datadir}/guile/site/json/builder.scm
%{_datadir}/guile/site/json/parser.go
%{_datadir}/guile/site/json/parser.scm
%{_datadir}/guile/site/json/syntax.go
%{_datadir}/guile/site/json/syntax.scm



%changelog
* Sat Nov 21 2015 Ting-Wei Lan <lantw44@gmail.com> - 0.4.0-1
- Initial packaging