On Monday 05 June 2006 17:00, jhuniepi wrote:
> hello people,
>
> i downloaded source files in .tar.gz format. i want to make it into
> .rpm for rh9 so that i can install it using rpm. i prefer to use rpm
> than make && make install because rpm has a database which you can
> query for installed programs and can easily uninstall it.
>
> is there someone in this list doing that? can someone help me..
>
> i want to know the details for that, so don't suggest to use yum or
> apt-get.
>
> i'm searching google now. if you want to answer, just reply.
>
> TIA.

Link above is great.

Basically:

Get source packages.
Create *.spec file.
Place *.spec file in /usr/src/SPECS
Place source package in /usr/src/SOURCES
Run "rpm -ba /usr/src/SPECS/*.spec"

If all goes well, binaries will then magically appear inside one of the 
folders in /usr/src/RPMS and the source rpms in /usr/src/SRPMS

Some source packages include a *.spec file so you could just tweak those and 
put them in the SPEC folder. Some ./configure scripts also generate *.spec 
files.

As an alternative to checkinstall, you could try krpmbuilder for those small 
odd packages:
http://krpmbuilder.sourceforge.net/

Hope this helps.

-- 
RAGE CALLAO
Email: [EMAIL PROTECTED]
Site: http://bayanihan.gov.ph
Bayanihan GNU/Linux beta 1
Amor patriae
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph

Reply via email to