aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTing-Wei Lan <lantw44@gmail.com>2018-12-03 20:48:56 +0800
committerTing-Wei Lan <lantw44@gmail.com>2018-12-03 21:25:51 +0800
commit456d5a65122b940df47b2fe932cc8259456a2e4a (patch)
treecbb323aba74aad7371786612e565ad446733dcfb
parentc8ee32466b5a85c5423b5329576a7cbd520a5da9 (diff)
downloadcopr-rpm-spec-456d5a65122b940df47b2fe932cc8259456a2e4a.tar
copr-rpm-spec-456d5a65122b940df47b2fe932cc8259456a2e4a.tar.gz
copr-rpm-spec-456d5a65122b940df47b2fe932cc8259456a2e4a.tar.bz2
copr-rpm-spec-456d5a65122b940df47b2fe932cc8259456a2e4a.tar.lz
copr-rpm-spec-456d5a65122b940df47b2fe932cc8259456a2e4a.tar.xz
copr-rpm-spec-456d5a65122b940df47b2fe932cc8259456a2e4a.tar.zst
copr-rpm-spec-456d5a65122b940df47b2fe932cc8259456a2e4a.zip
guix: emacs-guix 0.4.1.1 -> 0.5
-rw-r--r--guix/emacs-guix/emacs-guix.spec9
-rw-r--r--guix/guile-gcrypt/guile-gcrypt.spec71
2 files changed, 77 insertions, 3 deletions
diff --git a/guix/emacs-guix/emacs-guix.spec b/guix/emacs-guix/emacs-guix.spec
index 113eb48..086341a 100644
--- a/guix/emacs-guix/emacs-guix.spec
+++ b/guix/emacs-guix/emacs-guix.spec
@@ -2,8 +2,8 @@
%global pkgname Guix
Name: emacs-%{pkg}
-Version: 0.4.1.1
-Release: 2%{?dist}
+Version: 0.5
+Release: 1%{?dist}
Summary: Emacs-Guix is an Emacs interface for GNU Guix package manager
License: GPLv3+
@@ -16,7 +16,7 @@ Source0: https://emacs-guix.gitlab.io/website/releases/%{name}-%{version}
BuildArch: noarch
BuildRequires: emacs, texinfo
BuildRequires: guix >= 0.13.0
-BuildRequires: pkgconfig(guile-2.0)
+BuildRequires: pkgconfig(guile-2.0), guile-gcrypt
BuildRequires: emacs-geiser, emacs-dash, emacs-bui, emacs-magit
Requires: emacs(bin) >= %{_emacs_version}
@@ -94,6 +94,9 @@ fi
%changelog
+* Sun Dec 02 2018 Ting-Wei Lan <lantw44@gmail.com> - 0.5-1
+- Update to 0.5
+
* Tue Oct 23 2018 Ting-Wei Lan <lantw44@gmail.com> - 0.4.1.1-2
- Rebuilt for Fedora 29 and 30
diff --git a/guix/guile-gcrypt/guile-gcrypt.spec b/guix/guile-gcrypt/guile-gcrypt.spec
new file mode 100644
index 0000000..3cfec5b
--- /dev/null
+++ b/guix/guile-gcrypt/guile-gcrypt.spec
@@ -0,0 +1,71 @@
+%global debug_package %{nil}
+
+Name: guile-gcrypt
+Version: 0.1.0
+Release: 1%{?dist}
+Summary: Guile bindings to Libgcrypt
+
+License: GPLv3+
+URL: https://notabug.org/cwebber/guile-gcrypt
+Source0: https://notabug.org/cwebber/guile-gcrypt/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
+
+%global guile_source_dir %{_datadir}/guile/site/2.0
+%global guile_ccache_dir %{_libdir}/guile/2.0/site-ccache
+
+BuildRequires: autoconf, automake, texinfo
+BuildRequires: pkgconfig(guile-2.0), libgcrypt-devel
+Requires: guile, libgcrypt-devel
+Requires(post): info
+Requires(preun): info
+
+%description
+Guile-Gcrypt provides a Guile 2.x interface to a subset of the GNU Libgcrypt
+crytographic library, which is itself used by the GNU Privacy Guard (GPG).
+
+Guile-Gcrypt provides modules for cryptographic hash functions, message
+authentication codes (MAC), public-key crytography, strong randomness, and
+more. It is implemented using the foreign function interface (FFI) of Guile.
+
+
+%prep
+%autosetup -n %{name} -p1
+
+
+%build
+./bootstrap.sh
+%configure
+%make_build
+
+
+%check
+%{__make} %{?_smp_mflags} check
+
+
+%install
+%make_install
+
+
+%post
+/sbin/install-info %{_infodir}/%{name}.info.gz %{_infodir}/dir || :
+
+
+%preun
+if [ "$1" = 0 ]; then
+ /sbin/install-info --del %{_infodir}/%{name}.info.gz %{_infodir}/dir || :
+fi
+
+
+%files
+%license COPYING
+%doc AUTHORS ChangeLog NEWS README
+%dir %{guile_source_dir}/gcrypt
+%dir %{guile_ccache_dir}/gcrypt
+%{guile_source_dir}/gcrypt/*.scm
+%{guile_ccache_dir}/gcrypt/*.go
+%{_infodir}/%{name}.info.gz
+%exclude %{_infodir}/dir
+
+
+%changelog
+* Sun Dec 02 2018 Ting-Wei Lan <lantw44@gmail.com> - 0.1.0-1
+- Initial packaging