summaryrefslogtreecommitdiff
path: root/arch-install-scripts.spec
diff options
context:
space:
mode:
Diffstat (limited to 'arch-install-scripts.spec')
-rw-r--r--arch-install-scripts.spec66
1 files changed, 50 insertions, 16 deletions
diff --git a/arch-install-scripts.spec b/arch-install-scripts.spec
index ae5fc04..e3f041a 100644
--- a/arch-install-scripts.spec
+++ b/arch-install-scripts.spec
@@ -1,18 +1,20 @@
+# %%define _git_commit a60ad8036105bd976eeec574497e72168a44759b
Name: arch-install-scripts
-Version: 28
+Version: 29
Release: 1
Summary: Scripts to bootstrap Arch Linux distribution
License: GPLv2
-URL: https://github.com/archlinux/arch-install-scripts
-Source0: https://github.com/archlinux/arch-install-scripts/archive/refs/tags/v28.tar.gz
+URL: https://gitlab.archlinux.org/archlinux/arch-install-scripts
+Source0: https://gitlab.archlinux.org/archlinux/arch-install-scripts/archive/refs/tags/%{name}-%{version}.tar.gz
BuildArch: noarch
-BuildRequires: m4
-BuildRequires: asciidoc
-BuildRequires: make
+BuildRequires: make m4 asciidoc git
-Requires: archlinux-keyring
-Requires: pacman
+Requires: bash >= 4.1
+Requires: coreutils >= 8.15
+Requires: util-linux >= 2.39
+Requires: gawk grep
+Requires: arch-chroot genfstab pacstrap
%description
A small suite of scripts aimed at automating some menial tasks when installing
@@ -25,8 +27,27 @@ To install and launch Arch in a container:
pacstrap -G -M -i -c /var/lib/machines/arch base
systemd-nspawn -bD /var/lib/machines/arch
+%package -n arch-chroot
+Summary: The Chroot Helper Script from Arch Linux
+%description -n arch-chroot
+This package provides arch-chroot, the handy chroot helper script from the inst
+-allation scripts of Arch Linux.
+
+%package -n genfstab
+Summary: The Fstab Generator Script from Arch Linux
+%description -n genfstab
+This package provides genfstab, the handy fstab generator script from the inst
+-allation scripts of Arch Linux.
+
+%package -n pacstrap
+Summary: The Bootstrapping Script from Arch Linux
+Requires: archlinux-keyring pacman
+%description -n pacstrap
+This package provides pacstrap, the script creating new system installations fr
+-om scratch from the installation scripts of Arch Linux.
+
%prep
-%setup -q
+%setup -q -n %{name}-v%{version}
%build
%make_build PREFIX=%{_prefix}
@@ -39,18 +60,31 @@ make check
%files
%license COPYING
+%{_mandir}/man8/arch-chroot.8*
+%{_mandir}/man8/genfstab.8*
+%{_mandir}/man8/pacstrap.8*
+
+%files -n arch-chroot
%{_bindir}/arch-chroot
-%{_bindir}/genfstab
-%{_bindir}/pacstrap
%{_datadir}/bash-completion/completions/arch-chroot
+%{_datadir}/zsh/site-functions/_arch-chroot
+
+%files -n genfstab
+%{_bindir}/genfstab
%{_datadir}/bash-completion/completions/genfstab
+%{_datadir}/zsh/site-functions/_genfstab
+
+%files -n pacstrap
+%{_bindir}/pacstrap
%{_datadir}/bash-completion/completions/pacstrap
-%dir %{_datadir}/zsh/site-functions
-%{_datadir}/zsh/site-functions/_archinstallscripts
-%{_mandir}/man8/arch-chroot.8*
-%{_mandir}/man8/genfstab.8*
-%{_mandir}/man8/pacstrap.8*
+%{_datadir}/zsh/site-functions/_pacstrap
%changelog
+* Tue Jun 17 2025 jchzhou <zhoujiacheng@iscas.ac.cn> - 29-1
+- Update to v29
+
+* Wed Jun 19 2024 jchzhou <zhoujiacheng@iscas.ac.cn> - 28.r58.2767ea5b
+- Update to latest commit (2767ea5b)
+
* Thu Jul 20 2023 misaka00251 <liuxin@iscas.ac.cn> - 28-1
- Init package