summaryrefslogtreecommitdiff
path: root/packaging/m4.spec
blob: 7009f02289e71138c49d30f0cbf6941269f3dc9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
Name:           m4
Version:        1.4.16
Release:        0
License:        GPL-3.0+
Summary:        GNU m4
Url:            http://www.gnu.org/software/m4/
Group:          Development/Languages/Other
Source:         http://ftp.gnu.org/pub/gnu/m4/%{name}-%{version}.tar.bz2
Patch1:         m4-stdio.in.patch
Provides:       base:/usr/bin/m4
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
GNU m4 is an implementation of the traditional Unix macro processor.

%prep
%setup -q
%patch1 -p1

%build
%configure \
	    --without-included-regex \
	    gl_cv_func_isnanl_works=yes \
	    gl_cv_func_printf_directive_n=yes
make %{?_smp_mflags}

%check
make %{?_smp_mflags} check || true

%install
%make_install

%files
%defattr(-,root,root)
%doc README COPYING
%{_bindir}/*
%doc %{_infodir}/*.gz
%{_mandir}/*/*