Page 1 of 1

How do I download source rpms?

PostPosted: Feb 28th, '13, 12:29
by DiBosco
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!

Re: How do I download source rpms?

PostPosted: Mar 1st, '13, 02:43
by doktor5000
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?