emacs-apel/emacs-apel.spec
Takashi Iwai b0b9b057bb Accepting request 975203 from home:AndreasSchwab:f
- Switch to APEL-LB from Wanderlust
- Update to version 10.8+80+g6947dc4:
  * Fold docstring within 80 characters
  * Fix fontset-pixel-size failure
  * Revive poe.el's dependency on pym.el
  * Remove conditional definition of functions and variable.
  * Remove codes for old platforms.
  * Update package description file for MELPA.
  * * product.el: Remove unneeded dependency on pym.el.
  * Don't use defun-maybe for mime-charset-list
- apel-10.8-040_make-temp-file-for-Emacs-24.3.50.patch,
  apel-emacs-escape-fix.patch, emacs-apel-fix-old-backquote.patch,
  prevent-fontset-error.patch: Remote obsolete patches

OBS-URL: https://build.opensuse.org/request/show/975203
OBS-URL: https://build.opensuse.org/package/show/M17N/emacs-apel?expand=0&rev=8
2022-05-10 08:32:01 +00:00

59 lines
1.7 KiB
RPMSpec

#
# spec file for package emacs-apel
#
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: emacs-apel
Version: 10.8+80+g6947dc4
Release: 0
Summary: A Portable Emacs Library
License: GPL-2.0-or-later
Group: Productivity/Editors/Emacs
URL: https://github.com/wanderlust/apel
Source: apel-%{version}.tar.gz
Source1: suse-start-apel.el
BuildRequires: emacs-nox
Requires: emacs
Requires: emacs_program
Provides: apel = %{version}
Obsoletes: apel < %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
A Portable Emacs Library
%prep
%setup -q -n apel-%{version}
cp -p %{SOURCE1} .
%build
make "CFLAGS=%{optflags}" LDFLAGS=-s EMACS=emacs PREFIX=%{_prefix} %{?_smp_mflags}
%install
make install EMACS=emacs PREFIX=%{buildroot}%{_prefix}
install -m 644 suse-start-apel.el %{buildroot}%{_datadir}/emacs/site-lisp/
# make install.man
%files
%defattr(-,root,root)
%doc README.en README.ja
%{_datadir}/emacs/site-lisp/suse-start-apel.el
%{_datadir}/emacs/site-lisp/emu
%{_datadir}/emacs/site-lisp/apel
%changelog