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

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

spec: autoconf: Release 2.69-2.

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