source: rtems/contrib/crossrpms/autotools/autoconf.add @ 43858659

4.104.114.84.95
Last change on this file since 43858659 was 727e8469, checked in by Ralf Corsepius <ralf.corsepius@…>, on 01/10/07 at 08:02:01

Rename autoconf-rtems into autoconf.

  • Property mode set to 100644
File size: 1.9 KB
Line 
1%define rpmvers 2.61
2%define srcvers 2.61
3
4%if "%{_prefix}" != "/usr"
5%define name                    @rpmprefix@autoconf
6%else
7%define name                    autoconf
8%endif
9
10
11Name:           %{name}
12License:        GPL
13URL:            http://www.gnu.org/software/autoconf
14Group:          Development/Tools
15Version:        %{rpmvers}
16Release:        @AUTOCONF_RPMREL@%{?dist}
17Summary:        Tool for automatically generating GNU style Makefile.in's
18
19%if "%{_prefix}" != "/usr"
20Obsoletes:      @rpmprefix@autoconf-rtems < %{version}-%{release}
21Provides:       @rpmprefix@autoconf-rtems = %{version}-%{release}
22%endif
23
24BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
25BuildArch:      noarch
26BuildRequires:  perl m4 gawk emacs
27Requires:       m4 gawk
28Requires(post):         /sbin/install-info
29Requires(preun):        /sbin/install-info
30
31Source0:        ftp://ftp.gnu.org/gnu/autoconf/autoconf-%{srcvers}.tar.bz2
32
33%description
34GNU's Autoconf is a tool for configuring source code and Makefiles.
35Using Autoconf, programmers can create portable and configurable
36packages, since the person building the package is allowed to
37specify various configuration options.
38You should install Autoconf if you are developing software and you'd
39like to use it to create shell scripts which will configure your
40source code packages.
41Note that the Autoconf package is not required for the end user who
42may be configuring software with an Autoconf-generated script;
43Autoconf is only required for the generation of the scripts, not
44their use.
45
46%prep
47%setup -q -n autoconf-%{srcvers}
48
49%build
50./configure --prefix=%{_prefix} --infodir=%{_infodir} --mandir=%{_mandir} \
51  --bindir=%{_bindir} --datadir=%{_datadir}
52make
53
54%install
55rm -rf "${RPM_BUILD_ROOT}"
56make DESTDIR=${RPM_BUILD_ROOT} install
57
58# Create this directory to prevent the corresponding line
59# in %%files below to fail
60mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/emacs/site-lisp
61
62# RTEMS's standards.info comes from binutils
63rm -f $RPM_BUILD_ROOT%{_infodir}/standards.info*
64
65rm -f $RPM_BUILD_ROOT%{_infodir}/dir
66touch $RPM_BUILD_ROOT%{_infodir}/dir
67
Note: See TracBrowser for help on using the repository browser.