File apel.spec of Package apel

# spec file for package apel
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# 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

Name:           apel
BuildRequires:  emacs-nox
Requires:       emacs
Requires:       emacs_program
Summary:        A Portable Emacs Library
License:        GPL-2.0+
Group:          Productivity/Editors/Emacs
Version:        10.8
Release:        0
Source0:        apel-%{version}.tar.bz2
# Source0:{version}.tar.gz
# Source0:{version}.tar.gz
Source1:        suse-start-apel.el
Patch0:         prevent-fontset-error.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

A Portable Emacs Library

%setup -q
%patch0 -p1
cp -p %{S:1} .
iconv -fiso2022jp -tutf-8 README.ja >
mv README.ja

make "CFLAGS=%{optflags}" LDFLAGS=-s EMACS=emacs PREFIX=%{_prefix} %{?_smp_mflags}

make install EMACS=emacs PREFIX=%{buildroot}%{_prefix}
install -m 644 suse-start-apel.el %{buildroot}%{_datadir}/emacs/site-lisp/
# make

%doc README.en README.ja ChangeLog
%config %{_prefix}/share/emacs/site-lisp/suse-start-apel.el

openSUSE Build Service is sponsored by