2007-08-24 23:14:56 +02:00
|
|
|
#
|
2011-09-19 21:28:44 +02:00
|
|
|
# spec file for package autoconf
|
2007-08-24 23:14:56 +02:00
|
|
|
#
|
2020-12-14 08:12:21 +01:00
|
|
|
# Copyright (c) 2020 SUSE LLC
|
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.
|
|
|
|
|
2019-10-17 16:26:44 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2007-08-24 23:14:56 +02:00
|
|
|
#
|
|
|
|
|
2011-12-25 17:42:55 +01:00
|
|
|
|
2007-08-24 23:14:56 +02:00
|
|
|
Name: autoconf
|
2020-12-14 08:12:21 +01:00
|
|
|
Version: 2.70
|
2011-12-19 14:44:48 +01:00
|
|
|
Release: 0
|
2007-08-24 23:14:56 +02:00
|
|
|
Summary: A GNU Tool for Automatically Configuring Source Code
|
2018-08-07 09:55:20 +02:00
|
|
|
License: GPL-3.0-or-later
|
2020-12-14 08:12:21 +01:00
|
|
|
URL: https://www.gnu.org/software/autoconf
|
|
|
|
Source0: http://ftp.gnu.org/gnu/autoconf/autoconf-%{version}.tar.xz
|
|
|
|
Source1: http://ftp.gnu.org/gnu/autoconf/autoconf-%{version}.tar.xz.sig
|
2015-03-19 15:55:35 +01:00
|
|
|
Source2: %{name}.keyring
|
2009-07-23 15:34:26 +02:00
|
|
|
Patch0: autoreconf-ltdl.diff
|
2015-03-19 15:55:35 +01:00
|
|
|
BuildRequires: help2man
|
2017-02-09 14:10:00 +01:00
|
|
|
BuildRequires: m4 >= 1.4.6
|
2015-03-19 15:55:35 +01:00
|
|
|
Requires: info
|
|
|
|
Requires: m4 >= 1.4.6
|
2019-11-04 15:52:26 +01:00
|
|
|
Requires: perl-base >= 5.6
|
2010-02-18 12:08:50 +01:00
|
|
|
BuildArch: noarch
|
2020-12-14 08:12:21 +01:00
|
|
|
%if "%{name}" == "autoconf-testsuite"
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
%endif
|
2007-08-24 23:14:56 +02:00
|
|
|
|
|
|
|
%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
|
2010-05-28 17:15:41 +02:00
|
|
|
%setup -q -n autoconf-%{version}
|
2009-07-23 15:34:26 +02:00
|
|
|
%patch0
|
2007-08-24 23:14:56 +02:00
|
|
|
|
|
|
|
%build
|
2011-12-26 16:40:01 +01:00
|
|
|
%configure
|
2020-12-14 08:12:21 +01:00
|
|
|
%make_build
|
2010-05-28 17:15:41 +02:00
|
|
|
|
|
|
|
%if "%{name}" == "autoconf-testsuite"
|
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
|
2020-12-14 08:12:21 +01:00
|
|
|
%make_build check
|
2010-05-31 11:57:40 +02:00
|
|
|
|
|
|
|
%install
|
2010-05-28 17:15:41 +02:00
|
|
|
%else
|
2007-08-24 23:14:56 +02:00
|
|
|
%install
|
2020-12-14 08:12:21 +01:00
|
|
|
%make_install
|
2010-05-28 17:15:41 +02:00
|
|
|
%endif
|
2007-08-24 23:14:56 +02:00
|
|
|
|
2010-05-28 17:15:41 +02:00
|
|
|
%if "%{name}" == "autoconf"
|
2007-08-24 23:14:56 +02:00
|
|
|
%files
|
2018-08-07 09:55:20 +02:00
|
|
|
%doc AUTHORS NEWS README TODO
|
|
|
|
%license COPYING
|
2015-03-19 15:55:35 +01:00
|
|
|
%{_bindir}/*
|
|
|
|
%{_datadir}/autoconf
|
2020-12-14 08:12:21 +01:00
|
|
|
%{_infodir}/*.gz
|
|
|
|
%{_mandir}/man1/*.gz
|
2010-05-28 17:15:41 +02:00
|
|
|
%endif
|
2007-08-24 23:14:56 +02:00
|
|
|
|
|
|
|
%changelog
|