2007-08-24 23:14:56 +02:00
|
|
|
#
|
2011-09-19 21:28:44 +02:00
|
|
|
# spec file for package autoconf-el
|
2007-08-24 23:14:56 +02:00
|
|
|
#
|
2018-08-07 09:55:20 +02:00
|
|
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
2007-08-24 23:14:56 +02:00
|
|
|
#
|
2008-09-12 20:48:02 +02:00
|
|
|
# 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.
|
|
|
|
|
2007-08-24 23:14:56 +02:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2011-12-25 17:42:55 +01:00
|
|
|
|
2007-08-24 23:14:56 +02:00
|
|
|
Name: autoconf-el
|
2011-12-19 15:32:29 +01:00
|
|
|
BuildRequires: emacs-nox
|
2017-03-15 14:10:06 +01:00
|
|
|
BuildRequires: m4 >= 1.4.6
|
2011-12-19 15:32:29 +01:00
|
|
|
BuildRequires: xz
|
2012-04-26 15:17:50 +02:00
|
|
|
Version: 2.69
|
2011-12-19 15:32:29 +01:00
|
|
|
Release: 0
|
2007-08-24 23:14:56 +02:00
|
|
|
Summary: Emacs mode for editing GNU Autoconf scripts
|
2018-08-07 09:55:20 +02:00
|
|
|
License: GPL-3.0-or-later
|
2011-12-19 15:32:29 +01:00
|
|
|
Group: Productivity/Editors/Emacs
|
2008-02-25 16:59:02 +01:00
|
|
|
Url: http://www.gnu.org/software/autoconf
|
2007-08-24 23:14:56 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2013-03-20 14:30:54 +01:00
|
|
|
Source: http://ftp.gnu.org/gnu/autoconf/autoconf-%{version}.tar.gz
|
2007-08-24 23:14:56 +02:00
|
|
|
BuildArch: noarch
|
|
|
|
Enhances: emacs
|
|
|
|
%define site_lisp %{_prefix}/share/emacs/site-lisp
|
|
|
|
|
|
|
|
%description
|
|
|
|
Emacs mode for editing GNU Autoconf scripts
|
|
|
|
|
|
|
|
%prep
|
2008-07-05 00:50:21 +02:00
|
|
|
%setup -q -n autoconf-%{version}
|
2007-08-24 23:14:56 +02:00
|
|
|
|
|
|
|
%build
|
|
|
|
./configure --prefix=%{_prefix} --infodir=%{_infodir} --mandir=%{_mandir}
|
2011-09-19 21:28:44 +02:00
|
|
|
make -C lib/emacs %{?_smp_mflags}
|
2007-08-24 23:14:56 +02:00
|
|
|
|
|
|
|
%install
|
|
|
|
make -C lib/emacs install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
sed 's/^;//' > $RPM_BUILD_ROOT%{site_lisp}/suse-start-%{name}.el <<\EOF
|
|
|
|
;;; %{site_lisp}/suse-start-%{name}.el
|
|
|
|
;
|
|
|
|
(autoload 'autoconf-mode "autoconf-mode"
|
|
|
|
"Major mode for editing autoconf files." t)
|
|
|
|
(add-to-list 'auto-mode-alist
|
|
|
|
'("configure\\.\\(ac\\|in\\)\\'" . autoconf-mode))
|
|
|
|
;
|
|
|
|
(autoload 'autotest-mode "autotest-mode"
|
|
|
|
"Major mode for editing autotest files." t)
|
|
|
|
(add-to-list 'auto-mode-alist
|
|
|
|
'("\\.at\\'" . autotest-mode))
|
|
|
|
;
|
|
|
|
;;; %{site_lisp}/suse-start-%{name}.el ends here
|
|
|
|
EOF
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{site_lisp}/*.el
|
|
|
|
%{site_lisp}/*.elc
|
|
|
|
|
|
|
|
%changelog
|