my life

day to day

Archive for June 1st, 2007

Swish-e RPM HOWTO

Friday, June 1st, 2007

Install the dependencies

yum install pcre-devel perl-Date-Calc perl-HTML-Template perl-Template-Toolkit libxml2-devel

Download the latests source

cd /usr/src/ wget http://swish-e.org/distribution/latest.tar.gz tar -zvxf latest.tar.gz rm -f latest.tar.gz

Make the RPM tar

./configure --enable-incremental make dist

Copy the resulting tarball to RPM’s redhat/SOURCES directory

cp *.tar.gz /usr/src/redhat/SOURCES cp rpm/swish-e.xpm /usr/src/redhat/SOURCES

Build the RPM

rpmbuild -ba rpm/swish-e.spec

Install the new sources

rpm -Uvh /usr/src/redhat/RPMS/i386/swish*

 

add to del.icio.us    add to technorati favs   email this