Go to file
tux a62a2f0bab Update 'README.MD' 2022-11-18 14:58:36 +01:00
etc/init.d first commit 2022-11-18 13:54:21 +01:00
lib/systemd/system add spec file and systemd unit 2022-11-18 14:09:38 +01:00
usr first commit 2022-11-18 13:54:21 +01:00
README.MD Update 'README.MD' 2022-11-18 14:58:36 +01:00
fahclient.spec add spec file and systemd unit 2022-11-18 14:09:38 +01:00

README.MD

FAHClient RPM build instructions

  • Install dependencies
sudo yum -y install rpmdevtools rpmlint
  • Create the rpmbuild directory tree
rpmdev-setuptree
  • Download the source files
https://git.fiedler.live/tux/fahclient.git
  • Switch to the target branch
cd fahclient &&
git checkout aarch64 &&
cd
  • Place the specs file
mv -v ~/fahclient/fahclient.spec ~/rpmbuild/SPECS/
  • Create the source archive
tar --create --file ~/rpmbuild/SOURCES/fahclient-7.6.21-2.aarch64.tar.gz ~/fahclient
  • Optionally check the specs file for errors
rpmlint ~/rpmbuild/SPECS/fahclient.spec
  • Build the source RPM
rpmbuild -bs ~/rpmbuild/SPECS/fahclient.spec
  • Place the files required for the build process
cp -r ~/fahclient/ ~/rpmbuild/BUILDROOT/fahclient-7.6.21-2.aarch64 &&
rm -rf ~/rpmbuild/BUILDROOT/fahclient-7.6.21-2.aarch64/.git
  • Build the RPM package
rpmbuild -bb ~/rpmbuild/SPECS/fahclient.spec