File dba-m4-1417.spec of Package dba-m4-1417

%define pkg_name        m4
%define real_vers       1.4.17
%define pkg_vers        1417
%define prefix          /DBA/%{pkg_name}/%{real_vers}
%define maketest        0

Name:           dba-%{pkg_name}-%{pkg_vers}
Summary:        A GNU Tool for Automatically Configuring Source Code
Packager: 	Holger Manthey <>
Release:        1
Version: 	%{real_vers}
License:        GPL-3.0+
Group:          Development/Tools/Building
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%if 0%{?suse_version} >= 1100
BuildRequires:  -post-build-checks

%if 0%{?rhel_version} >= 600 || 0%{?centos_version} >= 600 || 0%{?fedora_version}
BuildRequires:  perl(ExtUtils::MakeMaker) perl(ExtUtils::Embed)

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

%setup -q -n %{pkg_name}-%{real_vers}

./configure \
  --prefix=%{prefix} \
  --exec-prefix=%{prefix} \
  --without-included-regex \
  gl_cv_func_isnanl_works=yes \


%if %maketest
%{__make} check

# prevent rpath problem on suse
export NO_BRP_CHECK_RPATH=true

%{__mkdir_p} %{buildroot}%{prefix}
make %{?_smp_mflags} DESTDIR=%{buildroot} install

find %{buildroot} -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" -o -name "*.la" |xargs -i rm -vf {}

[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}

%dir %{prefix}

* Tue Dec 17 2013 Holger Manthey <>
- initial package