initial commit

This commit is contained in:
2025-10-13 22:09:29 +00:00
commit 8a953edff2
7 changed files with 179 additions and 0 deletions

22
build Executable file
View File

@@ -0,0 +1,22 @@
#!/bin/bash
if ! rpm -q rpm-build > /dev/null; then
sudo dnf install rpm-build -y
fi
if ! rpm -q rpmdevtools > /dev/null; then
sudo dnf install rpmdevtools -y
fi
if [ ! -d ~/rpmbuild ]; then
rpmdev-setuptree
fi
rpmdev-wipetree
cp src/yubico-authenticator.desktop ~/rpmbuild/SOURCES
rpmbuild -ba yubico-authenticator.spec
cp ~/rpmbuild/RPMS/x86_64/yubico-authenticator* releases/
cp ~/rpmbuild/SRPMS/yubico-authenticator* releases/