patrickdemond/OVis — Issue #4: Fedora packaging branch and instructions
Author: twhitehead
Created: 2011-10-08 19:35:08+00:00
State: open

Hey Patrick,

I've finished working on the Fedora packaging structure on a new f14/sharcnet branch. Possibly we should create a branch for this in your upstream and pull it, and the associated tags, in as well.

Once you've got this branch, to build the latest rpm just do

```
git checkout 0.1.0+git20111008
mkdir build
cd build
cmake ..
make dist
ln -s build/ovis-0.1.0+git20110929.tar.bz2 ../ovis-0.1.0+git20110929.tar.bz2
cd ..
```
```
git checkout sharcnet/0.1.0+git20111008-1.fc14.SN.1
fedpkg local
```

on any Fedora box (such as any of the viz stations). The rpm will be put in a x86_64 subdirectory.

To create a new rpm version start on the develop or master branch and

* bump the version (most likely the patch version),
* tag the branch MAJOR.MINOR.PATCH, and
* build the tar.bz2 file (```make dist```) and create a symbolic link to it as above.

Then switch to the f14/sharcnet branch and

* add a md5sum for the new .tar.bz2 file to sources,
* add a line for the new .tar.bz2 file to .gitignore,
* bump the version in the spec file and update the change log at the bottom, and
* tag the branch sharcnet/MAJOR.MINOR.BRANCH.