8,236
edits
Line 25: | Line 25: | ||
== Rebuild from .spec file == | == Rebuild from .spec file == | ||
If know how to deal with .spec file and want to built a kiwix rpm with others options, you have to: | |||
unpack a RMP package: | |||
<source lang="bash"> | |||
rpm2cpio kiwix-1.9.svn_09122009-1.src.rpm | cpio -idmv | |||
</source> | |||
move the extracted files in your build enviroment like following: | |||
<source lang="bash"> | |||
mv kiwix-1.9.svn_09122009.tar.gz ~/rpmbuild/SOURCES/ | |||
mv kiwix.spec ~/rpmbuild/SPECS/ | |||
</source> | |||
edit and modify the .spec file, and rebuild the RPM: | |||
<source lang="bash"> | |||
rpmbuild -ba ~/rpmbuild/SPECS/kiwix.spec | |||
</source> | |||
edits