2007-08-24 23:14:56 +02:00
|
|
|
#
|
2008-09-12 20:48:02 +02:00
|
|
|
# spec file for package autoconf (Version 2.63)
|
2007-08-24 23:14:56 +02:00
|
|
|
#
|
2009-07-23 15:34:26 +02:00
|
|
|
# Copyright (c) 2009 SUSE LINUX Products 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/
|
|
|
|
#
|
|
|
|
|
2008-02-25 16:59:02 +01:00
|
|
|
|
2007-08-24 23:14:56 +02:00
|
|
|
|
|
|
|
Name: autoconf
|
|
|
|
BuildRequires: help2man
|
|
|
|
License: GPL v2 or later
|
|
|
|
Group: Development/Tools/Building
|
2008-02-25 16:59:02 +01:00
|
|
|
Url: http://www.gnu.org/software/autoconf
|
|
|
|
AutoReqProv: on
|
2007-08-24 23:14:56 +02:00
|
|
|
Requires: m4 >= %(rpm -q --qf=%%{VERSION} m4)
|
|
|
|
PreReq: %{install_info_prereq}
|
2008-09-12 20:48:02 +02:00
|
|
|
Version: 2.63
|
2009-07-23 15:34:26 +02:00
|
|
|
Release: 4
|
2007-08-24 23:14:56 +02:00
|
|
|
Summary: A GNU Tool for Automatically Configuring Source Code
|
|
|
|
Source: autoconf-%{version}.tar.bz2
|
2009-07-23 15:34:26 +02:00
|
|
|
Patch0: autoreconf-ltdl.diff
|
|
|
|
# PATCH-FIX-UPSTREAM autoconf-xfail-test27.patch dominique-obs@leuenberger.net -- allows test 27 to fail, as automake 1.11 has newer macros.
|
|
|
|
Patch1: autoconf-xfail-test27.patch
|
2007-08-24 23:14:56 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Ben Elliston <bje@cygnus.com>
|
|
|
|
David J MacKenzie <djm@catapult.va.pubnix.com>
|
|
|
|
|
|
|
|
%prep
|
2008-02-25 16:59:02 +01:00
|
|
|
%setup -q
|
2009-07-23 15:34:26 +02:00
|
|
|
%patch0
|
|
|
|
%patch1 -p1
|
2007-08-24 23:14:56 +02:00
|
|
|
|
|
|
|
%build
|
|
|
|
%{suse_update_config -f config}
|
|
|
|
./configure --prefix=%{_prefix} --infodir=%{_infodir} --mandir=%{_mandir}
|
|
|
|
make
|
2008-03-11 18:10:08 +01:00
|
|
|
|
|
|
|
%check
|
2007-08-24 23:14:56 +02:00
|
|
|
trap 'test $? -ne 0 && cat tests/testsuite.log' EXIT
|
|
|
|
make check
|
|
|
|
|
|
|
|
%install
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_prefix}/share/emacs/site-lisp/*.el*
|
|
|
|
|
|
|
|
%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
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc AUTHORS COPYING NEWS README TODO
|
|
|
|
%{_prefix}/bin/*
|
|
|
|
%{_prefix}/share/autoconf
|
|
|
|
%doc %{_infodir}/*.gz
|
|
|
|
%doc %{_mandir}/man1/*.gz
|
|
|
|
|
|
|
|
%changelog
|