Koozali.org: home of the SME Server

Obsolete Releases => SME 7.x Contribs => Topic started by: skydivers on April 10, 2007, 09:23:39 PM

Title: Learn from contrib SRPM's
Post by: skydivers on April 10, 2007, 09:23:39 PM
Hi there,

I was wondering if I could open up some contrib SRPM's (like the ones from dungog) to see how they are made, how they are configured. I want to make some contribs myself (webapps) but I first like to learn from other contribs how they are made.

Can someone help me to "read" some SRPM's.

Thanx
Title: Learn from contrib SRPM's
Post by: Jean-Philippe Pialasse on April 10, 2007, 09:33:02 PM
Code: [Select]
rpm -i myrpm-1.5-0.2.src.rpm

and go to see what you can find in /usr/src/redhat/SPECS ans /usr/src/redhat/SOURCES


otherwise you can just double click on it under midnight commander and explore it.


JPP
Title: Learn from contrib SRPM's
Post by: skydivers on April 10, 2007, 09:48:34 PM
Quote from: "unnilennium"

and go to see what you can find in /usr/src/redhat/SPECS ans /usr/src/redhat/SOURCES
JPP


Thanx, tried this and found some files in SPECS, i'm going to explore them now  :)
Title: Learn from contrib SRPM's
Post by: TrevorB on April 11, 2007, 05:58:52 AM
Quote from: "skydivers"
Thanx, tried this and found some files in SPECS, i'm going to explore them now  :)
And read the developers manual. It gives a very good desription of how to modify smeserver and also how to package your own apps http://wiki.contribs.org/SME_Server:Documentation:Developers_Manual