$treeview $search $mathjax
The following steps are required to make a release of the distribution package.
cd ~ mkdir -p dev/sim cd ~/dev/sim git clone git://travel-ccm.git.sourceforge.net/gitroot/travel-ccm/travel-ccm travelccmgit cd travelccmgit git checkout trunk
cd ~/dev/sim/travelccmgit git checkout releases git merge trunk
vi CMakeLists.txt vi autogen.sh vi README
Update the version, add some news in the NEWS file, add a change-log in the ChangeLog file and in the RPM specification files:
vi NEWS vi ChangeLog vi travelccm.spec
cd ~/dev/sim/travelccmgit git add -A git commit -m "[Release 0.5.0] Release of the 0.5.0 version of TravelCCM." git push
cd ~/dev/sim/travelccmgit
git checkout releases
rm -rf build && mkdir -p build
cd build
export INSTALL_BASEDIR=/home/user/dev/deliveries
export LIBSUFFIX_4_CMAKE="-DLIB_SUFFIX=64"
cmake -DCMAKE_INSTALL_PREFIX=${INSTALL_BASEDIR}/travelccm-0.5.0 \
-DWITH_STDAIR_PREFIX=${INSTALL_BASEDIR}/stdair-stable \
-DWITH_AIRRAC_PREFIX=${INSTALL_BASEDIR}/airsched-stable \
-DWITH_AIRRAC_PREFIX=${INSTALL_BASEDIR}/airrac-stable \
-DWITH_TravelCCM_PREFIX=${INSTALL_BASEDIR}/travelccm-stable \
-DWITH_TravelCCM_PREFIX=${INSTALL_BASEDIR}/airinv-stable \
-DWITH_TravelCCM_PREFIX=${INSTALL_BASEDIR}/simfqt-stable \
-DCMAKE_BUILD_TYPE:STRING=Debug -DINSTALL_DOC:BOOL=ON \
${LIBSUFFIX_4_CMAKE} ..
make check && make dist
make install
This will configure, compile and check the package. The output packages will be named, for instance, travelccm-0.5.0.tar.gz and travelccm-0.5.0.tar.bz2.
cd ~/dev/sim/travelccmgit/build
git checkout releases
rsync -aiv ${INSTALL_BASEDIR}/travelccm-0.5.0/share/doc/travelccm-0.5.0/html/ \
your_sf_user,travel-ccm@web.sourceforge.net:htdocs/
-aiv options mean:-a: archive/mirror mode; equals -rlptgoD (no -H, -A, -X)-v: increase verbosity-i: output a change-summary for all updatesdoc/html), rather than the directory itself, has to be copied into the content of the target directory.cd ~/dev/sim/travelccmgit/build git checkout releases make dist
To perform this step, rpm-build, rpmlint and rpmdevtools have to be available on the system.
cp ../travelccm.spec ~/dev/packages/SPECS \ && cp travelccm-0.5.0.tar.bz2 ~/dev/packages/SOURCES cd ~/dev/packages/SPECS rpmbuild -ba travelccm.spec cd ~/dev/packages rpmlint -i SPECS/travelccm.spec SRPMS/travelccm-0.5.0-1.fc16.src.rpm \ RPMS/noarch/travelccm-* RPMS/i686/travelccm-*
NEWS and ChangeLog files with appropriate information, including what has changed since the previous release. Then commit and push the changes into the TravelCCM's Git repository.cd ~/dev/sim/travelccmgit/build git checkout releases make package
The output binary package will be named, for instance, travelccm-0.5.0-Linux.tar.bz2. That package contains both the HTML and PDF documentation. The binary package contains also the executables and shared libraries, as well as C++ header files, but all of those do not interest us for now.
1.4.7
Generated on Sun Jun 21 20:33:13 2015 for TravelCCM by
1.4.7