If you are running a system with RPM support, the preferred way to install Kwave on your system will be the creation of a nice RPM package. First you should get the current source of Kwave, either as a tar.bz2 archive from the Kwave download page or check out an up-to-date copy via the GIT repository hosted on KDE servers, or the mirror repository hosted by SourceForge where you can get the sources of the latest development version.
For instructions on how to get access to the repository, read in the chapter about building from git. There also is a GIT web interface on KDE and on SourceForge where you can use to browse through the sources.
If you have downloaded tar.bz2 archives of Kwave,
create and install the RPMs just by doing the following steps
[arch] stands for the platform you
have built the package and might be something like
sparc or whatever,
XXX stands for the version number
you have downloaded).
To build the Kwave package and install it do:
Note for SuSE users:
you have to specify the directory
If you haven't seen any errors, then that's it and you can skip the rest of this chapter. If rpm was unable to build the packages and says something like "spec file not found", then go on and read the rest of this section.
Go to your RPM "topdir". This normally is
/usr/src/redhatfor the redhat distribution or
/usr/src/packagesif you have the SuSE distribution.
Put the tar.bz2 archive into the SOURCES subdirectory (you have to replace "somewhere" with the real directory where the files are, of course).
Extract the spec file from the archives and put it into the SPEC subdirectory.
%tar -xOjf SOURCES/
kwave-XXX.tar.bz2\*.spec > SPECS/kwave.spec
Let rpm do the compile job and generate the rpm of Kwave. If you only want to make a binary package, you can specify
-ba, or just
-bsto build only a source package.
%rpmbuild -ba SPECS/kwave.spec
If everything was ok, you can install the binary rpm of Kwave, it will be in the BUILD directory. If you already have a version of Kwave installed, please remove it first or use the parameter
-ifor upgrading instead of installing.
%rpm -ivh BUILD/