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