2006-12-19 00:17:02 +01:00
|
|
|
#
|
2010-09-19 20:10:53 +02:00
|
|
|
# spec file for package m4 (Version 1.4.15)
|
2006-12-19 00:17:02 +01:00
|
|
|
#
|
2010-07-20 20:50:55 +02:00
|
|
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2006-12-19 00:17:02 +01:00
|
|
|
#
|
2008-10-07 15:51:57 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2006-12-19 00:17:02 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2008-04-06 06:35:22 +02:00
|
|
|
|
2006-12-19 00:17:02 +01:00
|
|
|
Name: m4
|
2010-07-20 20:50:55 +02:00
|
|
|
License: GPLv3+
|
2006-12-19 00:17:02 +01:00
|
|
|
Group: Development/Languages/Other
|
|
|
|
Provides: base:/usr/bin/m4
|
|
|
|
PreReq: %{install_info_prereq}
|
2010-09-19 20:10:53 +02:00
|
|
|
Version: 1.4.15
|
|
|
|
Release: 1
|
2006-12-19 00:17:02 +01:00
|
|
|
Summary: GNU m4
|
2007-11-30 16:13:00 +01:00
|
|
|
Url: http://www.gnu.org/software/m4/
|
2010-09-19 20:10:53 +02:00
|
|
|
Source: http://ftp.gnu.org/pub/gnu/m4/%{name}-%{version}.tar.bz2
|
2006-12-19 00:17:02 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
GNU m4 is an implementation of the traditional Unix macro processor.
|
|
|
|
|
|
|
|
%prep
|
2008-10-07 15:51:57 +02:00
|
|
|
%setup -q
|
2006-12-19 00:17:02 +01:00
|
|
|
|
|
|
|
%build
|
2007-11-30 16:13:00 +01:00
|
|
|
AUTOPOINT=true autoreconf -fi
|
2010-09-19 20:10:53 +02:00
|
|
|
%configure \
|
2008-04-06 06:35:22 +02:00
|
|
|
--without-included-regex \
|
2008-10-07 15:51:57 +02:00
|
|
|
gl_cv_func_isnanl_works=yes \
|
2008-04-06 06:35:22 +02:00
|
|
|
gl_cv_func_printf_directive_n=yes
|
2010-07-20 20:50:55 +02:00
|
|
|
make %{?_smp_mflags}
|
2008-10-13 15:50:51 +02:00
|
|
|
|
|
|
|
%check
|
2010-07-20 20:50:55 +02:00
|
|
|
make %{?_smp_mflags} check || true
|
2006-12-19 00:17:02 +01:00
|
|
|
|
|
|
|
%install
|
2010-09-19 20:10:53 +02:00
|
|
|
%makeinstall
|
2006-12-19 00:17:02 +01:00
|
|
|
|
|
|
|
%post
|
|
|
|
%install_info --info-dir=%{_infodir} %{_infodir}/m4.info.gz
|
|
|
|
|
|
|
|
%postun
|
|
|
|
%install_info_delete --info-dir=%{_infodir} %{_infodir}/m4.info.gz
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc README COPYING NEWS THANKS TODO ChangeLog
|
2010-09-19 20:10:53 +02:00
|
|
|
%{_bindir}/*
|
2006-12-19 00:17:02 +01:00
|
|
|
%doc %{_infodir}/*.gz
|
|
|
|
%{_mandir}/*/*
|
|
|
|
|
2007-03-24 12:22:06 +01:00
|
|
|
%changelog
|