Dirk Mueller
8ba7e39f5f
- Update to version 1.4.18: OBS-URL: https://build.opensuse.org/request/show/448872 OBS-URL: https://build.opensuse.org/package/show/Base:System/m4?expand=0&rev=33
69 lines
2.0 KiB
RPMSpec
69 lines
2.0 KiB
RPMSpec
#
|
|
# spec file for package m4
|
|
#
|
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
|
#
|
|
# 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.
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: m4
|
|
Version: 1.4.18
|
|
Release: 0
|
|
Summary: GNU m4
|
|
License: GPL-3.0+
|
|
Group: Development/Languages/Other
|
|
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
|
|
Requires(post): %{install_info_prereq}
|
|
Requires(preun): %{install_info_prereq}
|
|
Provides: base:%{_bindir}/m4
|
|
|
|
%description
|
|
GNU m4 is an implementation of the traditional Unix macro processor.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%configure \
|
|
--without-included-regex \
|
|
gl_cv_func_isnanl_works=yes \
|
|
gl_cv_func_printf_directive_n=yes \
|
|
gl_cv_func_printf_infinite_long_double=yes
|
|
make %{?_smp_mflags} V=1
|
|
|
|
%check
|
|
make %{?_smp_mflags} check
|
|
|
|
%install
|
|
%make_install
|
|
|
|
%post
|
|
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info%{ext_info}
|
|
|
|
%preun
|
|
%install_info_delete --info-dir=%{_infodir} %%{_infodir}/%{name}.info%{ext_info}
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc README COPYING NEWS THANKS TODO ChangeLog
|
|
%{_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}
|
|
|
|
%changelog
|