[HelpOnLanguages] [TitleIndex] [WordIndex]


1. Initial steps

$ svn copy https://svn.code.sf.net/p/openmodeller/svn/trunk/openmodeller https://svn.code.sf.net/p/openmodeller/svn/tags/rel-1-5-0

2. Creating the source files

$ svn export https://openmodeller.svn.sourceforge.net/svnroot/openmodeller/tags/rel-1-5 om

$ mkdir packages
$ cd packages
$ cmake ../om
$ make package_source

3. Creating the RPM files

$ cp libopenmodeller-src-1.5.tar.gz /usr/src/redhat/SOURCES/

$ sudo rpmbuild -ba libopenmodeller.spec

To verify the contents of each package:

$ rpm -qlp RPM_FILE

4. Creating the Windows installer

Follow the steps described here: http://openmodeller.sourceforge.net/INSTALL.html#toc40

When the infrastructure is already prepared, you'll basically need to:

5. Creating the Mac OS X installer

Most information about this can be found in the openModellerDesktop source.

When the infrastructure is already prepared, you'll basically need to go to the machine with Mac OS X and:

tar cvzf openModeller-1.5.0.mac.tgz openModeller-1.5.0.pkg

6. Creating the Ubuntu DEB files

fqdn = ppa.launchpad.net
method = ftp
incoming = ~openmodeller/ubuntu/
login = anonymous
allow_unsigned_uploads = 0

        cmake -D CMAKE_INSTALL_PREFIX=/usr \
        -DPEDANTIC=OFF \
        -D GDAL_INCLUDE_DIR=/usr/include/gdal \
        -D GDAL_LIBRARY=/usr/lib/libgdal1.3.2.so \

dch -v 1.5-1

(note: it's important to use the additional version number because each time you fail you'll need to increase it and start again from here)

debuild -S -rfakeroot -kYOUR_GPG_KEY_ID

(note: you'll need to have your GPG key on the machine and the program will ask your passphrase twice).

dput openmodeller-ppa libopenmodeller_1.5-1_source.changes

7. Uploading the files

8. Making the release and the annoucements

2014-08-13 10:36