OS: Fedora 11, Samba: 3.6.5, trying to create an RPM.
I've just done an autogen, ./configure, make and make install of the Samba 3.6.5 and it's all gone swimmingly. But now I'm trying to create an RPM package of this Samba, to easily deploy on several other Fed 11 systems. However I'm having some troubles as there seems to be differing views on what goes into the spec file. As it's a very simple installation, a lot of what I've read doesn't apply to me.
I've created my RPM directory, inserted the samba tar file into SOURCES and created a .spec file with various information inside it. How do I basically just say "There's my source, build it, give me an RPM".
Or perhaps I'm expecting it to be easier than it is.
EDIT: I've attempted a basic SPEC file already and received the following error: "error: File: /home/user1/rpmbuild/SOURCES/samba.3.6.5.tar: No such file or directory"
. I never even gave that path
EDIT1: I'm also following these lecture notes: http://www.ucs.cam.ac.uk/support/uni...s/rpmbuild.pdf
and fall over at Slide 20 with a bad exit status