Difference between revisions of "RPM"

Jump to navigation Jump to search
19 bytes removed ,  14 years ago
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
= Fedora RPM =
= Fedora =


First, set a you build enviroment ( never, never, never build a rpm package how root ):
First, set a you build enviroment ( never, never, never build a rpm package how root ):
Line 6: Line 6:
</source>
</source>


Now, create your macro definition for your build path:
Now, create your macro definition to your build path:
<source lang="bash">
<source lang="bash">
echo "%_topdir /home/`echo $USER`/rpmbuild" > ~/.rpmmacros
echo "%_topdir /home/`echo $USER`/rpmbuild" > ~/.rpmmacros
</source>
</source>


For rebuild your own rpm for fedora, download the last version to src.rpm package from: http://richzendy.org/repo/kiwix/
To rebuild your own rpm for Fedora, download the last package version to src.rpm from: http://richzendy.org/repo/kiwix/


Also you must have installed the unac package ( also know how libunac ) package, download and install:
Also you must have installed the unac package (libunac) package, download and install:
<source lang="bash">
<source lang="bash">
rpm -ivh http://richzendy.org/repo/kiwix/unac-1.7.0-1.i386.rpm
rpm -ivh http://richzendy.org/repo/kiwix/unac-1.7.0-1.i386.rpm
Line 23: Line 23:
</source>
</source>


Your can find the rpm package built for you in ~/rpmbuild/RPMS
Your can find the rpm package built to you in ~/rpmbuild/RPMS


== 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:
If you know how to deal with .spec file and want to built a kiwix rpm with others options, you have to:


unpack a RMP package:
unpack a RMP package:

Navigation menu