Add emacs SPEC to Mariner (#3168)
* Add emacs SPEC to Mariner * Update to use macros in the emacs SPEC * Update URL to use https
This commit is contained in:
parent
fee702ab61
commit
7b110072d3
File diff suppressed because one or more lines are too long
|
@ -2295,6 +2295,7 @@
|
|||
"efibootmgr",
|
||||
"efivar",
|
||||
"elfutils",
|
||||
"emacs",
|
||||
"erlang",
|
||||
"etcd-3.5.0",
|
||||
"etcd-3.5.1",
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"Signatures": {
|
||||
"emacs-28.1.tar.xz": "28b1b3d099037a088f0a4ca251d7e7262eab5ea1677aabffa6c4426961ad75e1"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,86 @@
|
|||
Summary: GNU Emacs text editor
|
||||
Name: emacs
|
||||
Version: 28.1
|
||||
Release: 2%{?dist}
|
||||
Vendor: Microsoft Corporation
|
||||
Distribution: Mariner
|
||||
License: GPLv3+ and CC0-1.0
|
||||
URL: https://www.gnu.org/software/emacs/
|
||||
Group: Applications/Editors
|
||||
Source0: https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz
|
||||
|
||||
BuildRequires: gcc
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: ncurses-devel
|
||||
BuildRequires: systemd-devel
|
||||
BuildRequires: gnutls-devel
|
||||
|
||||
%description
|
||||
Emacs is a powerful, customizable, self-documenting, modeless text
|
||||
editor. Emacs contains special code editing features, a scripting
|
||||
language (elisp), and the capability to read mail, news, and more
|
||||
without leaving the editor.
|
||||
|
||||
%prep
|
||||
%autosetup
|
||||
|
||||
%build
|
||||
%configure \
|
||||
--without-xpm \
|
||||
--without-jpeg \
|
||||
--without-tiff \
|
||||
--without-gif \
|
||||
--without-png \
|
||||
--without-rsvg \
|
||||
--without-lcms2 \
|
||||
--without-xft \
|
||||
--without-harfbuzz \
|
||||
--without-m17n-flt \
|
||||
--without-toolkit-scroll-bars \
|
||||
--without-xaw3d \
|
||||
--without-xim \
|
||||
--without-makeinfo
|
||||
%make_build
|
||||
|
||||
%install
|
||||
%make_install
|
||||
|
||||
rm -rf %{buildroot}%{_infodir}
|
||||
rm -rf %{buildroot}%{_mandir}
|
||||
rm -rf %{buildroot}%{_datadir}/icons
|
||||
|
||||
rm %{buildroot}%{_bindir}/ctags
|
||||
rm %{buildroot}%{_datadir}/applications/*.desktop
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/ebrowse
|
||||
%{_bindir}/emacs
|
||||
%{_bindir}/emacs-%{version}
|
||||
%{_bindir}/emacsclient
|
||||
%{_bindir}/etags
|
||||
%{_includedir}/emacs-module.h
|
||||
%{_libdir}/systemd/user/emacs.service
|
||||
%{_libexecdir}/emacs
|
||||
%{_datadir}/emacs/%{version}/etc/*
|
||||
%{_datadir}/emacs/%{version}/lisp/*
|
||||
%{_datadir}/emacs/%{version}/site-lisp/subdirs.el
|
||||
%{_datadir}/emacs/site-lisp/subdirs.el
|
||||
%{_datadir}/metainfo/emacs.metainfo.xml
|
||||
|
||||
%changelog
|
||||
* Tue Jun 14 2022 Suresh Babu Chalamalasetty <schalam@microsoft.com> 28.1-2
|
||||
- Initial CBL-Mariner import from Photon (license: Apache2).
|
||||
- License verified
|
||||
|
||||
* Mon Apr 18 2022 Gerrit Photon <photon-checkins@vmware.com> 28.1-1
|
||||
- Automatic Version Bump
|
||||
|
||||
* Mon Apr 12 2021 Gerrit Photon <photon-checkins@vmware.com> 27.2-1
|
||||
- Automatic Version Bump
|
||||
|
||||
* Fri Oct 16 2020 Shreenidhi Shedi <sshedi@vmware.com> 27.1-2
|
||||
- Fix aarch64 build error
|
||||
|
||||
* Tue Oct 06 2020 Susant Sahani <ssahani@vmware.com> 27.1-1
|
||||
- Initial rpm release.
|
|
@ -2793,6 +2793,16 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"component": {
|
||||
"type": "other",
|
||||
"other": {
|
||||
"name": "emacs",
|
||||
"version": "28.1",
|
||||
"downloadUrl": "https://ftp.gnu.org/gnu/emacs/emacs-28.1.tar.xz"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"component": {
|
||||
"type": "other",
|
||||
|
|
Loading…
Reference in New Issue