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

4.104.114.84.95
Last change on this file since d21091b was d21091b, checked in by Ralf Corsepius <ralf.corsepius@…>, on Oct 25, 2002 at 2:52:25 PM

2002-10-25 Joel Sherrill <joel@…>

  • autotools/autoconf-rtems.spec.in: New. Remove Provides: autoconf (Conflicts with RH-8.0).
  • autotools/autoconf-rtems.spec: Remove.
  • autotools/automake-rtems.spec.in: Remove Provides: automake (Conflicts with RH-8.0).
  • gcc3newlib/Makefile.am: Remove references to mkgcc3newlibspec.
  • Makefile.am: Ditto.
  • configure.ac: Add autotools/autoconf-rtems.spec.in.
  • Property mode set to 100644
File size: 2.5 KB
Line 
1#
2# spec file for autoconf
3#
4
5%define rpmvers 2.52
6%define srcvers 2.52
7
8%define _defaultbuildroot       %{_tmppath}/%{name}-%{srcvers}-root
9%define _prefix                 @prefix @
10%define _name                   autoconf
11
12%if "%{_prefix}" != "/usr"
13%define name                    %{_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:        rtems
28Autoreqprov:  on
29Version:      %{rpmvers}
30Release:      1
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
Note: See TracBrowser for help on using the repository browser.