124 lines
3.4 KiB
RPMSpec
124 lines
3.4 KiB
RPMSpec
Name: penguins-eggs
|
|
Version: 10.0.56
|
|
Release: 1mamba
|
|
Summary: A console tool that allows you to remaster your system and redistribute it as live images on USB sticks or via PXE
|
|
Group: System/Tools
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://penguins-eggs.net/
|
|
Source: https://github.com/pieroproietti/penguins-eggs.git/v%{version}/penguins-eggs-%{version}.tar.bz2
|
|
License: GPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: pnpm
|
|
Requires: calamares
|
|
Requires: dosfstools
|
|
Requires: dracut
|
|
Requires: findutils
|
|
Requires: git
|
|
Requires: grub
|
|
Requires: jq
|
|
Requires: libarchive-tools
|
|
Requires: mtools
|
|
Requires: nbd
|
|
Requires: nodejs
|
|
Requires: parted
|
|
Requires: procps-ng
|
|
Requires: rsync
|
|
Requires: squashfs
|
|
Requires: sshfs
|
|
Requires: wget
|
|
Requires: xdg-utils
|
|
|
|
%description
|
|
A console tool that allows you to remaster your system and redistribute it as live images on USB sticks or via PXE.
|
|
|
|
#% debug_package
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
# Based on Arch Linux pkgbuild
|
|
pnpm install
|
|
pnpm build
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
install -Dm644 .oclif.manifest.json package.json -t %{buildroot}%{_prefix}/lib/%{name}
|
|
cp -r \
|
|
addons \
|
|
assets \
|
|
bin \
|
|
conf \
|
|
ipxe \
|
|
dracut \
|
|
dist \
|
|
eui \
|
|
mkinitcpio \
|
|
mkinitfs \
|
|
node_modules \
|
|
scripts \
|
|
syslinux \
|
|
%{buildroot}%{_prefix}/lib/%{name}
|
|
|
|
# Install bash-completion files
|
|
install -d %{buildroot}%{_datadir}/bash-completion/completions
|
|
ln -s /usr/lib/%{name}/scripts/eggs.bash \
|
|
%{buildroot}%{_datadir}/bash-completion/completions/
|
|
|
|
# Install zsh-completion files
|
|
install -d %{buildroot}%{_datadir}/zsh/functions/Completion/Zsh/
|
|
ln -s ../lib/%{name}/scripts/_eggs \
|
|
%{buildroot}%{_datadir}/zsh/functions/Completion/Zsh/
|
|
|
|
# Install man page
|
|
install -D -m0644 manpages/doc/man/eggs.1.gz -t %{buildroot}%{_mandir}/man1/
|
|
|
|
# Install desktop file
|
|
install -D -m0644 assets/%{name}.desktop -t %{buildroot}%{_datadir}/applications/
|
|
|
|
# Install icon
|
|
install -D -m0644 assets/eggs.png -t %{buildroot}%{_datadir}/pixmaps/
|
|
|
|
# Symlink executable
|
|
install -d %{buildroot}%{_bindir}
|
|
ln -s ../lib/%{name}/bin/run.js %{buildroot}%{_bindir}/eggs
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_bindir}/eggs
|
|
%{_datadir}/applications/penguins-eggs.desktop
|
|
%dir %{_prefix}/lib/penguins-eggs
|
|
%{_prefix}/lib/penguins-eggs/.oclif.manifest.json
|
|
%{_prefix}/lib/penguins-eggs/*
|
|
%{_datadir}/bash-completion/completions/eggs.bash
|
|
%{_datadir}/zsh/functions/Completion/Zsh/_eggs
|
|
%{_datadir}/pixmaps/eggs.png
|
|
%{_mandir}/man1/eggs.1*
|
|
%doc README.md
|
|
|
|
%changelog
|
|
* Tue Dec 17 2024 Automatic Build System <autodist@openmamba.org> 10.0.56-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Dec 14 2024 Automatic Build System <autodist@openmamba.org> 10.0.55-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Dec 11 2024 Automatic Build System <autodist@openmamba.org> 10.0.54-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Dec 03 2024 Automatic Build System <autodist@openmamba.org> 10.0.53-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Nov 27 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 10.0.52-2mamba
|
|
- added a list of requirements
|
|
|
|
* Tue Nov 26 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 10.0.52-1mamba
|
|
- package created using the webbuild interface
|