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

Last change on this file since 441 was 441, checked in by dmik, 11 years ago

spec: autoconf: Release 2.69-1.

File size: 3.7 KB
Line 
1Summary: A GNU tool for automatically configuring source code
2Name: autoconf
3Version: 2.69
4Release: 1%{?dist}
5License: GPLv2+ and GFDL
6Group: Development/Tools
7#Source: 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%define svn_url http://svn.netlabs.org/repos/ports/autoconf/trunk
15%define svn_rev 763
16
17Source: %{name}-%{version}-r%{svn_rev}.zip
18
19# m4 >= 1.4.6 is required, >= 1.4.13 is recommended:
20BuildRequires: m4 >= 1.4.13
21Requires: m4 >= 1.4.13
22#BuildRequires: emacs
23#Requires(post): /sbin/install-info
24#Requires(preun): /sbin/install-info
25
26# for autoreconf
27Requires: autoconf
28
29# for check only:
30#BuildRequires: automake libtool gcc-gfortran
31#%if 0%{?fedora}
32#BuildRequires: erlang
33#%endif
34
35# Make AC_FUNC_MMAP work with C++ again.
36# Committed to Autoconf git soon after 2.65.
37#Patch1: autoconf_ac_func_mmap.patch
38
39# filter out bogus perl(Autom4te*) dependencies
40#define _use_internal_dependency_generator 0
41#define __find_provides %{SOURCE1}
42#define __find_requires %{SOURCE2}
43
44%description
45GNU's Autoconf is a tool for configuring source code and Makefiles.
46Using Autoconf, programmers can create portable and configurable
47packages, since the person building the package is allowed to
48specify various configuration options.
49
50You should install Autoconf if you are developing software and
51would like to create shell scripts that configure your source code
52packages. If you are installing Autoconf, you will also need to
53install the GNU m4 package.
54
55Note that the Autoconf package is not required for the end-user who
56may be configuring software with an Autoconf-generated script;
57Autoconf is only required for the generation of the scripts, not
58their use.
59
60%prep
61%if %(sh -c 'if test -f "%{_sourcedir}/%{name}-%{version}-r%{svn_rev}.zip" ; then echo 1 ; else echo 0 ; fi')
62%setup -q
63%else
64%setup -n "%{name}-%{version}" -Tc
65svn export -r %{svn_rev} %{svn_url} . --force
66rm -f "%{_sourcedir}/%{name}-%{version}-r%{svn_rev}.zip"
67(cd .. && zip -SrX9 "%{_sourcedir}/%{name}-%{version}-r%{svn_rev}.zip" "%{name}-%{version}")
68%endif
69
70%build
71
72# make sure configure is updated to properly support OS/2
73autoreconf --verbose --install
74# autoreconf changes some doc files; prevent docs re-generation since we don't have
75# makeinfo/html2man yet
76touch doc/*
77
78%configure
79
80# not parallel safe
81make
82
83#%check
84# The following test is failing.
85# 188: autotest.at:1195 parallel autotest and signal handling
86# In test/autotest.at, under comment "Test PIPE", the exit code written
87# to file "status" is 0. Report mailed to bug-autoconf.
88#make check TESTSUITEFLAGS='-187 189-'
89
90%install
91rm -rf ${RPM_BUILD_ROOT}
92make install DESTDIR=$RPM_BUILD_ROOT
93
94rm -f $RPM_BUILD_ROOT%{_infodir}/dir
95
96%clean
97rm -rf ${RPM_BUILD_ROOT}
98
99#%post
100#/sbin/install-info %{_infodir}/autoconf.info %{_infodir}/dir || :
101
102#%preun
103#if [ "$1" = 0 ]; then
104# /sbin/install-info --del %{_infodir}/autoconf.info %{_infodir}/dir || :
105#fi
106
107%files
108%defattr(-,root,root,-)
109%{_bindir}/*
110%{_infodir}/autoconf.info*
111# don't include standards.info, because it comes from binutils...
112%exclude %{_infodir}/standards*
113%{_datadir}/autoconf/
114#%dir %{_datadir}/emacs/
115#%{_datadir}/emacs/site-lisp/
116%{_mandir}/man1/*
117%doc AUTHORS COPYING ChangeLog NEWS README THANKS TODO
118
119%changelog
120* Fri Aug 29 2014 Dmitriy Kuminov <coding@dmik.org> 2.69-1
121- Update to version 2.69.
122- Fix PATH_SEPARATOR misdetection.
123- Remove annoying $ac_executable_extensions warning.
124- Apply various fixes to improve OS/2 and kLIBC support.
125
126* Wed Oct 26 2011 yd
127- fixed m4 path
Note: See TracBrowser for help on using the repository browser.