2006-12-19 00:17:02 +01:00
|
|
|
#
|
2011-03-09 17:40:00 +01:00
|
|
|
# spec file for package m4
|
2006-12-19 00:17:02 +01:00
|
|
|
#
|
2017-01-07 15:22:19 +01:00
|
|
|
# Copyright (c) 2017 SUSE LINUX 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/
|
|
|
|
#
|
|
|
|
|
2012-05-31 10:52:25 +02:00
|
|
|
|
2006-12-19 00:17:02 +01:00
|
|
|
Name: m4
|
2017-01-07 15:22:19 +01:00
|
|
|
Version: 1.4.18
|
2011-12-01 16:53:25 +01:00
|
|
|
Release: 0
|
2006-12-19 00:17:02 +01:00
|
|
|
Summary: GNU m4
|
2012-05-31 10:52:25 +02:00
|
|
|
License: GPL-3.0+
|
|
|
|
Group: Development/Languages/Other
|
2017-01-07 15:22:19 +01:00
|
|
|
Url: https://www.gnu.org/software/m4/
|
|
|
|
Source0: https://ftp.gnu.org/pub/gnu/m4/%{name}-%{version}.tar.xz
|
|
|
|
Source1: https://ftp.gnu.org/pub/gnu/m4/%{name}-%{version}.tar.xz.sig
|
|
|
|
Source2: https://savannah.gnu.org/project/memberlist-gpgkeys.php?group=m4&download=1#/%{name}.keyring
|
2015-10-14 13:17:32 +02:00
|
|
|
Requires(post): %{install_info_prereq}
|
|
|
|
Requires(preun): %{install_info_prereq}
|
2015-03-04 14:37:34 +01:00
|
|
|
Provides: base:%{_bindir}/m4
|
2006-12-19 00:17:02 +01:00
|
|
|
|
|
|
|
%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
|
2010-09-19 20:10:53 +02:00
|
|
|
%configure \
|
2015-10-14 13:17:32 +02:00
|
|
|
--without-included-regex \
|
|
|
|
gl_cv_func_isnanl_works=yes \
|
|
|
|
gl_cv_func_printf_directive_n=yes \
|
|
|
|
gl_cv_func_printf_infinite_long_double=yes
|
2017-01-07 15:22:19 +01:00
|
|
|
make %{?_smp_mflags} V=1
|
2008-10-13 15:50:51 +02:00
|
|
|
|
|
|
|
%check
|
2017-01-07 15:22:19 +01:00
|
|
|
make %{?_smp_mflags} check
|
2006-12-19 00:17:02 +01:00
|
|
|
|
|
|
|
%install
|
2017-01-07 15:22:19 +01:00
|
|
|
%make_install
|
2006-12-19 00:17:02 +01:00
|
|
|
|
|
|
|
%post
|
2017-01-07 15:22:19 +01:00
|
|
|
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info%{ext_info}
|
2006-12-19 00:17:02 +01:00
|
|
|
|
2015-10-14 13:17:32 +02:00
|
|
|
%preun
|
2017-01-07 15:22:19 +01:00
|
|
|
%install_info_delete --info-dir=%{_infodir} %%{_infodir}/%{name}.info%{ext_info}
|
2006-12-19 00:17:02 +01:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc README COPYING NEWS THANKS TODO ChangeLog
|
2017-01-07 15:22:19 +01:00
|
|
|
%{_bindir}/m4
|
|
|
|
%{_infodir}/m4.info-1%{ext_info}
|
|
|
|
%{_infodir}/m4.info-2%{ext_info}
|
|
|
|
%{_infodir}/m4.info%{ext_info}
|
|
|
|
%{_mandir}/man1/m4.1%{ext_man}
|
2006-12-19 00:17:02 +01:00
|
|
|
|
2007-03-24 12:22:06 +01:00
|
|
|
%changelog
|