3 BuildRequires: m4 >= 1.4.6
4 Url: http://www.gnu.org/software/autoconf
9 Summary: A GNU Tool for Automatically Configuring Source Code
11 Group: Development/Tools/Building
12 Source: autoconf-%{version}.tar.xz
13 Source1001: autoconf.manifest
17 GNU Autoconf is a tool for configuring source code and makefiles. Using
18 autoconf, programmers can create portable and configurable packages,
19 because the person building the package is allowed to specify various
20 configuration options.
22 You should install autoconf if you are developing software and would
23 like to create shell scripts to configure your source code packages.
25 Note that the autoconf package is not required for the end user who may
26 be configuring software with an autoconf-generated script; autoconf is
27 only required for the generation of the scripts, not their use.
30 %setup -q -n autoconf-%{version}
38 trap 'test $? -ne 0 && cat tests/testsuite.log' EXIT
42 %{?make_install} %{!?make_install:make install DESTDIR=%{buildroot}}
43 rm -f $RPM_BUILD_ROOT%{_prefix}/share/emacs/site-lisp/*.el*
44 # info's dir file is not auto ignored on some systems
45 rm -rf %{buildroot}%{_infodir}/dir
48 %install_info --info-dir=%{_infodir} %{_infodir}/autoconf.info.gz
51 %install_info_delete --info-dir=%{_infodir} %{_infodir}/autoconf.info.gz
55 %manifest %{name}.manifest
59 %{_prefix}/share/autoconf
61 %doc %{_mandir}/man1/*.gz