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

Last change on this file since 1010 was 866, checked in by dmik, 9 years ago

spec: autoconf: Release version 2.69-4.

File size: 3.5 KB
Line 
1Summary: A GNU tool for automatically configuring source code
2Name: autoconf
3Version: 2.69
4Release: 4%{?dist}
5License: GPLv2+ and GFDL
6Group: Development/Tools
7URL: http://www.gnu.org/software/autoconf/
8BuildArch: noarch
9BuildRoot: %{_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
14Source: %{name}-%{version}-r%{svn_rev}.zip
15
16BuildRequires: gcc make subversion zip
17
18# m4 >= 1.4.6 is required, >= 1.4.13 is recommended:
19BuildRequires: m4 >= 1.4.13
20Requires: m4 >= 1.4.13
21#BuildRequires: emacs
22
23%info_requires
24
25# for autoreconf
26Requires: autoconf
27
28# for check only:
29#BuildRequires: automake libtool gcc-gfortran
30
31%description
32GNU's Autoconf is a tool for configuring source code and Makefiles.
33Using Autoconf, programmers can create portable and configurable
34packages, since the person building the package is allowed to
35specify various configuration options.
36
37You should install Autoconf if you are developing software and
38would like to create shell scripts that configure your source code
39packages. If you are installing Autoconf, you will also need to
40install the GNU m4 package.
41
42Note that the Autoconf package is not required for the end-user who
43may be configuring software with an Autoconf-generated script;
44Autoconf is only required for the generation of the scripts, not
45their 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
52svn export -r %{svn_rev} %{svn_url} . --force
53rm -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
60autoreconf --verbose --install
61
62%configure
63
64# not parallel safe
65make
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
75rm -rf ${RPM_BUILD_ROOT}
76make install DESTDIR=$RPM_BUILD_ROOT
77
78rm -f $RPM_BUILD_ROOT%{_infodir}/dir
79
80%clean
81rm -rf ${RPM_BUILD_ROOT}
82
83%post
84%info_post autoconf.info
85
86%preun
87info_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
Note: See TracBrowser for help on using the repository browser.