From: JinWang An Date: Tue, 28 Dec 2021 06:03:46 +0000 (+0900) Subject: Bump to m4 1.4.19 X-Git-Tag: accepted/tizen/7.0/base/20230714.003011^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Ftizen_8.0_base;p=platform%2Fupstream%2Fm4.git Bump to m4 1.4.19 Change-Id: Idcc1b0a05604e12a848ef21277a922429956d301 Signed-off-by: JinWang An --- diff --git a/packaging/m4.manifest b/packaging/m4.manifest new file mode 100644 index 0000000..017d22d --- /dev/null +++ b/packaging/m4.manifest @@ -0,0 +1,5 @@ + + + + + diff --git a/packaging/m4.spec b/packaging/m4.spec new file mode 100644 index 0000000..c11b2cd --- /dev/null +++ b/packaging/m4.spec @@ -0,0 +1,45 @@ +Name: m4 +Version: 1.4.19 +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 +Source1001: m4.manifest +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 +cp %{SOURCE1001} . + +%build +%configure \ + --without-included-regex \ + gl_cv_func_isnanl_works=yes \ + gl_cv_func_printf_directive_n=yes \ + ac_cv_sys_stack_overflow_works=yes \ + ac_cv_sys_xsi_stack_overflow_heuristic=yes \ + CFLAGS="-fPIE" CPPFLAGS="-fPIE" LDFLAGS="-pie" +export + +make %{?_smp_mflags} + +%check +make %{?_smp_mflags} check || true + +%install +%make_install + +%files +%manifest %{name}.manifest +%defattr(-,root,root) +%doc COPYING +%{_bindir}/* +%doc %{_infodir}/*.gz +%{_mandir}/*/* +%{_prefix}/share/locale/*