source: spec/trunk/SPECS/autoconf.spec@ 175

Last change on this file since 175 was 168, checked in by Yuri Dario, 14 years ago

spec: massive rebuild due to new rpm lx parser updates (see changeset:167).

File size: 2.9 KB
Line 
1Summary: A GNU tool for automatically configuring source code
2Name: autoconf
3Version: 2.65
4Release: 3%{?dist}
5License: GPLv2+ and GFDL
6Group: Development/Tools
7Source: http://ftp.gnu.org/gnu/autoconf/autoconf-%{version}.tar.xz
8#Source1: filter-provides-automake.sh
9#Source2: filter-requires-automake.sh
10URL: http://www.gnu.org/software/autoconf/
11BuildArch: noarch
12BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
13
14# m4 >= 1.4.6 is required, >= 1.4.13 is recommended:
15BuildRequires: m4 >= 1.4.13
16Requires: m4 >= 1.4.13
17#BuildRequires: emacs
18#Requires(post): /sbin/install-info
19#Requires(preun): /sbin/install-info
20
21# for check only:
22#BuildRequires: automake libtool gcc-gfortran
23#%if 0%{?fedora}
24#BuildRequires: erlang
25#%endif
26
27Patch0: autoconf-os2.diff
28
29# Make AC_FUNC_MMAP work with C++ again.
30# Committed to Autoconf git soon after 2.65.
31#Patch1: autoconf_ac_func_mmap.patch
32
33# filter out bogus perl(Autom4te*) dependencies
34#define _use_internal_dependency_generator 0
35#define __find_provides %{SOURCE1}
36#define __find_requires %{SOURCE2}
37
38%description
39GNU's Autoconf is a tool for configuring source code and Makefiles.
40Using Autoconf, programmers can create portable and configurable
41packages, since the person building the package is allowed to
42specify various configuration options.
43
44You should install Autoconf if you are developing software and
45would like to create shell scripts that configure your source code
46packages. If you are installing Autoconf, you will also need to
47install the GNU m4 package.
48
49Note that the Autoconf package is not required for the end-user who
50may be configuring software with an Autoconf-generated script;
51Autoconf is only required for the generation of the scripts, not
52their use.
53
54%prep
55%setup -q
56%patch0 -p1 -b .os2~
57
58%build
59export CONFIG_SHELL="/bin/sh"
60export PERL="/@unixroot/usr/bin/perl.exe"
61%configure \
62 "--cache-file=%{_topdir}/cache/%{name}-%{_target_cpu}.cache"
63# not parallel safe
64make
65
66#%check
67# The following test is failing.
68# 188: autotest.at:1195 parallel autotest and signal handling
69# In test/autotest.at, under comment "Test PIPE", the exit code written
70# to file "status" is 0. Report mailed to bug-autoconf.
71#make check TESTSUITEFLAGS='-187 189-'
72
73%install
74rm -rf ${RPM_BUILD_ROOT}
75make install DESTDIR=$RPM_BUILD_ROOT
76
77rm -f $RPM_BUILD_ROOT%{_infodir}/dir
78
79%clean
80rm -rf ${RPM_BUILD_ROOT}
81
82#%post
83#/sbin/install-info %{_infodir}/autoconf.info %{_infodir}/dir || :
84
85#%preun
86#if [ "$1" = 0 ]; then
87# /sbin/install-info --del %{_infodir}/autoconf.info %{_infodir}/dir || :
88#fi
89
90%files
91%defattr(-,root,root,-)
92%{_bindir}/*
93%{_infodir}/autoconf.info*
94# don't include standards.info, because it comes from binutils...
95%exclude %{_infodir}/standards*
96%{_datadir}/autoconf/
97#%dir %{_datadir}/emacs/
98#%{_datadir}/emacs/site-lisp/
99%{_mandir}/man1/*
100%doc AUTHORS COPYING ChangeLog NEWS README THANKS TODO
101
102%changelog
Note: See TracBrowser for help on using the repository browser.