2015-11-06 10:52:15 +01:00
|
|
|
#
|
|
|
|
# spec file for package guile-json
|
|
|
|
#
|
|
|
|
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: guile-json
|
|
|
|
Version: 0.4.0
|
|
|
|
Release: 0
|
|
|
|
Summary: JSON module for Guile
|
|
|
|
License: LGPL-3.0
|
2015-11-06 21:23:03 +01:00
|
|
|
Group: Development/Libraries/Other
|
2015-11-06 10:52:15 +01:00
|
|
|
Url: https://savannah.nongnu.org/projects/guile-json/
|
|
|
|
Source0: %{name}-%{version}.tar.gz
|
2015-11-06 21:23:03 +01:00
|
|
|
Source1: %{name}-%{version}.tar.gz.asc
|
2015-11-06 10:52:15 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2015-11-06 13:32:53 +01:00
|
|
|
BuildRequires: guile >= 2.0.0
|
2015-11-06 10:52:15 +01:00
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description
|
|
|
|
Guile-json is 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 %{_smp_mflags} DESTDIR="%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc
|
|
|
|
%{_datadir}/guile/site/json*
|
|
|
|
|
|
|
|
%changelog
|