source: rtems/scripts/autotools/autoconf-rtems.spec.in @ 107459f

Last change on this file since 107459f was 4a74b03, checked in by Joel Sherrill <joel.sherrill@…>, on 04/08/04 at 22:08:49

2004-04-08 Joel Sherrill <joel@…>

PR 594/tools

  • setup.def, autotools/autoconf-rtems.spec.in: Increment and rebuild so GNAT included.
  • Property mode set to 100644
File size: 2.5 KB
Line 
1#
2# spec file for autoconf
3#
4
5%define rpmvers 2.57
6%define srcvers 2.57
7
8%define _defaultbuildroot       %{_tmppath}/%{name}-%{srcvers}-root
9%define _prefix                 @prefix@
10%define _name                   autoconf
11
12%if "%{_prefix}" != "/usr"
13%define name                    @rpmprefix@%{_name}-rtems
14%define _infodir                %{_prefix}/info
15%define _mandir                 %{_prefix}/man
16%else
17%define name                    %{_name}
18%endif
19
20
21Vendor:       http://www.rtems.com
22Name:         %{name}
23Packager:     Ralf Corsepius <corsepiu@faw.uni-ulm.de>
24
25Copyright:    GPL
26URL:          http://www.gnu.org/software/autoconf
27Group:        @rpmgroup@
28Autoreqprov:  on
29Version:      %{rpmvers}
30Release:      2
31Summary:      Tool for automatically generating GNU style Makefile.in's
32BuildArch:    noarch
33BuildRoot:    %{_defaultbuildroot}
34BuildPreReq:  autoconf perl m4 gawk
35PreReq:       /sbin/install-info
36
37Source: autoconf-%{srcvers}.tar.bz2
38
39%description
40GNU's Autoconf is a tool for configuring source code and Makefiles.
41Using Autoconf, programmers can create portable and configurable
42packages, since the person building the package is allowed to
43specify various configuration options.
44You should install Autoconf if you are developing software and you'd
45like to use it to create shell scripts which will configure your
46source code packages.
47Note that the Autoconf package is not required for the end user who
48may be configuring software with an Autoconf-generated script;
49Autoconf is only required for the generation of the scripts, not
50their use.
51
52%prep
53%setup -q -n %{_name}-%{srcvers}
54
55%build
56./configure --prefix=%{_prefix} --infodir=%{_infodir} --mandir=%{_mandir}
57make
58
59%install
60%makeinstall
61gzip -9qf $RPM_BUILD_ROOT%{_infodir}/autoconf.info* 2>/dev/null
62# RTEMS's standards.info comes from binutils
63rm -f $RPM_BUILD_ROOT%{_infodir}/standards.info*
64# gzip -9qf $RPM_BUILD_ROOT%{_infodir}/standards.info* 2>/dev/null
65gzip -9qf $RPM_BUILD_ROOT%{_mandir}/man?/* 2>/dev/null
66
67%clean
68[ x"$RPM_BUILD_ROOT" = x"%{_defaultbuildroot}" ] ; \
69   rm -rf "$RPM_BUILD_ROOT"
70
71%post
72install-info  --info-dir=%{_infodir} %{_infodir}/autoconf.info.gz
73#install-info  --info-dir=%{_infodir} %{_infodir}/standards.info.gz
74
75%preun
76if [ $1 = 0 ]; then
77  install-info --delete --info-dir=%{_infodir} %{_infodir}/autoconf.info.gz
78#  install-info --delete --info-dir=%{_infodir} %{_infodir}/standards.info.gz
79fi   
80
81%files
82%defattr(-,root,root)
83%doc AUTHORS COPYING ChangeLog NEWS README THANKS
84%{_bindir}/*
85%doc %{_infodir}/autoconf.info*.gz
86#%doc %{_infodir}/standards.info*.gz
87%doc %{_mandir}/man?/*.gz
88%{_datadir}/autoconf
89%{_datadir}/emacs/site-lisp/*
Note: See TracBrowser for help on using the repository browser.