From c42b96e224a9e397af322df56b429fca18441d91 Mon Sep 17 00:00:00 2001 From: tux Date: Fri, 18 Nov 2022 14:53:07 +0100 Subject: [PATCH] Add 'README.MD' --- README.MD | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 README.MD diff --git a/README.MD b/README.MD new file mode 100644 index 0000000..2edefa6 --- /dev/null +++ b/README.MD @@ -0,0 +1,43 @@ +### 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 # + +- Place the specs file + +# mv -v 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 # \ No newline at end of file