Bump to 4.4 accepted/tizen_base_riscv accepted/tizen_base_toolchain sandbox/make_4.4 tizen_base_dev accepted/tizen/base/riscv/20240111.090212 accepted/tizen/base/riscv/20240111.214426 accepted/tizen/base/toolchain/20240116.225054 submit/tizen_base/20230111.030409
authorTizenOpenSource <tizenopensrc@samsung.com>
Mon, 9 Jan 2023 03:00:20 +0000 (12:00 +0900)
committerTizenOpenSource <tizenopensrc@samsung.com>
Mon, 9 Jan 2023 03:00:20 +0000 (12:00 +0900)
Signed-off-by: TizenOpenSource <tizenopensrc@samsung.com>
packaging/make.manifest [new file with mode: 0644]
packaging/make.spec [new file with mode: 0644]

diff --git a/packaging/make.manifest b/packaging/make.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/make.spec b/packaging/make.spec
new file mode 100644 (file)
index 0000000..e6b858a
--- /dev/null
@@ -0,0 +1,52 @@
+%define __spec_check_pre exit 0
+
+Name:           make
+Url:            http://www.gnu.org/software/make/make.html
+Provides:       gmake
+Version:        4.4
+Release:        0
+Summary:        GNU make
+License:        GPL-3.0+
+Group:          Platform Development/Build
+Source:         make-%{version}.tar.bz2
+Source1001:     make.manifest
+BuildRequires:  makeinfo
+
+%description
+The GNU make command with extensive documentation.
+
+%prep
+%setup -q
+cp %{SOURCE1001} .
+
+%build
+export AUTOPOINT=true %{?asan:LIBS+=" -ldl "}
+export CFLAGS+=" -fPIC "
+export CXXFLAGS+=" -fPIC "
+export LDFLAGS+=" -pie "
+%reconfigure --disable-nls
+%__make %{?_smp_mflags}
+
+%check
+%__make check
+
+%install
+%make_install
+ln -sf make %{buildroot}%{_bindir}/gmake
+
+%files
+%manifest %{name}.manifest
+%defattr(-,root,root)
+%license COPYING
+%{_bindir}/make
+%{_bindir}/gmake
+%{_includedir}/gnumake.h
+%doc %{_infodir}/make.info-*.gz
+%doc %{_infodir}/make.info.gz
+%doc %{_mandir}/man1/make.1.gz
+
+%post
+%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
+
+%postun
+%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz