Koozali.org: home of the SME Server

Learn from contrib SRPM's

Offline skydivers

  • *
  • 178
  • +0/-0
Learn from contrib SRPM's
« 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

Offline Jean-Philippe Pialasse

  • *
  • 2,762
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Learn from contrib SRPM's
« Reply #1 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

Offline skydivers

  • *
  • 178
  • +0/-0
Learn from contrib SRPM's
« Reply #2 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  :)

Offline TrevorB

  • *
  • 259
  • +0/-0
    • http://www.batley.id.au
Learn from contrib SRPM's
« Reply #3 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