| 1 | Summary: A GNU tool for automatically configuring source code
|
|---|
| 2 | Name: autoconf
|
|---|
| 3 | Version: 2.69
|
|---|
| 4 | Release: 4%{?dist}
|
|---|
| 5 | License: GPLv2+ and GFDL
|
|---|
| 6 | Group: Development/Tools
|
|---|
| 7 | URL: http://www.gnu.org/software/autoconf/
|
|---|
| 8 | BuildArch: noarch
|
|---|
| 9 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|---|
| 10 |
|
|---|
| 11 | %define svn_url http://svn.netlabs.org/repos/ports/autoconf/trunk
|
|---|
| 12 | %define svn_rev 1760
|
|---|
| 13 |
|
|---|
| 14 | Source: %{name}-%{version}-r%{svn_rev}.zip
|
|---|
| 15 |
|
|---|
| 16 | BuildRequires: gcc make subversion zip
|
|---|
| 17 |
|
|---|
| 18 | # m4 >= 1.4.6 is required, >= 1.4.13 is recommended:
|
|---|
| 19 | BuildRequires: m4 >= 1.4.13
|
|---|
| 20 | Requires: m4 >= 1.4.13
|
|---|
| 21 | #BuildRequires: emacs
|
|---|
| 22 |
|
|---|
| 23 | %info_requires
|
|---|
| 24 |
|
|---|
| 25 | # for autoreconf
|
|---|
| 26 | Requires: autoconf
|
|---|
| 27 |
|
|---|
| 28 | # for check only:
|
|---|
| 29 | #BuildRequires: automake libtool gcc-gfortran
|
|---|
| 30 |
|
|---|
| 31 | %description
|
|---|
| 32 | GNU's Autoconf is a tool for configuring source code and Makefiles.
|
|---|
| 33 | Using Autoconf, programmers can create portable and configurable
|
|---|
| 34 | packages, since the person building the package is allowed to
|
|---|
| 35 | specify various configuration options.
|
|---|
| 36 |
|
|---|
| 37 | You should install Autoconf if you are developing software and
|
|---|
| 38 | would like to create shell scripts that configure your source code
|
|---|
| 39 | packages. If you are installing Autoconf, you will also need to
|
|---|
| 40 | install the GNU m4 package.
|
|---|
| 41 |
|
|---|
| 42 | Note that the Autoconf package is not required for the end-user who
|
|---|
| 43 | may be configuring software with an Autoconf-generated script;
|
|---|
| 44 | Autoconf is only required for the generation of the scripts, not
|
|---|
| 45 | their use.
|
|---|
| 46 |
|
|---|
| 47 | %prep
|
|---|
| 48 | %if %(sh -c 'if test -f "%{_sourcedir}/%{name}-%{version}-r%{svn_rev}.zip" ; then echo 1 ; else echo 0 ; fi')
|
|---|
| 49 | %setup -q
|
|---|
| 50 | %else
|
|---|
| 51 | %setup -n "%{name}-%{version}" -Tc
|
|---|
| 52 | svn export -r %{svn_rev} %{svn_url} . --force
|
|---|
| 53 | rm -f "%{_sourcedir}/%{name}-%{version}-r%{svn_rev}.zip"
|
|---|
| 54 | (cd .. && zip -SrX9 "%{_sourcedir}/%{name}-%{version}-r%{svn_rev}.zip" "%{name}-%{version}")
|
|---|
| 55 | %endif
|
|---|
| 56 |
|
|---|
| 57 | %build
|
|---|
| 58 |
|
|---|
| 59 | # make sure configure is updated to properly support OS/2
|
|---|
| 60 | autoreconf --verbose --install
|
|---|
| 61 |
|
|---|
| 62 | %configure
|
|---|
| 63 |
|
|---|
| 64 | # not parallel safe
|
|---|
| 65 | make
|
|---|
| 66 |
|
|---|
| 67 | #%check
|
|---|
| 68 | # The following test is failing.
|
|---|
| 69 | # 188: autotest.at:1195 parallel autotest and signal handling
|
|---|
| 70 | # In test/autotest.at, under comment "Test PIPE", the exit code written
|
|---|
| 71 | # to file "status" is 0. Report mailed to bug-autoconf.
|
|---|
| 72 | #make check TESTSUITEFLAGS='-187 189-'
|
|---|
| 73 |
|
|---|
| 74 | %install
|
|---|
| 75 | rm -rf ${RPM_BUILD_ROOT}
|
|---|
| 76 | make install DESTDIR=$RPM_BUILD_ROOT
|
|---|
| 77 |
|
|---|
| 78 | rm -f $RPM_BUILD_ROOT%{_infodir}/dir
|
|---|
| 79 |
|
|---|
| 80 | %clean
|
|---|
| 81 | rm -rf ${RPM_BUILD_ROOT}
|
|---|
| 82 |
|
|---|
| 83 | %post
|
|---|
| 84 | %info_post autoconf.info
|
|---|
| 85 |
|
|---|
| 86 | %preun
|
|---|
| 87 | info_preun autoconf.info
|
|---|
| 88 |
|
|---|
| 89 | %files
|
|---|
| 90 | %defattr(-,root,root,-)
|
|---|
| 91 | %{_bindir}/*
|
|---|
| 92 | %{_infodir}/autoconf.info*
|
|---|
| 93 | # don't include standards.info, because it comes from binutils...
|
|---|
| 94 | %exclude %{_infodir}/standards*
|
|---|
| 95 | %{_datadir}/autoconf/
|
|---|
| 96 | #%dir %{_datadir}/emacs/
|
|---|
| 97 | #%{_datadir}/emacs/site-lisp/
|
|---|
| 98 | %{_mandir}/man1/*
|
|---|
| 99 | %doc AUTHORS COPYING ChangeLog NEWS README THANKS TODO
|
|---|
| 100 |
|
|---|
| 101 | %changelog
|
|---|
| 102 | * Wed Oct 19 2016 Dmitriy Kuminov <coding@dmik.org> 2.69-4
|
|---|
| 103 | - Overcome 32k command line limit on OS/2 in autom4te.
|
|---|
| 104 |
|
|---|
| 105 | * Tue Oct 18 2016 Dmitriy Kuminov <coding@dmik.org> 2.69-3
|
|---|
| 106 | - Disable too strict MAP_FIXED test on OS/2. Note that in order to let autoconf
|
|---|
| 107 | detect mmap presense, LIBCx must be installed and used (LIBS="-lcx").
|
|---|
| 108 | - Install documentation in INFO format.
|
|---|
| 109 | - Rebuild against LIBC 0.6.6 and GCC 4.9.2.
|
|---|
| 110 |
|
|---|
| 111 | * Wed Sep 3 2014 Dmitriy Kuminov <coding@dmik.org> 2.69-2
|
|---|
| 112 | - Use /@unixroot in generated files instead of absolute paths to programs.
|
|---|
| 113 |
|
|---|
| 114 | * Fri Aug 29 2014 Dmitriy Kuminov <coding@dmik.org> 2.69-1
|
|---|
| 115 | - Update to version 2.69.
|
|---|
| 116 | - Fix PATH_SEPARATOR misdetection.
|
|---|
| 117 | - Remove annoying $ac_executable_extensions warning.
|
|---|
| 118 | - Apply various fixes to improve OS/2 and kLIBC support.
|
|---|
| 119 |
|
|---|
| 120 | * Wed Oct 26 2011 yd
|
|---|
| 121 | - fixed m4 path
|
|---|