View Single Post
Guest | Posts: n/a | Thanked: 0 times | Joined on
#13
Well, I suggest googling building RPMs'
But, short, you need C development tools and libraries etc install.
Then, you need the tool rpmbuild (pkcon install rpm-build)
setup a directory structure like this

mkdir -p ~/rpmbuild/SPECS
mkdir ~/rpmbuild/SOURCES
mkdir ~/rpmbuild/RPMS
mkdir ~/rpmbuild/SRPMS

create .spec files in ~/rpmbuild/SPECS folder (ie. fuse-utils.spec goes here)
download source tarballs to ~/rpmbuild/SOURCES folder

run rpmbuild -ba rpmbuild/SPECS/fuse-utils.spec
once, and if, it finish without errors, rpms will be created in rpmbuild/RPMS folder and source rpms in rpmbuild/SRPMS folder

EDIT: and oh, probably, it might not work with my spec file then you will need to investigate the errors outputted by rpmbuild, make changes, and try again