[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/arduino-mode 43185aa 011/107: Add spec file for building R
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/arduino-mode 43185aa 011/107: Add spec file for building RPM packages for Fedora. |
Date: |
Sun, 29 Aug 2021 10:58:07 -0400 (EDT) |
branch: elpa/arduino-mode
commit 43185aab9a6c5694d0e95e77654d22198b96070b
Author: Peter Oliver <git@mavit.org.uk>
Commit: Peter Oliver <git@mavit.org.uk>
Add spec file for building RPM packages for Fedora.
---
emacs-common-arduino-mode.spec | 128 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 128 insertions(+)
diff --git a/emacs-common-arduino-mode.spec b/emacs-common-arduino-mode.spec
new file mode 100644
index 0000000..2662322
--- /dev/null
+++ b/emacs-common-arduino-mode.spec
@@ -0,0 +1,128 @@
+%global pkg arduino-mode
+%global pkgname Arduino Mode
+%global gitcommit 16e1d57
+
+Name: emacs-common-%{pkg}
+Version: git1.%{gitcommit}
+Release: 1%{?dist}
+Summary: Emacs editing mode for Arduino code
+
+Group: Development/Tools
+License: GPLv3+
+URL: http://github.com/mavit/%{pkg}/
+Source0: http://download.github.com/mavit-%{pkg}-%{gitcommit}.tar.gz
+
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildArch: noarch
+BuildRequires: emacs
+BuildRequires: xemacs
+Requires: arduino
+
+%description
+%{pkgname} is an add-on package for GNU Emacs and XEmacs, providing an
+editing mode for the Arduino electronics prototyping platform.
+
+This package contains the files common to both the GNU Emacs and XEmacs
+%{pkgname} packages.
+
+%package -n emacs-%{pkg}
+Summary: Compiled elisp files to run %{pkgname} under GNU Emacs
+Group: Development/Tools
+Requires: emacs(bin) >= %{_emacs_version}
+Requires: emacs-common-%{pkg} = %{version}-%{release}
+
+%description -n emacs-%{pkg}
+This package contains the byte compiled elisp packages to run
+%{pkgname} with GNU Emacs.
+
+
+%package -n emacs-%{pkg}-el
+Summary: Elisp source files for %{pkgname} under GNU Emacs
+Group: Development/Tools
+Requires: emacs-%{pkg} = %{version}-%{release}
+
+%description -n emacs-%{pkg}-el
+This package contains the elisp source files for %{pkgname} under GNU
+Emacs. You do not need to install this package to run
+%{pkgname}. Install the emacs-%{pkg} package to use %{pkgname} with
+GNU Emacs.
+
+
+%package -n xemacs-%{pkg}
+Summary: Compiled elisp files to run %{pkgname} under XEmacs
+Group: Development/Tools
+Requires: xemacs(bin) >= %{_xemacs_version}
+Requires: emacs-common-%{pkg} = %{version}-%{release}
+
+%description -n xemacs-%{pkg}
+This package contains the byte compiled elisp packages to use %{pkgname}
+with XEmacs.
+
+
+%package -n xemacs-%{pkg}-el
+Summary: Elisp source files for %{pkgname} under XEmacs
+Group: Development/Tools
+Requires: xemacs-%{pkg} = %{version}-%{release}
+
+%description -n xemacs-%{pkg}-el
+This package contains the elisp source files for %{pkgname} under
+XEmacs. You do not need to install this package to run
+%{pkgname}. Install the xemacs-%{pkg} package to use %{pkgname} with
+XEmacs.
+
+
+%prep
+%setup -q -n mavit-%{pkg}-%{gitcommit}
+
+%build
+%{_emacs_bytecompile} %{pkg}.el
+%{_xemacs_bytecompile} %{pkg}.el
+
+%install
+rm -rf $RPM_BUILD_ROOT
+mkdir -p $RPM_BUILD_ROOT/%{_emacs_sitelispdir}/%{pkg} \
+ $RPM_BUILD_ROOT/%{_xemacs_sitelispdir}/%{pkg} \
+ $RPM_BUILD_ROOT/%{_emacs_sitestartdir} \
+ $RPM_BUILD_ROOT/%{_xemacs_sitestartdir}
+cp -a %{pkg}.el %{pkg}.elc $RPM_BUILD_ROOT/%{_emacs_sitelispdir}/%{pkg}/
+cp -a %{pkg}.el %{pkg}.elc $RPM_BUILD_ROOT/%{_xemacs_sitelispdir}/%{pkg}/
+cp -a %{pkg}-init.el $RPM_BUILD_ROOT/%{_emacs_sitestartdir}/
+cp -a %{pkg}-init.el $RPM_BUILD_ROOT/%{_xemacs_sitestartdir}/
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+%files
+%defattr(-,root,root,-)
+%doc
+
+
+%files -n emacs-%{pkg}
+%defattr(-,root,root,-)
+%{_emacs_sitelispdir}/%{pkg}/*.elc
+%{_emacs_sitestartdir}/*.el
+%dir %{_emacs_sitelispdir}/%{pkg}
+
+
+%files -n emacs-%{pkg}-el
+%defattr(-,root,root,-)
+%{_emacs_sitelispdir}/%{pkg}/*.el
+
+
+%files -n xemacs-%{pkg}
+%defattr(-,root,root,-)
+%{_xemacs_sitelispdir}/%{pkg}/*.elc
+%{_xemacs_sitestartdir}/*.el
+%dir %{_xemacs_sitelispdir}/%{pkg}
+
+
+%files -n xemacs-%{pkg}-el
+%defattr(-,root,root,-)
+%{_xemacs_sitelispdir}/%{pkg}/*.el
+
+
+%changelog
+* Tue Sep 7 2010 <rpm@mavit.org.uk> - git1.16e1d57-1
+- Initial version.
+
- [nongnu] elpa/arduino-mode 09fd1b8 001/107: import arduino-mode, (continued)
- [nongnu] elpa/arduino-mode 09fd1b8 001/107: import arduino-mode, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode 3cd6585 003/107: highlight builtin functions as keywords, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode 1e0afb7 009/107: Add to languages customisation group., ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode aa051bb 014/107: Add a serial monitor., ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode 6a77cac 021/107: Merge pull request #6 from yasuyk/add-autoload-cookie, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode 94d25f2 018/107: Merge pull request #2 from pavlobaron/master, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode a7bd544 023/107: Rearrange the deck chairs a bit, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode a1d57fe 027/107: Merge pull request #10 from vanicat/master, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode 609d9a9 028/107: Setup travis-ci, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode 220b5ca 007/107: New keywords shiftIn and peek in arduino 0019., ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode 43185aa 011/107: Add spec file for building RPM packages for Fedora.,
ELPA Syncer <=
- [nongnu] elpa/arduino-mode a9e196b 015/107: RPM rebuilt., ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode 0aeea23 016/107: Add missing BuildRequires of xemacs-packages-extra., ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode b2c9c21 033/107: Import ede-arduino, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode 1b7bae6 026/107: A command to run the arduino ide on current file, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode d7bb42a 029/107: Fix undefined cl-macrorepxand-all under Emacs 24.4, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode 3e2bad4 031/107: Setup Cask, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode eb1d260 040/107: set tab-width and indent width to 2, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode 0f67645 047/107: Prepare for MELPA, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode b92f309 048/107: improve commands docstring to be more intuitive, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode 18fce1d 052/107: add README, ELPA Syncer, 2021/08/29