2006-12-19 00:15:10 +01:00
|
|
|
#
|
2011-12-21 09:59:17 +01:00
|
|
|
# spec file for package automake
|
2006-12-19 00:15:10 +01:00
|
|
|
#
|
2017-02-24 16:55:45 +01:00
|
|
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
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.
|
|
|
|
|
2006-12-19 00:15:10 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2009-03-17 16:44:42 +01:00
|
|
|
|
2013-02-27 06:43:54 +01:00
|
|
|
# PLEASE run pre_checkin.sh in this directory before submitting
|
|
|
|
# this package. Otherwise the .spec and .changes for automake-testsuite
|
|
|
|
# aren't updated.
|
|
|
|
|
2006-12-19 00:15:10 +01:00
|
|
|
Name: automake
|
- Update to 1.15:
New in 1.15:
* Improvements and refactorings in the install-sh script:
- It has been modernized, and now makes the following assumptions
*unconditionally*:
(1) a working 'dirname' program is available;
(2) the ${var:-value} shell parameters substitution works;
(3) the "set -f" and "set +f" shell commands work, and, respectively,
disable and enable shell globbing.
- The script implements stricter error checking, and now it complains
and bails out if any of the following expectations is not met:
(1) the options -d and -t are never used together;
(2) the argument passed to option -t is a directory;
(3) if there are two or more SOURCEFILE arguments, the
DESTINATION argument must be a directory.
* Automake-generated testsuites:
- The default test-driver used by the Automake-generates testsuites
now appends the result and exit status of each "plain" test to the
associated log file (automake bug#11814).
- The perl implementation of the TAP testsuite driver is no longer
installed in the Automake's scripts directory, and is instead just
distributed as a "contrib" addition. There should be no reason to
use this implementation anyway in real packages, since the awk+shell
implementation of the TAP driver (which is documented in the manual)
is more portable and has feature parity with the perl implementation.
- The rule generating 'test-suite.log' no longer risk incurring in an
extra useless "make all" recursive invocation in some corner cases
(automake bug#16302).
* Distribution:
- Automake bug#18286: "make distcheck" could sometimes fail to detect
files missing from the distribution tarball, especially in those cases
where both the generated files and their dependencies are explicitly
in $(srcdir). An important example of this are *generated* makefile
fragments included at Automake time in Makefile.am; e.g.:
...
$(srcdir)/fragment.am: $(srcdir)/data.txt $(srcdir)/preproc.sh
cd $(srcdir) && $(SHELL) preproc.sh <data.txt >fragment.am
include $(srcdir)/fragment.am
...
If the use forgot to add data.txt and/or preproc.sh in the distribution
tarball, "make distcheck" would have erroneously succeeded! This issue
is now fixed.
- As a consequence of the previous change, "make distcheck" will run
using '$(distdir)/_build/sub' as the build directory, rather than
simply '$(distdir)/_build' (as it was the case for Automake 1.14 and
earlier). Consequently, the './configure' and 'make' invocations
issued by the distcheck recipe now have $(srcdir) equal to '../..',
rather than to just '..'. Dependent and similar variables (e.g.,
'$(top_srcdir)') are also changed accordingly.
Thus, Makefiles that made assumptions about the exact values of the
build and source directories used by "make distcheck" will have to
be adjusted. Notice that making such assumptions was a bad and
unsupported practice anyway, since the exact locations of those
directories should be considered implementation details, and we
reserve the right to change them at any time.
* Miscellaneous bugs fixed:
- The expansion of AM_INIT_AUTOMAKE ends once again with a trailing
newline (bug#16841). Regression introduced in Automake 1.14.
- We no longer risk to use '$ac_aux_dir' before it's defined (see
automake bug#15981). Bug introduced in Automake 1.14.
- The code used to detect whether the currently used make is GNU make
or not (relying on the private macro 'am__is_gnu_make') no longer
risks causing "Arg list too long" for projects using automatic
dependency tracking and having a ton of source files (bug#18744).
- Automake tries to offer a more deterministic output for generated
Makefiles, in the face of the newly-introduced randomization for
hash keys order in Perl 5.18.
- In older Automake versions, if a user defined one single Makefile
fragment (say 'foo.am') to be included via Automake includes in
his main Makefile.am, and defined a custom make rule to generate that
file from other data, Automake used to spuriously complain with some
message like "... overrides Automake target '$(srcdir)/foo.am".
This bug is now fixed.
- The user can now extend the special .PRECIOUS target, the same way
he could already do with the .MAKE .and .PHONY targets.
- Some confusing typos have been fixed in the manual and in few warning
messages (automake bug#16827 and bug#16997).
- Remove automake-fix-ac_aux_dir-used-before-initialized.patch as the
change is incorporated now.
- Refresh automake-SuSE.patch and automake-require_file.patch so that
they apply cleanly.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/automake?expand=0&rev=46
2015-02-10 12:25:10 +01:00
|
|
|
Version: 1.15
|
2014-02-06 16:38:04 +01:00
|
|
|
Release: 0
|
|
|
|
Summary: A Program for Automatically Generating GNU-Style Makefile.in Files
|
|
|
|
License: GPL-2.0+
|
|
|
|
Group: Development/Tools/Building
|
|
|
|
Url: http://www.gnu.org/software/automake
|
|
|
|
|
|
|
|
Source: http://ftp.gnu.org/gnu/automake/automake-%{version}.tar.xz
|
|
|
|
Source2: http://ftp.gnu.org/gnu/automake/automake-%{version}.tar.xz.sig
|
|
|
|
Source3: automake-rpmlintrc
|
|
|
|
Patch2: automake-require_file.patch
|
|
|
|
Patch3: automake-1.13.4-fix-primary-prefix-invalid-couples-test.patch
|
2015-09-01 20:07:24 +02:00
|
|
|
Patch4: automake-perl-5.22.patch
|
2016-06-16 18:33:18 +02:00
|
|
|
Patch5: 0001-correct-parameter-parsing-in-test-driver-script.patch
|
2016-06-26 22:50:04 +02:00
|
|
|
# fixes failing tests with gzip-1.7 and later (upstream commit id 749468ac63042820bc3da85ece5bed64b0c15d62)
|
|
|
|
Patch6: automake-fix-tests-gzip.patch
|
2014-02-06 16:38:04 +01:00
|
|
|
Patch100: automake-SuSE.patch
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
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
|
2012-05-03 12:23:35 +02:00
|
|
|
%if "%{name}" == "automake-testsuite"
|
|
|
|
BuildRequires: libtool
|
|
|
|
Requires: libtool
|
|
|
|
BuildRequires: flex
|
|
|
|
Requires: flex
|
2013-10-29 16:21:43 +01:00
|
|
|
BuildRequires: expect
|
|
|
|
Requires: expect
|
2012-05-03 12:23:35 +02:00
|
|
|
%endif
|
2012-07-04 11:03:51 +02:00
|
|
|
Requires: autoconf >= 2.69
|
2012-04-18 07:07:27 +02:00
|
|
|
Requires: info
|
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}
|
2013-02-27 06:43:54 +01:00
|
|
|
%patch2
|
2013-08-17 13:53:41 +02:00
|
|
|
%patch3 -p1
|
2015-09-01 20:07:24 +02:00
|
|
|
%patch4 -p1
|
2016-06-16 18:33:18 +02:00
|
|
|
%patch5 -p1
|
2016-06-26 22:50:04 +02:00
|
|
|
%patch6 -p1
|
2013-02-27 06:43:54 +01:00
|
|
|
%patch100
|
2006-12-19 00:15:10 +01:00
|
|
|
|
|
|
|
%build
|
2012-07-04 11:03:51 +02:00
|
|
|
sh bootstrap.sh
|
2009-03-17 16:44:42 +01:00
|
|
|
%configure --docdir=%{_docdir}/%{name}
|
2011-12-21 09:59:17 +01:00
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
2009-06-19 02:49:25 +02:00
|
|
|
%if "%{name}" == "automake-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.
|
2009-07-17 15:50:37 +02:00
|
|
|
%ifnarch alpha %arm
|
2006-12-19 00:15:10 +01:00
|
|
|
make check VERBOSE=1
|
|
|
|
%endif
|
2009-06-29 14:27:08 +02:00
|
|
|
|
|
|
|
%install
|
2009-06-19 02:49:25 +02:00
|
|
|
%else
|
2006-12-19 00:15:10 +01:00
|
|
|
|
|
|
|
%install
|
2011-12-21 09:59:17 +01:00
|
|
|
make install DESTDIR=%{buildroot}
|
2013-05-29 11:18:44 +02:00
|
|
|
mkdir %{buildroot}/etc
|
2009-03-17 16:44:42 +01:00
|
|
|
echo /usr/local/share/aclocal >%{buildroot}/etc/aclocal_dirlist
|
2013-05-29 11:18:44 +02:00
|
|
|
ln -s /etc/aclocal_dirlist %{buildroot}/usr/share/aclocal/dirlist
|
2009-03-17 16:44:42 +01:00
|
|
|
install -m644 AUTHORS COPYING 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
|
|
|
|
%install_info --info-dir=%{_infodir} %{_infodir}/automake.info.gz
|
|
|
|
|
2015-05-17 18:07:26 +02:00
|
|
|
%preun
|
2006-12-19 00:15:10 +01:00
|
|
|
%install_info_delete --info-dir=%{_infodir} %{_infodir}/automake.info.gz
|
|
|
|
|
2009-06-19 02:49:25 +02:00
|
|
|
%if "%{name}" == "automake"
|
2006-12-19 00:15:10 +01:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2009-03-17 16:44:42 +01:00
|
|
|
%doc %{_docdir}/%{name}
|
|
|
|
%{_bindir}/*
|
2006-12-19 00:15:10 +01:00
|
|
|
%doc %{_infodir}/*.gz
|
|
|
|
%doc %{_mandir}/man1/*
|
2009-03-17 16:44:42 +01:00
|
|
|
%{_datadir}/aclocal*
|
|
|
|
%{_datadir}/automake-*
|
2006-12-19 00:15:10 +01:00
|
|
|
%config /etc/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
|