SHA256
3
0
forked from pool/automake
automake/automake.spec
Philipp Thomas e6bf630680 - 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 14:51:31 +00:00

101 lines
2.9 KiB
RPMSpec

#
# spec file for package automake
#
# Copyright (c) 2012 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/
#
Name: automake
BuildRequires: autoconf
BuildRequires: bison
BuildRequires: gcc-c++
BuildRequires: gcc-fortran
BuildRequires: help2man
BuildRequires: xz
Requires: autoconf >= 2.62
Requires: info
Version: 1.12
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: automake-%{version}.tar.xz
Source1: automake-rpmlintrc
Patch1: automake-SuSE.patch
Patch3: automake-require_file.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
%patch1
%patch3
%build
%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
echo /usr/local/share/aclocal >%{buildroot}/etc/aclocal_dirlist
ln -s ../../../etc/aclocal_dirlist %{buildroot}/usr/share/aclocal/dirlist
mkdir -p %{buildroot}%{_mandir}/man1
perllibdir=lib help2man -S FSF ./aclocal > %{buildroot}%{_mandir}/man1/aclocal.1
perllibdir=lib help2man -S FSF ./automake > %{buildroot}%{_mandir}/man1/automake.1
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