forked from pool/autoconf
a36d8caf9a
* New macro AC_FC_LINE_LENGTH to accept long Fortran source code lines. * AC_PREPROC_IFELSE now keeps the preprocessed output in the conftest.i file for inspection by the commands in the ACTION-IF-TRUE argument. * autoreconf passes warning flags to new enough versions of aclocal. * Running an Autotest testsuite in parallel mode no longer triggers a race condition that could cause the testsuite run to end early, fixing a sporadic failure in autoconf's own testsuite. Bug present since introduction of parallel tests in 2.63b. Major changes in Autoconf 2.66 (2010-07-02) [stable] * AC_FUNC_MMAP works in C++ mode again. Regression introduced in 2.65. * Use of m4_divert without a named diversion now issues a syntax warning, since it is seldom right to change diversions behind autoconf's back. * The macros AC_TYPE_INT8_T, AC_TYPE_INT16_T, AC_TYPE_INT32_T, and AC_TYPE_INT64_T work again. Regression introduced in 2.65. * AC_PROG_INSTALL correctly uses `shtool' again. Regression introduced in 2.64. * Autoconf should work on EBCDIC hosts. * AC_CHECK_DECL and AC_CHECK_DECLS accept optional function argument types for overloaded C++ functions. * AS_SET_CATFILE accepts nonliterals in its variable name argument now. * Autotest testsuites accept an option --recheck to rerun tests that failed or passed unexpectedly during the last non-debug OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/autoconf?expand=0&rev=8
93 lines
2.6 KiB
RPMSpec
93 lines
2.6 KiB
RPMSpec
#
|
|
# spec file for package autoconf (Version 2.67)
|
|
#
|
|
# Copyright (c) 2010 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
|
|
BuildRequires: help2man xz
|
|
License: GPLv3+
|
|
Group: Development/Tools/Building
|
|
Url: http://www.gnu.org/software/autoconf
|
|
AutoReqProv: on
|
|
Requires: m4 >= 1.4.6
|
|
PreReq: %{install_info_prereq}
|
|
Version: 2.67
|
|
Release: 1
|
|
Summary: A GNU Tool for Automatically Configuring Source Code
|
|
Source: autoconf-%{version}.tar.xz
|
|
Patch0: autoreconf-ltdl.diff
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
BuildArch: noarch
|
|
|
|
%description
|
|
GNU Autoconf is a tool for configuring source code and makefiles. Using
|
|
autoconf, programmers can create portable and configurable packages,
|
|
because the person building the package is allowed to specify various
|
|
configuration options.
|
|
|
|
You should install autoconf if you are developing software and would
|
|
like to create shell scripts to configure your source code packages.
|
|
|
|
Note that the autoconf package is not required for the end user who may
|
|
be configuring software with an autoconf-generated script; autoconf is
|
|
only required for the generation of the scripts, not their use.
|
|
|
|
%prep
|
|
%setup -q -n autoconf-%{version}
|
|
%patch0
|
|
|
|
%build
|
|
%{suse_update_config -f config}
|
|
./configure --prefix=%{_prefix} --infodir=%{_infodir} --mandir=%{_mandir}
|
|
make %{?_smp_mflags}
|
|
|
|
%if "%{name}" == "autoconf-testsuite"
|
|
|
|
%check
|
|
trap 'test $? -ne 0 && cat tests/testsuite.log' EXIT
|
|
make check
|
|
|
|
%install
|
|
%else
|
|
|
|
%install
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
rm -f $RPM_BUILD_ROOT%{_prefix}/share/emacs/site-lisp/*.el*
|
|
%endif
|
|
|
|
%post
|
|
%install_info --info-dir=%{_infodir} %{_infodir}/autoconf.info.gz
|
|
|
|
%postun
|
|
%install_info_delete --info-dir=%{_infodir} %{_infodir}/autoconf.info.gz
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%if "%{name}" == "autoconf"
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc AUTHORS COPYING NEWS README TODO
|
|
%{_prefix}/bin/*
|
|
%{_prefix}/share/autoconf
|
|
%doc %{_infodir}/*.gz
|
|
%doc %{_mandir}/man1/*.gz
|
|
%endif
|
|
|
|
%changelog
|