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
|
|
|
#
|
2011-12-21 09:59:17 +01:00
|
|
|
# Copyright (c) 2011 SUSE LINUX Products 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
|
|
|
|
2006-12-19 00:15:10 +01:00
|
|
|
Name: automake
|
2011-12-21 09:59:17 +01:00
|
|
|
BuildRequires: autoconf
|
|
|
|
BuildRequires: bison
|
|
|
|
BuildRequires: help2man
|
|
|
|
Requires: info
|
2009-06-19 02:49:25 +02:00
|
|
|
Requires: autoconf >= 2.62
|
2009-12-11 17:59:51 +01:00
|
|
|
Version: 1.11.1
|
2011-12-21 09:59:17 +01:00
|
|
|
Release: 0
|
2006-12-19 00:15:10 +01:00
|
|
|
Summary: A Program for Automatically Generating GNU-Style Makefile.in Files
|
2011-12-21 09:59:17 +01:00
|
|
|
License: GPL-2.0+
|
|
|
|
Group: Development/Tools/Building
|
2007-10-13 18:02:19 +02:00
|
|
|
Url: http://www.gnu.org/software/automake
|
2006-12-19 00:15:10 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
Source: automake-%{version}.tar.bz2
|
2009-03-17 16:44:42 +01:00
|
|
|
Source1: automake-rpmlintrc
|
2006-12-19 00:15:10 +01:00
|
|
|
Patch1: automake-SuSE.patch
|
2009-03-17 16:44:42 +01:00
|
|
|
Patch3: automake-require_file.patch
|
2009-12-11 17:59:51 +01:00
|
|
|
BuildArch: noarch
|
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
|
2009-06-19 02:49:25 +02:00
|
|
|
%setup -q -n automake-%{version}
|
2006-12-19 00:15:10 +01:00
|
|
|
%patch1
|
|
|
|
%patch3
|
|
|
|
|
|
|
|
%build
|
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}
|
2009-03-17 16:44:42 +01:00
|
|
|
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}
|
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
|
|
|
|
|
|
|
|
%postun
|
|
|
|
%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
|