forked from extern/nix-config
fedora: Remove rpm package
Although learning about package management for rpm-based distributions was a fun experience, it's not realistic to maintain long-term. In this case, it may be easier to simply install packages on a case-by-case basis, making use of Ansible for anything else.
This commit is contained in:
parent
10b8f4f648
commit
f5fcf8962d
@ -2,7 +2,7 @@ install=sudo dnf install --assumeyes
|
|||||||
copr=sudo dnf copr enable --assumeyes
|
copr=sudo dnf copr enable --assumeyes
|
||||||
|
|
||||||
.PHONY: all
|
.PHONY: all
|
||||||
all: rice RPMs/muya.rpm install kitty wal clean
|
all: rice kitty wal
|
||||||
|
|
||||||
.PHONY: rice
|
.PHONY: rice
|
||||||
rice:
|
rice:
|
||||||
@ -12,19 +12,6 @@ rice:
|
|||||||
@../gnome/.config/gnome/pop-gtk-theme.sh
|
@../gnome/.config/gnome/pop-gtk-theme.sh
|
||||||
@../gnome/.config/gnome/breeze-cursor-theme.sh
|
@../gnome/.config/gnome/breeze-cursor-theme.sh
|
||||||
|
|
||||||
.ONESHELL:
|
|
||||||
RPMs/muya.rpm: RPMs/muya.spec
|
|
||||||
@cd RPMs
|
|
||||||
@rm -rfv noarch
|
|
||||||
@fedpkg --release f29 local
|
|
||||||
@mv noarch/*.rpm muya.rpm
|
|
||||||
@rmdir noarch
|
|
||||||
@rm -fv *.src.rpm
|
|
||||||
|
|
||||||
.PHONY: install
|
|
||||||
install:
|
|
||||||
@${install} RPMs/muya.rpm
|
|
||||||
|
|
||||||
.PHONY: kitty
|
.PHONY: kitty
|
||||||
kitty:
|
kitty:
|
||||||
@${copr} gagbo/kitty-latest
|
@${copr} gagbo/kitty-latest
|
||||||
@ -33,7 +20,3 @@ kitty:
|
|||||||
.PHONY: wal
|
.PHONY: wal
|
||||||
wal:
|
wal:
|
||||||
@pip3 install --user pywal
|
@pip3 install --user pywal
|
||||||
|
|
||||||
.PHONY: clean
|
|
||||||
clean:
|
|
||||||
@rm -rv ~/rpmbuild
|
|
||||||
|
@ -1,75 +0,0 @@
|
|||||||
Name: muya
|
|
||||||
Version: 0.2.0
|
|
||||||
Release: 2%{?dist}
|
|
||||||
Summary: Packages I use in addition to the defaults on Fedora
|
|
||||||
License: Various
|
|
||||||
BuildArch: noarch
|
|
||||||
|
|
||||||
# Packages
|
|
||||||
Requires: stow
|
|
||||||
Requires: neovim
|
|
||||||
Requires: vim-enhanced
|
|
||||||
Requires: fish
|
|
||||||
Requires: pass
|
|
||||||
Requires: ripgrep
|
|
||||||
Requires: fzf
|
|
||||||
Requires: exa
|
|
||||||
Requires: fd-find
|
|
||||||
Requires: httpie
|
|
||||||
Requires: jq
|
|
||||||
Requires: ranger
|
|
||||||
Requires: tig
|
|
||||||
Requires: youtube-dl
|
|
||||||
Requires: neofetch
|
|
||||||
Requires: cmatrix
|
|
||||||
Requires: borgbackup
|
|
||||||
Requires: rsync
|
|
||||||
Requires: texlive
|
|
||||||
Requires: nginx
|
|
||||||
Requires: nodejs
|
|
||||||
Requires: nodejs-yarn
|
|
||||||
Requires: java-11-openjdk
|
|
||||||
Requires: ansible
|
|
||||||
Requires: docker
|
|
||||||
Requires: docker-compose
|
|
||||||
Requires: chromium
|
|
||||||
|
|
||||||
%description
|
|
||||||
All the packages and other options I use on a fresh Fedora machine.
|
|
||||||
Keeping one package and updating it as time goes on makes it easy to
|
|
||||||
manage dependencies and other installed files.
|
|
||||||
|
|
||||||
%files
|
|
||||||
%{_bindir}/256colortest
|
|
||||||
%{_bindir}/colorfade
|
|
||||||
%{_bindir}/colorhash
|
|
||||||
%{_bindir}/colorhex
|
|
||||||
%{_bindir}/colorline
|
|
||||||
%{_bindir}/colorpanes
|
|
||||||
%{_bindir}/colortest
|
|
||||||
%{_bindir}/diamonds
|
|
||||||
%{_bindir}/dna
|
|
||||||
%{_bindir}/ghosts
|
|
||||||
%{_bindir}/pipes
|
|
||||||
%{_bindir}/pmabove
|
|
||||||
%{_bindir}/pmleft
|
|
||||||
%{_bindir}/spaceinvaders
|
|
||||||
%{_bindir}/unowns
|
|
||||||
|
|
||||||
%install
|
|
||||||
SCRIPTS_DIR=../../.archlinux/PKGBUILDs/color-scripts
|
|
||||||
install -Dm 755 -t %{buildroot}/%{_bindir} $SCRIPTS_DIR/256colortest
|
|
||||||
install -Dm 755 -t %{buildroot}/%{_bindir} $SCRIPTS_DIR/colorfade
|
|
||||||
install -Dm 755 -t %{buildroot}/%{_bindir} $SCRIPTS_DIR/colorhash
|
|
||||||
install -Dm 755 -t %{buildroot}/%{_bindir} $SCRIPTS_DIR/colorhex
|
|
||||||
install -Dm 755 -t %{buildroot}/%{_bindir} $SCRIPTS_DIR/colorline
|
|
||||||
install -Dm 755 -t %{buildroot}/%{_bindir} $SCRIPTS_DIR/colorpanes
|
|
||||||
install -Dm 755 -t %{buildroot}/%{_bindir} $SCRIPTS_DIR/colortest
|
|
||||||
install -Dm 755 -t %{buildroot}/%{_bindir} $SCRIPTS_DIR/diamonds
|
|
||||||
install -Dm 755 -t %{buildroot}/%{_bindir} $SCRIPTS_DIR/dna
|
|
||||||
install -Dm 755 -t %{buildroot}/%{_bindir} $SCRIPTS_DIR/ghosts
|
|
||||||
install -Dm 755 -t %{buildroot}/%{_bindir} $SCRIPTS_DIR/pipes
|
|
||||||
install -Dm 755 -t %{buildroot}/%{_bindir} $SCRIPTS_DIR/pmabove
|
|
||||||
install -Dm 755 -t %{buildroot}/%{_bindir} $SCRIPTS_DIR/pmleft
|
|
||||||
install -Dm 755 -t %{buildroot}/%{_bindir} $SCRIPTS_DIR/spaceinvaders
|
|
||||||
install -Dm 755 -t %{buildroot}/%{_bindir} $SCRIPTS_DIR/unowns
|
|
@ -13,9 +13,6 @@ sudo -v
|
|||||||
# Source: https://gist.github.com/cowboy/3118588
|
# Source: https://gist.github.com/cowboy/3118588
|
||||||
while true; do sudo -n true; sleep 60; kill -0 "$$" || exit; done 2>/dev/null &
|
while true; do sudo -n true; sleep 60; kill -0 "$$" || exit; done 2>/dev/null &
|
||||||
|
|
||||||
# Install dependencies
|
|
||||||
sudo -n dnf install -y make fedpkg
|
|
||||||
|
|
||||||
# Run make
|
# Run make
|
||||||
make
|
make
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user