SHA256
3
0
forked from pool/automake
automake/automake-testsuite.spec

112 lines
3.2 KiB
RPMSpec
Raw Normal View History

#
# spec file for package automake-testsuite
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# PLEASE run pre_checkin.sh in this directory before submitting
# this package. Otherwise the .spec and .changes for automake-testsuite
# aren't updated.
Name: automake-testsuite
BuildRequires: autoconf >= 2.69
BuildRequires: bison
BuildRequires: gcc-c++
BuildRequires: gcc-fortran
- Update to 1.11.5. Changes since 1.11.3: Bugs fixed: - Vala files with '.vapi' extension are now recognized and handled correctly again. See automake bug#11222. - Vala support again works for projects that contain some program built from '.vala' (and possibly '.c') sources and some other program built from '.c' sources *only*. New in 1.11.4: * WARNING: Future backward-incompatibilities! - The support for the "obscure" multilib feature has been deprecated, and will be moved out of the automake core in the next major Automake release (1.12). - The support for ".log -> .html" conversion and the check-html and recheck-html targets will be removed in the next major Automake release (1.12). - The obsolescent AM_WITH_REGEX macro has been deprecated (since the GNU rx library has been decommissioned), and will be removed in the next major Automake release (1.12). - The 'lzma' compression format for distribution archives has been deprecated in favor of `xz' and `lzip', and will be removed in the next major Automake release (1.12). - The '--acdir' option of aclocal is deprecated, and will probably be removed in the next major Automake release (1.12). - The exact order in which the directories in the aclocal macro search path are looked up is probably going to be changed in the next Automake release (1.12). - The Automake support for automatic de-ANSI-fication will be removed in the next major Automake release (1.12). - Starting from the next Automake release (1.12), warnings in the `extra-portability' category will be enabled by `-Wall' (right OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/automake?expand=0&rev=10
2012-04-18 11:42:54 +02:00
BuildRequires: xz
%if "%{name}" == "automake-testsuite"
BuildRequires: libtool
Requires: libtool
BuildRequires: flex
Requires: flex
%endif
Requires: autoconf >= 2.69
Requires: info
- Update to 1.13.2 (for the full change log please see the file NEWS in the package documentation): * Obsolescent features: - Use of suffix-less info files (that can be specified through the '@setfilename' macro in Texinfo input files) is discouraged, and its use will raise warnings in the 'obsolete' category. - Use of Texinfo input files with '.txi' or '.texinfo' extensions is discouraged, and its use will raise warnings in the 'obsolete' category. You are advised to simply use the '.texi' extension instead. * Documentation fixes: - The long-deprecated but still supported two-arguments invocation form of AM_INIT_AUTOMAKE is documented once again. * Bugs fixed: - When the 'ustar' option is used, the generated configure script no longer risks hanging during the tests for the availability of the 'pax' utility, even if the user running configure has a UID or GID that requires more than 21 bits to be represented. - The obsolete macros AM_CONFIG_HEADER or AM_PROG_CC_STDC work once again, as they did in Automake 1.12.x (albeit printing runtime warnings in the 'obsolete' category). - aclocal will no longer error out if the first local m4 directory (as specified by the '-I' option or the 'AC_CONFIG_MACRO_DIRS' or 'AC_CONFIG_MACRO_DIR' macros) doesn't exist; it will merely report a warning in the 'unsupported' category. - aclocal will no longer consider directories for extra m4 files more than once, even if they are specified multiple times. - Analysis of make flags in Automake-generated rules has been made more robust, and more future-proof. - Adapt automake-SUSE.patch to the changed sources. OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/automake?expand=0&rev=30
2013-05-27 16:46:08 +02:00
Version: 1.13.2
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
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source: http://ftp.gnu.org/gnu/automake/automake-%{version}.tar.xz
Source1: automake-rpmlintrc
Source2: aclocal-am_ac.sh
Patch2: automake-require_file.patch
Patch100: automake-SuSE.patch
Patch101: aclocal-am_ac.patch
BuildArch: noarch
%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
%setup -q -n automake-%{version}
%patch2
%patch100
%patch101
%build
sh bootstrap.sh
%configure --docdir=%{_docdir}/%{name}
make %{?_smp_mflags}
%if "%{name}" == "automake-testsuite"
%check
# Some architectures can't keep up the pace.
%ifnarch alpha %arm
make check VERBOSE=1
%endif
%install
%else
%install
make install DESTDIR=%{buildroot}
mkdir -p %{buildroot}/etc %{buildroot}/usr/share/aclocal
install -m755 %{S:2} %{buildroot}/usr/share/aclocal
echo /usr/local/share/aclocal >%{buildroot}/etc/aclocal_dirlist
ln -s ../../../etc/aclocal_dirlist %{buildroot}/usr/share/aclocal/dirlist
install -m644 AUTHORS COPYING ChangeLog NEWS README THANKS %{buildroot}%{_docdir}/%{name}
# info's dir file is not auto ignored on some systems
rm -rf %{buildroot}%{_infodir}/dir
#name == automake
%endif
%post
%install_info --info-dir=%{_infodir} %{_infodir}/automake.info.gz
%postun
%install_info_delete --info-dir=%{_infodir} %{_infodir}/automake.info.gz
%if "%{name}" == "automake"
%files
%defattr(-,root,root)
%doc %{_docdir}/%{name}
%{_bindir}/*
%doc %{_infodir}/*.gz
%doc %{_mandir}/man1/*
%{_datadir}/aclocal*
%{_datadir}/automake-*
%config /etc/aclocal_dirlist
%endif
%changelog