parent
a2e8dd5d6c
commit
c6fa374cf0
@ -1,20 +1,21 @@
|
||||
Summary: A GNU tool for automatically configuring source code
|
||||
Name: autoconf
|
||||
Version: 2.61
|
||||
Release: 5%{?dist}
|
||||
Release: 6%{?dist}
|
||||
License: GPL
|
||||
Group: Development/Tools
|
||||
Source: http://ftp.gnu.org/gnu/autoconf/autoconf-%{version}.tar.bz2
|
||||
Source1: filter-provides-automake.sh
|
||||
Source2: filter-requires-automake.sh
|
||||
URL: http://www.gnu.org/software/autoconf/
|
||||
BuildRequires: sed, m4, emacs, gawk
|
||||
BuildRequires: m4, emacs
|
||||
Requires(post): /sbin/install-info
|
||||
Requires(preun): /sbin/install-info
|
||||
Requires: gawk, m4, mktemp, imake
|
||||
Requires: m4, mktemp, imake
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
# filter out bogus perl(Autom4te*) dependencies
|
||||
%define _use_internal_dependency_generator 0
|
||||
%define __find_provides %{SOURCE1}
|
||||
%define __find_requires %{SOURCE2}
|
||||
@ -39,6 +40,8 @@ their use.
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
# use ./configure here to avoid copying config.{sub,guess} with those from the
|
||||
# rpm package
|
||||
./configure --prefix=%{_prefix} --mandir=%{_mandir} --infodir=%{_infodir} \
|
||||
--bindir=%{_bindir} --datadir=%{_datadir}
|
||||
make # %{?_smp_mflags} Makefile not smp save
|
||||
@ -56,11 +59,11 @@ rm -f $RPM_BUILD_ROOT%{_infodir}/dir
|
||||
rm -rf ${RPM_BUILD_ROOT}
|
||||
|
||||
%post
|
||||
/sbin/install-info %{_infodir}/autoconf.info.gz %{_infodir}/dir || :
|
||||
/sbin/install-info %{_infodir}/autoconf.info %{_infodir}/dir || :
|
||||
|
||||
%preun
|
||||
if [ "$1" = 0 ]; then
|
||||
/sbin/install-info --del %{_infodir}/autoconf.info.gz %{_infodir}/dir || :
|
||||
/sbin/install-info --del %{_infodir}/autoconf.info %{_infodir}/dir || :
|
||||
fi
|
||||
|
||||
%files
|
||||
@ -75,6 +78,10 @@ fi
|
||||
%doc AUTHORS COPYING ChangeLog NEWS README THANKS TODO
|
||||
|
||||
%changelog
|
||||
* Thu Feb 22 2007 Karsten Hopp <karsten@redhat.com> 2.61-6
|
||||
- drop gawk, sed requirements (#225296)
|
||||
- add some comments
|
||||
|
||||
* Mon Feb 19 2007 Karsten Hopp <karsten@redhat.com> 2.61-5
|
||||
- use ./configure
|
||||
- filter dependencies
|
||||
|
Loading…
Reference in New Issue
Block a user