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

4.104.114.84.95
Last change on this file since bd8f4d8 was bd8f4d8, checked in by Ralf Corsepius <ralf.corsepius@…>, on 11/19/06 at 03:38:30

2006-11-19 Ralf Corsépius <ralf.corsepius@…>

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