Hi !

I can remember that someone spoke about a hack k3b package. Maybe the 
following from k3b mailinglist is usefull for that :) 


---------------------------------------

 new version of the K3b CVS "snapshooter" is available at: 
http://fenrir.infoiasi.ro/~xcyborg/k3b/cvs/k3b-cvs.sh

Features:
- checks out the latest CVS version of K3b and creates a tar.bz2 archive 
with 
the proper name (e.g. k3b-0.10.CVS.20030831.tar.bz2)
- automatically checks the K3b version (from src/main.cpp) and sets the 
directory and the output filename accordingly
- supports the following output formats: tar.gz, tar.bz2 (default) and 
src.rpm 
(the source rpm was originally intended for Red Hat 9, but it can be 
rebuilt 
on other Linux distributions, too)
- it can apply a patch to the sources before the output file is created 
- it can checkout, compile and install K3b from CVS from one single 
command ( 
k3b-cvs -i )
- inside the archive a file INFO-SNAPSHOT is created which contains 
informations about who took the snapshot, when, where (the hostname) and 
the 
patches that were applied to the original CVS sources

For hints about other commands available see the help message:
[EMAIL PROTECTED] SRPMS]# ./k3b-cvs.sh --help
K3b CVS "snapshooter" v0.2 - Mihai Maties <[EMAIL PROTECTED]>
http://fenrir.infoiasi.ro/~xcyborg/k3b/

-c              the equivalent of a 'make clean' command
-d workdir      the 'workdir' directory is used as working directory
                  instead of current directory
-h|--help       this help screen
-i              compiles and installs the latest version of K3b on your
                  system ( the equivallent of './configure && make &&
                  make install' )
-j              select 'tar.bz2' output format ( default option )
-m              compiles the K3b snapshot ( the equivallent of
                  './configure && make' )
-p patchfile    apply 'patchfile' to the sources. The patch is applied 
in
                  the top level directory with the '-p1' paramater ( see
                  'man patch' for more info )
-s              select 'src.rpm' output format
-o outputdir    write the output file into the specified directory
-v              verbose
-z              select 'tar.gz' output format


Reply via email to