2009-06-19 00:49:25 +00:00
|
|
|
#
|
2019-11-12 13:18:36 +00:00
|
|
|
# spec file for package automake-testsuite
|
2009-06-19 00:49:25 +00:00
|
|
|
#
|
2019-11-12 13:18:36 +00:00
|
|
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
2009-06-19 00:49:25 +00: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-11-12 13:18:36 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2009-06-19 00:49:25 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2013-02-27 05:43:54 +00:00
|
|
|
# PLEASE run pre_checkin.sh in this directory before submitting
|
|
|
|
# this package. Otherwise the .spec and .changes for automake-testsuite
|
|
|
|
# aren't updated.
|
|
|
|
|
2009-06-19 00:49:25 +00:00
|
|
|
Name: automake-testsuite
|
2018-03-21 12:00:44 +00:00
|
|
|
Version: 1.16.1
|
2014-02-06 15:38:04 +00:00
|
|
|
Release: 0
|
|
|
|
Summary: A Program for Automatically Generating GNU-Style Makefile.in Files
|
2019-11-12 13:18:36 +00:00
|
|
|
# docs ~> GFDL, sources ~> GPLv2+, mkinstalldirs ~> PD and install-sh ~> MIT
|
2018-05-02 14:42:26 +00:00
|
|
|
License: GPL-2.0-or-later AND GFDL-1.3-or-later AND SUSE-Public-Domain AND MIT
|
2014-02-06 15:38:04 +00:00
|
|
|
Group: Development/Tools/Building
|
2017-06-26 13:17:30 +00:00
|
|
|
Url: https://www.gnu.org/software/automake
|
|
|
|
Source0: https://ftp.gnu.org/gnu/automake/automake-%{version}.tar.xz
|
|
|
|
Source1: https://ftp.gnu.org/gnu/automake/automake-%{version}.tar.xz.sig
|
|
|
|
Source2: https://savannah.gnu.org/project/memberlist-gpgkeys.php?group=automake&download=1#/automake.keyring
|
2014-02-06 15:38:04 +00:00
|
|
|
Source3: automake-rpmlintrc
|
2018-05-02 14:42:26 +00:00
|
|
|
#Source4: http://git.savannah.gnu.org/cgit/config.git/plain/config.sub
|
|
|
|
#Source5: http://git.savannah.gnu.org/cgit/config.git/plain/config.guess
|
2014-02-06 15:38:04 +00:00
|
|
|
Patch2: automake-require_file.patch
|
|
|
|
Patch3: automake-1.13.4-fix-primary-prefix-invalid-couples-test.patch
|
2016-06-16 16:33:18 +00:00
|
|
|
Patch5: 0001-correct-parameter-parsing-in-test-driver-script.patch
|
2014-02-06 15:38:04 +00:00
|
|
|
Patch100: automake-SuSE.patch
|
2013-02-27 05:43:54 +00:00
|
|
|
BuildRequires: autoconf >= 2.69
|
2011-12-21 08:59:17 +00:00
|
|
|
BuildRequires: bison
|
2012-05-03 10:23:35 +00:00
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: gcc-fortran
|
2012-04-18 09:42:54 +00:00
|
|
|
BuildRequires: xz
|
2017-10-21 06:15:41 +00:00
|
|
|
BuildRequires: perl(Thread::Queue)
|
2018-05-02 14:42:26 +00:00
|
|
|
BuildRequires: perl(threads)
|
2017-06-26 13:17:30 +00:00
|
|
|
Requires: autoconf >= 2.69
|
2019-11-12 13:18:36 +00:00
|
|
|
Requires: perl
|
2017-06-26 13:17:30 +00:00
|
|
|
Requires(post): info
|
|
|
|
Requires(preun): info
|
|
|
|
BuildArch: noarch
|
2012-05-03 10:23:35 +00:00
|
|
|
%if "%{name}" == "automake-testsuite"
|
2018-05-18 09:45:01 +00:00
|
|
|
BuildRequires: cscope
|
2018-05-15 14:54:01 +00:00
|
|
|
BuildRequires: dejagnu
|
2013-10-29 15:21:43 +00:00
|
|
|
BuildRequires: expect
|
2017-06-26 13:17:30 +00:00
|
|
|
BuildRequires: flex
|
2018-05-18 09:45:01 +00:00
|
|
|
BuildRequires: gettext-tools
|
2017-06-26 13:17:30 +00:00
|
|
|
BuildRequires: libtool
|
2018-05-18 09:45:01 +00:00
|
|
|
BuildRequires: makedepend
|
2018-05-15 14:54:01 +00:00
|
|
|
BuildRequires: makeinfo
|
2018-05-18 09:45:01 +00:00
|
|
|
BuildRequires: pkg-config
|
|
|
|
BuildRequires: python
|
|
|
|
BuildRequires: sharutils
|
|
|
|
%if 0%{suse_version} >= 1500
|
|
|
|
BuildRequires: vala
|
2018-06-19 15:17:49 +00:00
|
|
|
BuildRequires: pkgconfig(gobject-2.0)
|
2018-05-18 09:45:01 +00:00
|
|
|
%endif
|
2018-05-15 14:54:01 +00:00
|
|
|
BuildRequires: zip
|
2013-10-29 15:21:43 +00:00
|
|
|
Requires: expect
|
2017-06-26 13:17:30 +00:00
|
|
|
Requires: flex
|
|
|
|
Requires: libtool
|
2012-05-03 10:23:35 +00:00
|
|
|
%endif
|
2009-06-19 00:49:25 +00:00
|
|
|
|
2018-05-02 14:42:26 +00:00
|
|
|
# remove bogus Automake perl dependencies and provides
|
|
|
|
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Automake::
|
|
|
|
%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}^perl\\(Automake::
|
|
|
|
|
2009-06-19 00:49:25 +00:00
|
|
|
%description
|
|
|
|
Automake is a tool for automatically generating "Makefile.in" files
|
|
|
|
from "Makefile.am" files. "Makefile.am" is a series of "make" macro
|
|
|
|
definitions (with rules occasionally thrown in). The generated
|
|
|
|
"Makefile.in" files are compatible with the GNU Makefile standards.
|
|
|
|
|
|
|
|
%prep
|
2014-08-25 13:04:49 +00:00
|
|
|
%setup -q -n automake-%{version}
|
2017-06-26 13:17:30 +00:00
|
|
|
%patch2 -p1
|
2013-08-17 11:53:41 +00:00
|
|
|
%patch3 -p1
|
2016-06-16 16:33:18 +00:00
|
|
|
%patch5 -p1
|
2018-03-21 12:00:44 +00:00
|
|
|
%patch100
|
2009-06-19 00:49:25 +00:00
|
|
|
|
|
|
|
%build
|
2017-06-26 13:17:30 +00:00
|
|
|
sh bootstrap
|
2009-06-19 00:49:25 +00:00
|
|
|
%configure --docdir=%{_docdir}/%{name}
|
2018-05-02 14:42:26 +00:00
|
|
|
make #%%{?_smp_mflags}
|
2011-12-21 08:59:17 +00:00
|
|
|
|
2009-06-19 00:49:25 +00:00
|
|
|
%if "%{name}" == "automake-testsuite"
|
|
|
|
%check
|
|
|
|
# Some architectures can't keep up the pace.
|
2017-06-26 13:17:30 +00:00
|
|
|
%ifnarch alpha %{arm}
|
|
|
|
make %{?_smp_mflags} check VERBOSE=1
|
2009-06-19 00:49:25 +00:00
|
|
|
%endif
|
2009-06-29 12:27:08 +00:00
|
|
|
|
|
|
|
%install
|
2009-06-19 00:49:25 +00:00
|
|
|
%else
|
|
|
|
%install
|
2017-06-26 13:17:30 +00:00
|
|
|
%make_install
|
2013-05-29 09:18:44 +00:00
|
|
|
mkdir %{buildroot}/etc
|
2017-06-26 13:17:30 +00:00
|
|
|
echo %{_prefix}/local/share/aclocal >%{buildroot}%{_sysconfdir}/aclocal_dirlist
|
|
|
|
ln -s %{_sysconfdir}/aclocal_dirlist %{buildroot}%{_datadir}/aclocal/dirlist
|
2009-06-19 00:49:25 +00:00
|
|
|
install -m644 AUTHORS COPYING ChangeLog NEWS README THANKS %{buildroot}%{_docdir}/%{name}
|
2011-12-21 08:59:17 +00:00
|
|
|
# info's dir file is not auto ignored on some systems
|
|
|
|
rm -rf %{buildroot}%{_infodir}/dir
|
2009-06-19 00:49:25 +00:00
|
|
|
#name == automake
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%post
|
2017-06-26 13:17:30 +00:00
|
|
|
%install_info --info-dir=%{_infodir} %{_infodir}/automake.info%{ext_info}
|
2009-06-19 00:49:25 +00:00
|
|
|
|
2015-05-17 16:07:26 +00:00
|
|
|
%preun
|
2017-06-26 13:17:30 +00:00
|
|
|
%install_info_delete --info-dir=%{_infodir} %{_infodir}/automake.info%{ext_info}
|
2009-06-19 00:49:25 +00:00
|
|
|
|
|
|
|
%if "%{name}" == "automake"
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc %{_docdir}/%{name}
|
|
|
|
%{_bindir}/*
|
2017-06-26 13:17:30 +00:00
|
|
|
%{_infodir}/*%{ext_info}
|
|
|
|
%{_mandir}/man1/*
|
2009-06-19 00:49:25 +00:00
|
|
|
%{_datadir}/aclocal*
|
|
|
|
%{_datadir}/automake-*
|
2017-06-26 13:17:30 +00:00
|
|
|
%config %{_sysconfdir}/aclocal_dirlist
|
2009-06-19 00:49:25 +00:00
|
|
|
%endif
|
|
|
|
|
|
|
|
%changelog
|