[packages/guile-curl] - new

qboosh qboosh at pld-linux.org
Fri May 24 21:59:15 CEST 2024


commit 2fc53859fdd184895d8ce30a59185d9e1fb838c8
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Fri May 24 21:52:23 2024 +0200

    - new

 guile-curl-info.patch | 14 ++++++++++
 guile-curl.spec       | 74 +++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 88 insertions(+)
---
diff --git a/guile-curl.spec b/guile-curl.spec
new file mode 100644
index 0000000..c82851e
--- /dev/null
+++ b/guile-curl.spec
@@ -0,0 +1,74 @@
+Summary:	URL-fetching library for Guile
+Summary(pl.UTF-8):	Biblioteka pobierania URL-i dla Guile
+Name:		guile-curl
+Version:	0.9
+Release:	1
+License:	GPL v3+
+Group:		Libraries
+#Source0Download: https://github.com/spk121/guile-curl/releases
+Source0:	https://github.com/spk121/guile-curl/archive/v%{version}/%{name}-%{version}.tar.gz
+# Source0-md5:	1dee446b9c0cb62aa415d57dfb3a8439
+Patch0:		%{name}-info.patch
+URL:		https://github.com/spk121/guile-curl
+BuildRequires:	autoconf >= 2.64
+BuildRequires:	automake
+BuildRequires:	curl-devel
+BuildRequires:	guile-devel >= 5:2.2
+BuildRequires:	guile-devel < 5:3.2
+BuildRequires:	libtool >= 2:2
+BuildRequires:	pkgconfig
+BuildRequires:	texinfo
+Requires:	guile-libs >= 5:2.2
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+guile-curl is a project that has procedures that allow Guile to do
+client-side URL transfers, like requesting documents from HTTP or FTP
+servers. It is based on the libcurl library.
+
+%description -l pl.UTF-8
+guile-curl to projekt zawierający procedury pozwalające na wykonywanie
+z poziomu Guile klienckich transferów URL-i, np. żadanie dokumentów z
+serwerów HTTP lub FTP. Jest oparty na bibliotece libcurl.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+%{__libtoolize}
+%{__aclocal} -I m4
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/guile/3.0/extensions/*.la
+
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+%{__mv} $RPM_BUILD_ROOT%{_docdir}/%{name}/*.scm $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post	-p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
+
+%postun	-p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS NEWS README TODO
+%attr(755,root,root) %{_libdir}/guile/3.0/extensions/libguile-curl.so*
+%{_libdir}/guile/3.0/site-ccache/curl.go
+%{_datadir}/guile/site/3.0/curl.scm
+%{_infodir}/guile-curl.info*
+%{_examplesdir}/%{name}-%{version}
diff --git a/guile-curl-info.patch b/guile-curl-info.patch
new file mode 100644
index 0000000..ae08d27
--- /dev/null
+++ b/guile-curl-info.patch
@@ -0,0 +1,14 @@
+--- guile-curl-0.9/doc/guile-curl.texi.orig	2021-01-20 00:41:40.000000000 +0100
++++ guile-curl-0.9/doc/guile-curl.texi	2024-05-24 21:32:38.840285881 +0200
+@@ -51,9 +51,9 @@ Includes portions of the libcurl documen
+ @copyright{} 1998 - 2018 Daniel Stenberg, et al.
+ @end copying
+ 
+- at dircategory The Algorithmic Language Scheme
++ at dircategory Programming Languages:
+ @direntry
+-* Guile Curl: (guile-curl).     A URL-fetching library for Guile.
++* Guile Curl: (guile-curl).		A URL-fetching library for Guile
+ @end direntry
+ 
+ @titlepage
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/guile-curl.git/commitdiff/2fc53859fdd184895d8ce30a59185d9e1fb838c8



More information about the pld-cvs-commit mailing list