2006-12-19 00:15:10 +01:00
|
|
|
#
|
2024-05-13 10:04:18 +02:00
|
|
|
# spec file for package automake
|
2006-12-19 00:15:10 +01:00
|
|
|
#
|
2024-05-13 10:04:18 +02:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2006-12-19 00:15:10 +01:00
|
|
|
#
|
2009-03-17 16:44:42 +01: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 14:18:36 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2006-12-19 00:15:10 +01:00
|
|
|
#
|
|
|
|
|
2009-03-17 16:44:42 +01:00
|
|
|
|
2020-03-22 16:36:40 +01: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::
|
2020-07-21 10:57:05 +02:00
|
|
|
%define flavor @BUILD_FLAVOR@%{nil}
|
|
|
|
%if "%{flavor}" == "testsuite"
|
|
|
|
%define nsuffix -testsuite
|
|
|
|
%else
|
|
|
|
%define nsuffix %{nil}
|
|
|
|
%endif
|
|
|
|
Name: automake%{nsuffix}
|
2021-11-24 15:36:42 +01:00
|
|
|
Version: 1.16.5
|
2014-02-06 16:38:04 +01:00
|
|
|
Release: 0
|
|
|
|
Summary: A Program for Automatically Generating GNU-Style Makefile.in Files
|
2019-11-12 14:18:36 +01:00
|
|
|
# docs ~> GFDL, sources ~> GPLv2+, mkinstalldirs ~> PD and install-sh ~> MIT
|
2021-11-24 15:36:42 +01:00
|
|
|
License: GFDL-1.3-or-later AND GPL-2.0-or-later AND SUSE-Public-Domain AND MIT
|
2014-02-06 16:38:04 +01:00
|
|
|
Group: Development/Tools/Building
|
2020-03-22 16:36:40 +01:00
|
|
|
URL: https://www.gnu.org/software/automake
|
2017-06-26 15:17:30 +02:00
|
|
|
Source0: https://ftp.gnu.org/gnu/automake/automake-%{version}.tar.xz
|
|
|
|
Source1: https://ftp.gnu.org/gnu/automake/automake-%{version}.tar.xz.sig
|
2022-05-24 21:34:21 +02:00
|
|
|
# taken from https://savannah.gnu.org/project/release-gpgkeys.php?group=automake&download=1
|
|
|
|
Source2: automake.keyring
|
2014-02-06 16:38:04 +01:00
|
|
|
Source3: automake-rpmlintrc
|
|
|
|
Patch2: automake-require_file.patch
|
|
|
|
Patch3: automake-1.13.4-fix-primary-prefix-invalid-couples-test.patch
|
2016-06-16 18:33:18 +02:00
|
|
|
Patch5: 0001-correct-parameter-parsing-in-test-driver-script.patch
|
2024-05-13 10:04:18 +02:00
|
|
|
# PATCH-FIX-UPSTREAM: Fix testuite with GCC-14
|
|
|
|
Patch6: tests-Fix-type-defaults-error-in-link_cond.patch
|
|
|
|
Patch7: tests-avoid-implicit-function-declaration-in-depcomp.patch
|
|
|
|
Patch8: tests-don-t-try-to-prevent-flex-from-including-unist.patch
|
|
|
|
Patch9: tests-avoid-implicit-function-declarations.patch
|
2021-01-06 17:31:27 +01:00
|
|
|
Patch100: automake-suse-vendor.patch
|
2012-07-04 11:03:51 +02:00
|
|
|
BuildRequires: autoconf >= 2.69
|
2011-12-21 09:59:17 +01:00
|
|
|
BuildRequires: bison
|
- Update to 1.12:
* Changes to Yacc and Lex support:
- C source and header files derived from non-distributed Yacc
and/or Lex sources are now removed by a simple "make clean"
(while they were previously removed only by "make
maintainer-clean").
- Slightly backward-incompatible change, relevant only for use of
Yacc with C++: the extensions of the header files produced by the
Yacc rules are now modelled after the extension of the
corresponding sources. For example, yacc files named "foo.y++"
and "bar.yy" will produce header files named "foo.h++" and
"bar.hh" respectively, where they would have previously produced
header files named simply "foo.h" and "bar.h". This change
offers better compatibility with 'bison -o'.
* Miscellaneous changes:
- The AM_PROG_VALAC macro now causes configure to exit with status
77, rather than 1, if the vala compiler found is too old.
- The build system of Automake itself now avoids the use of make
recursion as much as possible.
- Automake now prefers to quote 'like this' or "like this", rather
than `like this', in diagnostic message and generated Makefiles,
to accommodate the new GNU Coding Standards recommendations.
- Automake has a new option '--print-libdir' that prints the path
of the directory containing the Automake-provided scripts and
data files.
- The 'dist' and 'dist-all' targets now can run compressors in
- parallel.
- The rules to create pdf, dvi and ps output from Texinfo files now
works better with modern 'texi2dvi' script, by explicitly passing
it the '--clean' option to ensure stray auxiliary files are not
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/automake?expand=0&rev=12
2012-04-26 16:51:31 +02:00
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: gcc-fortran
|
2012-04-18 11:42:54 +02:00
|
|
|
BuildRequires: xz
|
2017-10-21 08:15:41 +02:00
|
|
|
BuildRequires: perl(Thread::Queue)
|
2018-05-02 16:42:26 +02:00
|
|
|
BuildRequires: perl(threads)
|
2017-06-26 15:17:30 +02:00
|
|
|
Requires: autoconf >= 2.69
|
2019-11-12 14:18:36 +01:00
|
|
|
Requires: perl
|
2017-06-26 15:17:30 +02:00
|
|
|
Requires(post): info
|
2024-05-13 10:04:18 +02:00
|
|
|
Requires(preun): info
|
2017-06-26 15:17:30 +02:00
|
|
|
BuildArch: noarch
|
2020-07-21 10:57:05 +02:00
|
|
|
%if "%{flavor}" == "testsuite"
|
2018-05-18 11:45:01 +02:00
|
|
|
BuildRequires: cscope
|
2018-05-15 16:54:01 +02:00
|
|
|
BuildRequires: dejagnu
|
2021-01-06 17:31:27 +01:00
|
|
|
BuildRequires: etags
|
2013-10-29 16:21:43 +01:00
|
|
|
BuildRequires: expect
|
2017-06-26 15:17:30 +02:00
|
|
|
BuildRequires: flex
|
2018-05-18 11:45:01 +02:00
|
|
|
BuildRequires: gettext-tools
|
2017-06-26 15:17:30 +02:00
|
|
|
BuildRequires: libtool
|
2018-05-18 11:45:01 +02:00
|
|
|
BuildRequires: makedepend
|
2018-05-15 16:54:01 +02:00
|
|
|
BuildRequires: makeinfo
|
2020-03-22 16:36:40 +01:00
|
|
|
BuildRequires: pkgconfig
|
2022-08-08 13:42:37 +02:00
|
|
|
BuildRequires: python3
|
2018-05-18 11:45:01 +02:00
|
|
|
BuildRequires: sharutils
|
2018-05-15 16:54:01 +02:00
|
|
|
BuildRequires: zip
|
2013-10-29 16:21:43 +01:00
|
|
|
Requires: expect
|
2017-06-26 15:17:30 +02:00
|
|
|
Requires: flex
|
|
|
|
Requires: libtool
|
2020-03-22 16:36:40 +01:00
|
|
|
%if 0%{?suse_version} >= 1500
|
|
|
|
BuildRequires: vala
|
|
|
|
BuildRequires: pkgconfig(gobject-2.0)
|
|
|
|
%endif
|
2012-05-03 12:23:35 +02:00
|
|
|
%endif
|
2018-05-02 16:42:26 +02:00
|
|
|
|
2006-12-19 00:15:10 +01: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 15:04:49 +02:00
|
|
|
%setup -q -n automake-%{version}
|
2021-02-23 21:57:17 +01:00
|
|
|
%autopatch -p1
|
2006-12-19 00:15:10 +01:00
|
|
|
|
|
|
|
%build
|
2017-06-26 15:17:30 +02:00
|
|
|
sh bootstrap
|
2009-03-17 16:44:42 +01:00
|
|
|
%configure --docdir=%{_docdir}/%{name}
|
2020-03-22 16:36:40 +01:00
|
|
|
%make_build #%%{?_smp_mflags}
|
2011-12-21 09:59:17 +01:00
|
|
|
|
2020-07-21 10:57:05 +02:00
|
|
|
%if "%{flavor}" == "testsuite"
|
2009-03-17 16:44:42 +01:00
|
|
|
%check
|
2006-12-19 00:15:10 +01:00
|
|
|
# Some architectures can't keep up the pace.
|
2017-06-26 15:17:30 +02:00
|
|
|
%ifnarch alpha %{arm}
|
2020-03-22 16:36:40 +01:00
|
|
|
%make_build check
|
2006-12-19 00:15:10 +01:00
|
|
|
%endif
|
2009-06-29 14:27:08 +02:00
|
|
|
|
|
|
|
%install
|
2009-06-19 02:49:25 +02:00
|
|
|
%else
|
2021-11-24 15:36:42 +01:00
|
|
|
|
2006-12-19 00:15:10 +01:00
|
|
|
%install
|
2017-06-26 15:17:30 +02:00
|
|
|
%make_install
|
2020-03-22 16:36:40 +01:00
|
|
|
mkdir %{buildroot}%{_sysconfdir}
|
2017-06-26 15:17:30 +02:00
|
|
|
echo %{_prefix}/local/share/aclocal >%{buildroot}%{_sysconfdir}/aclocal_dirlist
|
|
|
|
ln -s %{_sysconfdir}/aclocal_dirlist %{buildroot}%{_datadir}/aclocal/dirlist
|
2021-03-12 23:03:08 +01:00
|
|
|
install -m644 AUTHORS ChangeLog NEWS README THANKS %{buildroot}%{_docdir}/%{name}
|
2011-12-21 09:59:17 +01:00
|
|
|
# info's dir file is not auto ignored on some systems
|
|
|
|
rm -rf %{buildroot}%{_infodir}/dir
|
2009-06-19 02:49:25 +02:00
|
|
|
#name == automake
|
|
|
|
%endif
|
2006-12-19 00:15:10 +01:00
|
|
|
|
|
|
|
%post
|
2017-06-26 15:17:30 +02:00
|
|
|
%install_info --info-dir=%{_infodir} %{_infodir}/automake.info%{ext_info}
|
2006-12-19 00:15:10 +01:00
|
|
|
|
2015-05-17 18:07:26 +02:00
|
|
|
%preun
|
2017-06-26 15:17:30 +02:00
|
|
|
%install_info_delete --info-dir=%{_infodir} %{_infodir}/automake.info%{ext_info}
|
2006-12-19 00:15:10 +01:00
|
|
|
|
2020-07-21 10:57:05 +02:00
|
|
|
%if "%{flavor}" == ""
|
2006-12-19 00:15:10 +01:00
|
|
|
%files
|
2021-03-12 23:03:08 +01:00
|
|
|
%license COPYING
|
2009-03-17 16:44:42 +01:00
|
|
|
%doc %{_docdir}/%{name}
|
|
|
|
%{_bindir}/*
|
2017-06-26 15:17:30 +02:00
|
|
|
%{_infodir}/*%{ext_info}
|
|
|
|
%{_mandir}/man1/*
|
2009-03-17 16:44:42 +01:00
|
|
|
%{_datadir}/aclocal*
|
|
|
|
%{_datadir}/automake-*
|
2017-06-26 15:17:30 +02:00
|
|
|
%config %{_sysconfdir}/aclocal_dirlist
|
2009-06-19 02:49:25 +02:00
|
|
|
%endif
|
2007-11-23 01:30:18 +01:00
|
|
|
|
2007-10-13 18:02:19 +02:00
|
|
|
%changelog
|