[packages/guile-json] - new
qboosh
qboosh at pld-linux.org
Sat Mar 29 19:41:07 CET 2025
commit 172ef3411d860cc8636f46a362bda3a850686dc1
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat Mar 29 19:25:23 2025 +0100
- new
guile-json-am.patch | 11 ++++++++++
guile-json.spec | 58 +++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 69 insertions(+)
---
diff --git a/guile-json.spec b/guile-json.spec
new file mode 100644
index 0000000..c807566
--- /dev/null
+++ b/guile-json.spec
@@ -0,0 +1,58 @@
+Summary: Guile JSON implementation
+Summary(pl.UTF-8): Implementacja JSON dla języka Guile
+Name: guile-json
+Version: 4.7.3
+Release: 1
+License: GPL v3+
+Group: Libraries
+#Source0Download: https://github.com/aconchillo/guile-json/tags
+Source0: https://github.com/aconchillo/guile-json/archive/%{version}/%{name}-%{version}.tar.gz
+# Source0-md5: 69093e6eb134a37224d73fe393fb39db
+Patch0: %{name}-am.patch
+URL: https://github.com/aconchillo/guile-json
+BuildRequires: autoconf >= 2.50
+BuildRequires: automake >= 1:1.11
+BuildRequires: guile-devel >= 5:2.0
+BuildRequires: guile-devel < 5:3.2
+BuildRequires: pkgconfig
+Requires: guile-libs >= 5:2.2
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+guile-json is a JSON module for Guile. It supports parsing and
+building JSON documents according to the <http://json.org/>
+specification.
+
+%description -l pl.UTF-8
+guile-json to moduł JSON dla języka Guile. Obsługuje analizę i
+tworzenie dokumentów JSON zgodnie ze specyfikacją <http://json.org/>.
+
+%prep
+%setup -q
+%patch -P0 -p1
+
+install -d build-aux
+
+%build
+%{__aclocal} -I m4
+%{__autoconf}
+%{__automake}
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS NEWS README.md
+%{_libdir}/guile/*.*/site-ccache/json.go
+%{_libdir}/guile/*.*/site-ccache/json
+%{_datadir}/guile/site/*.*/json.scm
+%{_datadir}/guile/site/*.*/json
diff --git a/guile-json-am.patch b/guile-json-am.patch
new file mode 100644
index 0000000..209f658
--- /dev/null
+++ b/guile-json-am.patch
@@ -0,0 +1,11 @@
+--- guile-json-4.7.3/Makefile.am.orig 2022-11-28 04:12:36.000000000 +0100
++++ guile-json-4.7.3/Makefile.am 2025-03-29 19:16:17.690458971 +0100
+@@ -21,7 +21,7 @@
+
+ SUBDIRS = json tests
+
+-ACLOCAL_AMFLAGS = -I build-aux
++ACLOCAL_AMFLAGS = -I m4
+
+ PKG_LIST_VERSION=$(shell echo $(PACKAGE_VERSION) | sed "s/\./ /g")
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/guile-json.git/commitdiff/172ef3411d860cc8636f46a362bda3a850686dc1
More information about the pld-cvs-commit
mailing list