The .spec file is used with rpm to create the .rpm files we all know and love. Inside it contains information like package description, files included, dependencies, configure/make procedures, installation/removal procedures, etc.... Look at an existing one to see what I mean... Checkinstall creates these in the process of creating it's RPMs. I probably wouldn't take the Kernel spec as the first one to look at and learn from, tho.
Normally RPM building takes place in /usr/src/OpenLinux (for Caldera). In that directory you'll find the following dirs: RPMS -location of the finished products SRPMS -not necessarily used, but where SRPMS are put when built SPECS -location of the aforementioned .spec files SOURCES -location of the tar.gz or .tgz files BUILD -temp area (tgz's are untarred and configure/make/make install is done) Once it looks the way you want it to look, you type something like the following command to create binary RPMs rpm -bb /usr/src/OpenLinux/SPECS/whateverpackage.spec In the case of the Linux Kernel, this will create a bunch of rpm's, including kernel-binary, kernel-include, and a lot of hardware-specific source files. .config files are the files created by the ./configure process (or, in the case of the Kernel, make xconfig or make menuconfig, etc...) Does this all make sense? On Wed, 29 May 2002 12:25:04 +1000 "Keith Antoine" <[EMAIL PROTECTED]> wrote: > On Wednesday 29 May 2002 01:42 am, you wrote: > > You might try starting with the Caldera SRPMs for 3.1.1. They have > > the(rather extensive) spec file and default i386 .config file > > available so you can have a starting point to tweak from... > > Umm, but i have no idea at all what to do with such files , but can have > a look I guess. > > -- > Keith Antoine (GANDALF) aka 'skippy' > 18 Arkana St, The Gap, Queensland 4061 Australia PH:61733002161 > Retired Geriatric, Sometime Electronics Engineer, Knowall, Brain in > storage > > _______________________________________________ > Linux-users mailing list - > http://linux-sxs.org/mailman/listinfo/linux-users > Subscribe/Unsubscribe info, Archives,and Digests are located at the > above URL. _______________________________________________ Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.