SHA256
3
0
forked from pool/autoconf
autoconf/autoconf-el.spec
Philipp Thomas 5fb09a26fe - Update to 2.69:
* Noteworthy changes in release 2.69 (2012-04-24) [stable]
  ** Autoconf now requires perl 5.6 or better (but generated
     configure scripts continue to run without perl).
  * Noteworthy changes in release 2.68b (2012-03-01) [beta] Released
    by Eric Blake, based on git versions 2.68.*.
  ** Autoconf-generated configure scripts now unconditionally
     re-execute themselves with $CONFIG_SHELL, if that's set in the
     environment.
  ** The texinfo documentation no longer specifies "front-cover" or
     "back-cover" texts, so that it may now be included in Debian's
     "main" section.
  ** Support for the Go programming language has been added.  The new
     macro AC_LANG_GO sets variables GOC and GOFLAGS.
  ** AS_LITERAL_IF again treats '=' as a literal.  Regression
     introduced in 2.66.
  ** The macro AS_EXECUTABLE_P, present since 2.50, is now
     documented.
  ** Macros
  - AC_PROG_LN_S and AS_LN_S now fall back on 'cp -pR' (not 'cp -p')
    if 'ln -s' does not work.  This works better for symlinks to
    directories.
  - New macro AC_HEADER_CHECK_STDBOOL.
  - New and updated macros for Fortran support:
      AC_FC_CHECK_BOUNDS to enable array bounds checking
      AC_F77_IMPLICIT_NONE and AC_FC_IMPLICIT_NONE to disable implicit integer
      AC_FC_MODULE_EXTENSION to compute the Fortran 90 module name extension
      AC_FC_MODULE_FLAG for the Fortran 90 module search path flag
      AC_FC_MODULE_OUTPUT_FLAG for the Fortran 90 module output directory flag
      AC_FC_PP_SRCEXT for preprocessed Fortran source files extensions

OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/autoconf?expand=0&rev=23
2012-04-26 13:17:50 +00:00

68 lines
2.0 KiB
RPMSpec

#
# spec file for package autoconf-el
#
# 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 http://bugs.opensuse.org/
#
Name: autoconf-el
BuildRequires: emacs-nox
BuildRequires: xz
Version: 2.69
Release: 0
Summary: Emacs mode for editing GNU Autoconf scripts
License: GPL-3.0+
Group: Productivity/Editors/Emacs
Url: http://www.gnu.org/software/autoconf
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source: autoconf-%{version}.tar.xz
BuildArch: noarch
Enhances: emacs
%define site_lisp %{_prefix}/share/emacs/site-lisp
%description
Emacs mode for editing GNU Autoconf scripts
%prep
%setup -q -n autoconf-%{version}
%build
./configure --prefix=%{_prefix} --infodir=%{_infodir} --mandir=%{_mandir}
make -C lib/emacs %{?_smp_mflags}
%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