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
|
|
|
#
|
2012-04-26 15:17:50 +02:00
|
|
|
# Copyright (c) 2012 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/
|
|
|
|
#
|
|
|
|
|
2011-12-25 17:42:55 +01:00
|
|
|
|
2007-08-24 23:14:56 +02:00
|
|
|
Name: autoconf
|
2011-12-19 14:44:48 +01:00
|
|
|
BuildRequires: help2man
|
|
|
|
BuildRequires: xz
|
2008-02-25 16:59:02 +01:00
|
|
|
Url: http://www.gnu.org/software/autoconf
|
2011-12-19 15:32:29 +01:00
|
|
|
Requires: info
|
2012-04-26 15:17:50 +02:00
|
|
|
Requires: m4 >= 1.4.6
|
2012-04-26 15:20:02 +02:00
|
|
|
Requires: perl >= 5.6
|
2012-04-26 15:17:50 +02:00
|
|
|
Version: 2.69
|
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
|
2011-12-19 14:44:48 +01:00
|
|
|
License: GPL-3.0+
|
|
|
|
Group: Development/Tools/Building
|
2010-08-18 12:21:18 +02:00
|
|
|
Source: autoconf-%{version}.tar.xz
|
2009-07-23 15:34:26 +02:00
|
|
|
Patch0: autoreconf-ltdl.diff
|
2007-08-24 23:14:56 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2010-02-18 12:08:50 +01:00
|
|
|
BuildArch: noarch
|
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
|
2010-07-02 11:36:33 +02:00
|
|
|
make %{?_smp_mflags}
|
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
|
|
|
|
make 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
|
2011-12-19 14:44:48 +01:00
|
|
|
%{?make_install} %{!?make_install:make install DESTDIR=%{buildroot}}
|
2007-08-24 23:14:56 +02:00
|
|
|
rm -f $RPM_BUILD_ROOT%{_prefix}/share/emacs/site-lisp/*.el*
|
2011-12-19 14:44:48 +01:00
|
|
|
# info's dir file is not auto ignored on some systems
|
|
|
|
rm -rf %{buildroot}%{_infodir}/dir
|
2010-05-28 17:15:41 +02:00
|
|
|
%endif
|
2007-08-24 23:14:56 +02:00
|
|
|
|
|
|
|
%post
|
|
|
|
%install_info --info-dir=%{_infodir} %{_infodir}/autoconf.info.gz
|
|
|
|
|
|
|
|
%postun
|
|
|
|
%install_info_delete --info-dir=%{_infodir} %{_infodir}/autoconf.info.gz
|
|
|
|
|
2010-05-28 17:15:41 +02:00
|
|
|
%if "%{name}" == "autoconf"
|
|
|
|
|
2007-08-24 23:14:56 +02:00
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc AUTHORS COPYING NEWS README TODO
|
|
|
|
%{_prefix}/bin/*
|
|
|
|
%{_prefix}/share/autoconf
|
|
|
|
%doc %{_infodir}/*.gz
|
|
|
|
%doc %{_mandir}/man1/*.gz
|
2010-05-28 17:15:41 +02:00
|
|
|
%endif
|
2007-08-24 23:14:56 +02:00
|
|
|
|
|
|
|
%changelog
|