]> git.pld-linux.org Git - packages/guile-gnutls.git/commitdiff
- extracted from gnutls.spec, to be used for gnutls > 3.7.8
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 11 Dec 2022 16:46:58 +0000 (17:46 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Sun, 11 Dec 2022 16:46:58 +0000 (17:46 +0100)
guile-gnutls-info.patch [new file with mode: 0644]
guile-gnutls.spec [new file with mode: 0644]

diff --git a/guile-gnutls-info.patch b/guile-gnutls-info.patch
new file mode 100644 (file)
index 0000000..98a848f
--- /dev/null
@@ -0,0 +1,14 @@
+--- guile-gnutls-3.7.11/doc/gnutls-guile.texi.orig     2022-12-07 22:02:41.000000000 +0100
++++ guile-gnutls-3.7.11/doc/gnutls-guile.texi  2022-12-11 14:26:50.554727039 +0100
+@@ -29,9 +29,9 @@ Documentation License''.
+ @end quotation
+ @end copying
+-@dircategory Software libraries
++@dircategory Libraries:
+ @direntry
+-* Guile-GnuTLS: (gnutls-guile).               Guile bindings for GNU Transport Layer Security Library.
++* Guile-GnuTLS: (gnutls-guile).               Guile bindings for GNU Transport Layer Security Library
+ @end direntry
+ @titlepage
diff --git a/guile-gnutls.spec b/guile-gnutls.spec
new file mode 100644 (file)
index 0000000..f8ccb45
--- /dev/null
@@ -0,0 +1,63 @@
+Summary:       Guile bindings for GnuTLS
+Summary(pl.UTF-8):     Wi─ůzania Guile do GnuTLS
+Name:          guile-gnutls
+Version:       3.7.11
+# start building for gnutls 3.7.9+, which will drop guile binding from main repo
+Release:       0.1
+License:       LGPL v2.1+ (library), FDL v1.3+ (documentation)
+Group:         Development/Languages
+Source0:       https://ftp.gnu.org/gnu/gnutls/%{name}-%{version}.tar.gz
+# Source0-md5: 400b77f131ee16255659d90a4e6d4111
+Patch0:                %{name}-info.patch
+URL:           https://gitlab.com/gnutls/guile
+BuildRequires: gnutls-devel >= 3.7.9
+BuildRequires: guile >= 5:3.0
+BuildRequires: guile-devel >= 5:3.0
+BuildRequires: pkgconfig
+BuildRequires: texinfo
+Requires:      gnutls-libs >= 3.7.9
+Requires:      guile-libs >= 5:3.0
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define                _noautostrip    .*\.go
+
+%description
+Guile bindings for GnuTLS.
+
+%description -l pl.UTF-8
+Wi─ůzania Guile do GnuTLS.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+%configure \
+       --disable-silent-rules
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/guile/3.*/extensions/*.la
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
+
+%postun
+[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS COPYING ChangeLog NEWS README
+%attr(755,root,root) %{_libdir}/guile/3.*/extensions/guile-gnutls-v-2.so*
+%{_libdir}/guile/3.*/site-ccache/gnutls.go
+%{_libdir}/guile/3.*/site-ccache/gnutls
+%{_datadir}/guile/site/3.*/gnutls.scm
+%{_datadir}/guile/site/3.*/gnutls
+%{_infodir}/gnutls-guile.info*
This page took 0.093671 seconds and 4 git commands to generate.