How do I download source rpms?

This forum is dedicated to advanced help and support :

Ask here your questions about advanced usage of Mageia. For example you may post here all your questions about network and automated installs, complex server configurations, kernel tuning, creating your own Mageia mirrors, and all tasks likely to be touchy even for skilled users.

How do I download source rpms?

Postby DiBosco » Feb 28th, '13, 12:29

I'm trying to have a go at making an RPM of a tool I've been using that's on Sourceforge. So, I'm following the wiki page on how to get started, but the bit that goes on about getting hold of existing source is lacking vital information, It says:

cd ~/rpm/SRPMS

wget http://tmb.mine.nu/Mageia/Cauldron/mdv- ... .0.src.rpm

urpmi boa-constructor-0.6.1-5mdv2011.0.src.rpm


That doesn't work. Plus I don't really want to take that as a template.

I did this:

Code: Select all
urpmq -i kwrite


And got a list of rpms, including this:

kate-4.8.2-2.mga2.src.rpm

Which looks about right.

But how do I actually find the exact place where wget will find it?!

I found a web page with lots of Mageia mirrors and tried that, but seems I was not in the right subdirectory. Would someone fill in the important gap in the documentation please?

Thanks!
DiBosco
 
Posts: 331
Joined: Aug 31st, '11, 10:22

Re: How do I download source rpms?

Postby doktor5000 » Mar 1st, '13, 02:43

It can be found under every Mageia mirror below the directory /distrib/VERSION/SRPMS/

For kate for Mageia 2 that would be e.g. ftp://ftp.nluug.nl/pub/os/Linux/distr/m ... a2.src.rpm

Or do you need more explanantion or context?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18067
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to Advanced support

Who is online

Users browsing this forum: No registered users and 1 guest

cron