- use ./configure
- filter dependencies
This commit is contained in:
parent
2e5956dc1c
commit
a2e8dd5d6c
@ -1,10 +1,12 @@
|
|||||||
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: 4%{?dist}
|
Release: 5%{?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
|
||||||
|
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: sed, m4, emacs, gawk
|
||||||
Requires(post): /sbin/install-info
|
Requires(post): /sbin/install-info
|
||||||
@ -13,6 +15,10 @@ Requires: gawk, 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)
|
||||||
|
|
||||||
|
%define _use_internal_dependency_generator 0
|
||||||
|
%define __find_provides %{SOURCE1}
|
||||||
|
%define __find_requires %{SOURCE2}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
GNU's Autoconf is a tool for configuring source code and Makefiles.
|
GNU's Autoconf is a tool for configuring source code and Makefiles.
|
||||||
Using Autoconf, programmers can create portable and configurable
|
Using Autoconf, programmers can create portable and configurable
|
||||||
@ -33,13 +39,8 @@ their use.
|
|||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# move config files out of they way as they require help2man from extras:
|
./configure --prefix=%{_prefix} --mandir=%{_mandir} --infodir=%{_infodir} \
|
||||||
cp -p build-aux/config{.,-}guess
|
--bindir=%{_bindir} --datadir=%{_datadir}
|
||||||
cp -p build-aux/config{.,-}sub
|
|
||||||
%configure
|
|
||||||
# ... and restore them:
|
|
||||||
mv build-aux/config{-,.}guess
|
|
||||||
mv build-aux/config{-,.}sub
|
|
||||||
make # %{?_smp_mflags} Makefile not smp save
|
make # %{?_smp_mflags} Makefile not smp save
|
||||||
|
|
||||||
#check
|
#check
|
||||||
@ -74,6 +75,10 @@ fi
|
|||||||
%doc AUTHORS COPYING ChangeLog NEWS README THANKS TODO
|
%doc AUTHORS COPYING ChangeLog NEWS README THANKS TODO
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Feb 19 2007 Karsten Hopp <karsten@redhat.com> 2.61-5
|
||||||
|
- use ./configure
|
||||||
|
- filter dependencies
|
||||||
|
|
||||||
* Thu Feb 15 2007 Karsten Hopp <karsten@redhat.com> 2.61-4
|
* Thu Feb 15 2007 Karsten Hopp <karsten@redhat.com> 2.61-4
|
||||||
- add disttag
|
- add disttag
|
||||||
- replace tabs with spaces
|
- replace tabs with spaces
|
||||||
|
3
filter-provides-automake.sh
Executable file
3
filter-provides-automake.sh
Executable file
@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
/usr/lib/rpm/find-provides $* | egrep -v 'perl\(Autom4te' | sort -u
|
3
filter-requires-automake.sh
Executable file
3
filter-requires-automake.sh
Executable file
@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
/usr/lib/rpm/find-requires $* | egrep -v 'perl\(Autom4te' | sort -u
|
Loading…
Reference in New Issue
Block a user