From 997042c081f14f632c67e24d47ffe5529a732cfd Mon Sep 17 00:00:00 2001
From: Philippe PITTOLI
Date: Thu, 15 Aug 2019 00:27:15 +0200
Subject: [PATCH] Misc staged git gettext and gnutar.
---
gettext/recipe.spec | 21 +++++++++++++++++++++
git/recipe.spec | 31 +++++++++++++++++++++++++++++++
gnutar/recipe.spec | 8 ++++++++
3 files changed, 60 insertions(+)
create mode 100644 gettext/recipe.spec
create mode 100644 git/recipe.spec
create mode 100644 gnutar/recipe.spec
diff --git a/gettext/recipe.spec b/gettext/recipe.spec
new file mode 100644
index 0000000..b113c27
--- /dev/null
+++ b/gettext/recipe.spec
@@ -0,0 +1,21 @@
+name: gettext
+version: 0.20.1
+release: 1
+sources: https://ftp.gnu.org/pub/gnu/gettext/gettext-%{version}.tar.gz
+
+dependencies:
+ - mpfr
+ - mpc
+ - binutils
+
+@configure
+ cd %{name}-%{version}
+ ./configure
+
+@build
+ cd %{name}-%{version}
+ make
+
+@install
+ cd %{name}-%{version}
+ make install DESTDIR=%{pkg}
diff --git a/git/recipe.spec b/git/recipe.spec
new file mode 100644
index 0000000..8761afb
--- /dev/null
+++ b/git/recipe.spec
@@ -0,0 +1,31 @@
+name: git
+version: 2.9.5
+release: 1
+sources: https://mirrors.edge.kernel.org/pub/software/scm/git/git-%{version}.tar.xz
+
+dependencies:
+ - perl
+ - gmp
+ - mpfr
+ - autoconf
+ - automake
+ - mpc
+ - binutils
+
+# -i prevents the use of gettext (msgfmt)
+options:
+ - make: -i
+
+@configure
+ cd %{name}-%{version}
+ make distclean
+ autoconf
+ ./configure --without-tcltk --disable-nls
+
+@build
+ cd %{name}-%{version}
+ make -i 1>/dev/null
+
+@install
+ cd %{name}-%{version}
+ make -i install DESTDIR="%{pkg}"
diff --git a/gnutar/recipe.spec b/gnutar/recipe.spec
new file mode 100644
index 0000000..42fb06b
--- /dev/null
+++ b/gnutar/recipe.spec
@@ -0,0 +1,8 @@
+name: gnutar
+version: 1.32
+release: 1
+sources: http://ftp.gnu.org/gnu/tar/tar-%{version}.tar.gz
+dirname: tar-%{version}
+options:
+ - configure: FORCE_UNSAFE_CONFIGURE=1
+