Bump to m4 1.4.19 17/268617/2 accepted/tizen_7.0_base accepted/tizen_7.0_base_hotfix accepted/tizen_7.0_base_tool accepted/tizen_7.0_base_tool_hotfix accepted/tizen_8.0_base accepted/tizen_base accepted/tizen_base_tool sandbox/jinwang.an/m4-1.4.19_20211228 tizen_7.0_base tizen_7.0_base_hotfix tizen_8.0_base tizen_base accepted/tizen/7.0/base/20230714.003011 accepted/tizen/7.0/base/hotfix/20230714.003823 accepted/tizen/7.0/base/tool/20221028.120657 accepted/tizen/7.0/base/tool/hotfix/20221115.085146 accepted/tizen/8.0/base/20231005.044933 accepted/tizen/base/20230714.003415 accepted/tizen/base/tool/20220112.062137 submit/tizen_7.0_base/20221028.201101 submit/tizen_7.0_base_hotfix/20221115.161601 submit/tizen_base/20211230.070058 submit/tizen_base/20220102.235855 tizen_7.0_m2_release tizen_8.0_m2_release
authorJinWang An <jinwang.an@samsung.com>
Tue, 28 Dec 2021 06:03:46 +0000 (15:03 +0900)
committerJinWang An <jinwang.an@samsung.com>
Tue, 28 Dec 2021 06:04:43 +0000 (15:04 +0900)
Change-Id: Idcc1b0a05604e12a848ef21277a922429956d301
Signed-off-by: JinWang An <jinwang.an@samsung.com>
packaging/m4.manifest [new file with mode: 0644]
packaging/m4.spec [new file with mode: 0644]

diff --git a/packaging/m4.manifest b/packaging/m4.manifest
new file mode 100644 (file)
index 0000000..017d22d
--- /dev/null
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+    <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/m4.spec b/packaging/m4.spec
new file mode 100644 (file)
index 0000000..c11b2cd
--- /dev/null
@@ -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/*