From fe0f30bd9fca4020297c50b930dc0cb19194c24a Mon Sep 17 00:00:00 2001 From: Ting-Wei Lan Date: Mon, 3 Dec 2018 20:47:04 +0800 Subject: guix: emacs-ghub 2.0.1 -> 3.0.0 --- guix/emacs-ghub/emacs-ghub.spec | 28 +++++++++++++++++--- guix/emacs-graphql/emacs-graphql.spec | 47 ++++++++++++++++++++++++++++++++++ guix/emacs-treepy/emacs-treepy.spec | 48 +++++++++++++++++++++++++++++++++++ 3 files changed, 119 insertions(+), 4 deletions(-) create mode 100644 guix/emacs-graphql/emacs-graphql.spec create mode 100644 guix/emacs-treepy/emacs-treepy.spec (limited to 'guix') diff --git a/guix/emacs-ghub/emacs-ghub.spec b/guix/emacs-ghub/emacs-ghub.spec index ef406f2..869448a 100644 --- a/guix/emacs-ghub/emacs-ghub.spec +++ b/guix/emacs-ghub/emacs-ghub.spec @@ -2,8 +2,8 @@ %global pkgname Ghub Name: emacs-%{pkg} -Version: 2.0.1 -Release: 2%{?dist} +Version: 3.0.0 +Release: 1%{?dist} Summary: Minuscule GitHub client library for Emacs License: GPLv3+ @@ -12,7 +12,9 @@ Source0: https://github.com/magit/ghub/archive/v%{version}.tar.gz#/%{name BuildArch: noarch BuildRequires: emacs, texinfo +BuildRequires: emacs-dash, emacs-graphql, emacs-treepy Requires: emacs(bin) >= %{_emacs_version} +Requires: emacs-dash, emacs-graphql, emacs-treepy Recommends: git %description @@ -25,13 +27,18 @@ using the Github REST (v3) and GraphQL (v4) APIs from Emacs packages. %build -%make_build +%make_build LOAD_PATH='-L . -L %{_emacs_sitelispdir}/dash -L %{_emacs_sitelispdir}/graphql -L %{_emacs_sitelispdir}/treepy' %install mkdir -p %{buildroot}%{_emacs_sitelispdir} %{buildroot}%{_emacs_sitestartdir} install -m 755 -d %{buildroot}%{_emacs_sitelispdir}/ghub -install -m 644 ghub.el ghub.elc %{buildroot}%{_emacs_sitelispdir}/ghub/ +for filename in ghub ghub-graphql glab gtea gogs buck; do + for suffix in el elc; do + install -m 644 "${filename}.${suffix}" \ + %{buildroot}%{_emacs_sitelispdir}/ghub/ + done +done install -m 644 ghub-autoloads.el %{buildroot}%{_emacs_sitelispdir}/ghub/ ln -rs %{buildroot}%{_emacs_sitelispdir}/ghub/ghub-autoloads.el \ %{buildroot}%{_emacs_sitestartdir} @@ -53,8 +60,18 @@ fi %license LICENSE %doc README.md ghub.org %dir %{_emacs_sitelispdir}/ghub +%{_emacs_sitelispdir}/ghub/buck.el +%{_emacs_sitelispdir}/ghub/buck.elc %{_emacs_sitelispdir}/ghub/ghub.el %{_emacs_sitelispdir}/ghub/ghub.elc +%{_emacs_sitelispdir}/ghub/ghub-graphql.el +%{_emacs_sitelispdir}/ghub/ghub-graphql.elc +%{_emacs_sitelispdir}/ghub/glab.el +%{_emacs_sitelispdir}/ghub/glab.elc +%{_emacs_sitelispdir}/ghub/gogs.el +%{_emacs_sitelispdir}/ghub/gogs.elc +%{_emacs_sitelispdir}/ghub/gtea.el +%{_emacs_sitelispdir}/ghub/gtea.elc %{_emacs_sitelispdir}/ghub/ghub-autoloads.el %{_emacs_sitestartdir}/ghub-autoloads.el %{_infodir}/ghub.info.gz @@ -62,6 +79,9 @@ fi %changelog +* Sun Dec 02 2018 Ting-Wei Lan - 3.0.0-1 +- Update to 3.0.0 + * Tue Oct 23 2018 Ting-Wei Lan - 2.0.1-2 - Rebuilt for Fedora 29 and 30 diff --git a/guix/emacs-graphql/emacs-graphql.spec b/guix/emacs-graphql/emacs-graphql.spec new file mode 100644 index 0000000..59016af --- /dev/null +++ b/guix/emacs-graphql/emacs-graphql.spec @@ -0,0 +1,47 @@ +%global pkg graphql +%global pkgname GraphQL + +Name: emacs-%{pkg} +Version: 0.1.1 +Release: 1%{?dist} +Summary: Functions for interacting with GraphQL web services + +License: GPLv3+ +URL: https://github.com/vermiculus/graphql.el +Source0: https://github.com/vermiculus/graphql.el/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 provides a set of generic +functions for interacting with GraphQL web services. + + +%prep +%autosetup -n graphql.el-%{version} -p1 +rm examples.el + + +%build + + +%install +mkdir -p %{buildroot}%{_emacs_sitelispdir} +install -m 755 -d %{buildroot}%{_emacs_sitelispdir}/graphql +install -m 644 *.el %{buildroot}%{_emacs_sitelispdir}/graphql/ +%{_emacs_bytecompile} %{buildroot}%{_emacs_sitelispdir}/graphql/*.el + + +%files +%doc README.md +%dir %{_emacs_sitelispdir}/graphql +%{_emacs_sitelispdir}/graphql/graphql.el +%{_emacs_sitelispdir}/graphql/graphql.elc + + +%changelog +* Sun Dec 02 2018 Ting-Wei Lan - 0.1.1-1 +- Initial packaging diff --git a/guix/emacs-treepy/emacs-treepy.spec b/guix/emacs-treepy/emacs-treepy.spec new file mode 100644 index 0000000..f466269 --- /dev/null +++ b/guix/emacs-treepy/emacs-treepy.spec @@ -0,0 +1,48 @@ +%global pkg treepy +%global pkgname treepy + +Name: emacs-%{pkg} +Version: 0.1.1 +Release: 1%{?dist} +Summary: Functions for traversing tree-like data + +License: GPLv3+ +URL: https://github.com/volrath/treepy.el +Source0: https://github.com/volrath/treepy.el/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 includes a set of generic +functions for traversing tree-like data structures recursively and/or +iteratively, ported from clojure.walk and clojure.zip respectively. + + +%prep +%autosetup -n treepy.el-%{version} -p1 + + +%build + + +%install +mkdir -p %{buildroot}%{_emacs_sitelispdir} +install -m 755 -d %{buildroot}%{_emacs_sitelispdir}/treepy +install -m 644 *.el %{buildroot}%{_emacs_sitelispdir}/treepy/ +%{_emacs_bytecompile} %{buildroot}%{_emacs_sitelispdir}/treepy/*.el + + +%files +%license LICENSE +%doc README.md +%dir %{_emacs_sitelispdir}/treepy +%{_emacs_sitelispdir}/treepy/treepy.el +%{_emacs_sitelispdir}/treepy/treepy.elc + + +%changelog +* Sun Dec 02 2018 Ting-Wei Lan - 0.1.1.1 +- Initial packaging -- cgit v1.2.3