diff options
author | Ting-Wei Lan <tingwei.lan@cobinhood.com> | 2019-05-17 11:14:31 +0800 |
---|---|---|
committer | Ting-Wei Lan <tingwei.lan@cobinhood.com> | 2019-05-17 11:47:18 +0800 |
commit | 6710027c8e999f12f36cc32a279137f822e62b98 (patch) | |
tree | ad3a8259277958b21ffa680b2814f3126d2ee671 /guix | |
parent | 88b3d1f1f90dc82d96dc60c80d8a22aa76db7372 (diff) | |
download | copr-rpm-spec-6710027c8e999f12f36cc32a279137f822e62b98.tar copr-rpm-spec-6710027c8e999f12f36cc32a279137f822e62b98.tar.gz copr-rpm-spec-6710027c8e999f12f36cc32a279137f822e62b98.tar.bz2 copr-rpm-spec-6710027c8e999f12f36cc32a279137f822e62b98.tar.lz copr-rpm-spec-6710027c8e999f12f36cc32a279137f822e62b98.tar.xz copr-rpm-spec-6710027c8e999f12f36cc32a279137f822e62b98.tar.zst copr-rpm-spec-6710027c8e999f12f36cc32a279137f822e62b98.zip |
guix: Pull in emacs-edit-indirect for emacs-guix
Diffstat (limited to 'guix')
-rw-r--r-- | guix/emacs-edit-indirect/emacs-edit-indirect.spec | 45 | ||||
-rw-r--r-- | guix/emacs-guix/emacs-guix.spec | 31 |
2 files changed, 65 insertions, 11 deletions
diff --git a/guix/emacs-edit-indirect/emacs-edit-indirect.spec b/guix/emacs-edit-indirect/emacs-edit-indirect.spec new file mode 100644 index 0000000..2c61ca5 --- /dev/null +++ b/guix/emacs-edit-indirect/emacs-edit-indirect.spec @@ -0,0 +1,45 @@ +%global pkg edit-indirect +%global pkgname edit-indirect + +Name: emacs-%{pkg} +Version: 0.1.5 +Release: 1%{?dist} +Summary: Edit regions in separate buffers + +License: BSD +URL: https://github.com/Fanael/edit-indirect +Source0: https://github.com/Fanael/edit-indirect/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz + +BuildArch: noarch +BuildRequires: emacs + +Requires: emacs(bin) >= %{_emacs_version} + +%description +%{pkgname} is an add-on package for GNU Emacs. It allows editing regions in +%separate buffers. + + +%prep +%autosetup -n edit-indirect-%{version} -p1 + + +%build + + +%install +mkdir -p %{buildroot}%{_emacs_sitelispdir} +install -m 755 -d %{buildroot}%{_emacs_sitelispdir}/edit-indirect +install -m 644 *.el %{buildroot}%{_emacs_sitelispdir}/edit-indirect/ +%{_emacs_bytecompile} %{buildroot}%{_emacs_sitelispdir}/edit-indirect/*.el + + +%files +%dir %{_emacs_sitelispdir}/edit-indirect +%{_emacs_sitelispdir}/edit-indirect/edit-indirect.el +%{_emacs_sitelispdir}/edit-indirect/edit-indirect.elc + + +%changelog +* Thu May 16 2019 Ting-Wei Lan <lantw44@gmail.com> - 0.1.5-1 +- Initial packaging diff --git a/guix/emacs-guix/emacs-guix.spec b/guix/emacs-guix/emacs-guix.spec index 9016333..74e3c44 100644 --- a/guix/emacs-guix/emacs-guix.spec +++ b/guix/emacs-guix/emacs-guix.spec @@ -3,24 +3,26 @@ Name: emacs-%{pkg} Version: 0.5.1.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Emacs-Guix is an Emacs interface for GNU Guix package manager License: GPLv3+ URL: https://emacs-guix.gitlab.io/website Source0: https://emacs-guix.gitlab.io/website/releases/%{name}-%{version}.tar.gz -%global guile_source_dir %{_datadir}/guile/site/2.0 -%global guile_ccache_dir %{_libdir}/guile/2.0/site-ccache +%global debug_package %{nil} +%global guile_source_dir %{_datadir}/guile/site/2.2 +%global guile_ccache_dir %{_libdir}/guile/2.2/site-ccache -BuildArch: noarch BuildRequires: emacs, texinfo BuildRequires: guix >= 0.13.0 -BuildRequires: pkgconfig(guile-2.0), guile-gcrypt -BuildRequires: emacs-geiser, emacs-dash, emacs-bui, emacs-magit +BuildRequires: pkgconfig(guile-2.2), guile-gcrypt +BuildRequires: emacs-geiser, emacs-dash, emacs-bui, emacs-edit-indirect +BuildRequires: emacs-magit, emacs-magit-popup Requires: emacs(bin) >= %{_emacs_version} -Requires: emacs-geiser, emacs-dash, emacs-bui, emacs-magit +Requires: emacs-geiser, emacs-dash, emacs-bui, emacs-edit-indirect +Requires: emacs-magit, emacs-magit-popup Suggests: guix Obsoletes: guix-emacs <= 0.8.3-1 @@ -44,10 +46,13 @@ available info about packages and to do many other things. %build %configure \ --with-lispdir=%{_emacs_sitelispdir}/%{pkg} \ - --with-guile-site-dir=%{guile_source_dir} \ \ - --with-guile-site-ccache-dir=%{guile_ccache_dir} \ - GUILE=%{_bindir}/guile \ - GUILD=%{_bindir}/guild + --with-geiser-lispdir=%{_emacs_sitelispdir}/geiser \ + --with-dash-lispdir=%{_emacs_sitelispdir}/dash \ + --with-bui-lispdir=%{_emacs_sitelispdir}/bui \ + --with-editindirect-lispdir=%{_emacs_sitelispdir}/edit-indirect \ + --with-popup-lispdir=%{_emacs_sitelispdir}/magit-popup \ + GUILE=%{_bindir}/guile2.2 \ + GUILD=%{_bindir}/guild2.2 %make_build @@ -94,6 +99,10 @@ fi %changelog +* Wed May 15 2019 Ting-Wei Lan <lantw44@gmail.com> - 0.5.1.1-2 +- Switch to Guile 2.2 +- Remove noarch because .go files are not architecture-independent + * Thu May 02 2019 Ting-Wei Lan <lantw44@gmail.com> - 0.5.1.1-1 - Update to 0.5.1.1 |