Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 22nd November 2007, 05:19 PM
mildred Offline
Registered User
 
Join Date: Nov 2007
Posts: 5
make rpmbuild donload the sources

Hi,

I just installed Fedora 8 and use it, it is great, but I need to install gspiceui and there is not package for it, so I had to create my own package. So I write gspaceui.spec and tried to use rpmbuild to build a package, however I have the following error:

Code:
$ rpmbuild -ba gspaceui.spec
error: File /home/mildred/.rpmbuild/SOURCES/gspiceui-v0.9.33.tar.gz: No such file or directory
Of course I can download the file manually (and I did), but that's not very convenient. And if I have to do it, i wonder why I provided an URL where the file can be downloaded. So do you know how to make rpmbuild download the file ?

Thanks.

Mildred
Reply With Quote
  #2  
Old 22nd November 2007, 05:57 PM
Brian1's Avatar
Brian1 Offline
Registered User
 
Join Date: Nov 2004
Location: Seymour, Indiana
Posts: 2,509
Don't have a clue since not seeing the contents of the spec file.

Brian
__________________
Distribution: RHEL 5.1 with Pieces of this and that.
Kernel 2.6.23.9, KDE 3.5.8 and KDE 4.0 beta, Plus Development src.rpm, ATI fglrx64_7_1_0-8.433-1 rpm with 3D and DRI working.
Acer 5100-5840 with webcam, ati, sdcard reader, sound, atheros based wireless, all working. Only thing not working is the memory stick reader.
Reply With Quote
  #3  
Old 22nd November 2007, 05:58 PM
leigh123linux's Avatar
leigh123linux Offline
Retired Administrator
 
Join Date: Oct 2006
Posts: 21,509
try here

http://www.sp5pbe.waw.pl/~sp5smk/spice.html

Code:
su
yum groupinstall "Developmen Tool"
yum install rpmdevtools
wget http://www.sp5pbe.waw.pl/~sp5smk/gspiceui-0.9.33-16.fc7.src.rpm
rpmbuild --rebuild gspiceui-0.9.33-16.fc7.src.rpm
__________________
My Hardware
- CPU: AMD Phenom II X6 Hex Core 1055T 95W Edition @3.5Ghz
- Motherboard: Gigabyte GA-880GM-UD2H
- Cooler: Corsair H50 CPU Cooler
- RAM: Corsair Dominator 8GB (4x2GB) DDR3 1600MHz
- Graphics: Gigabyte GeForce GTS 450 OC 1024MB GDDR5

Last edited by leigh123linux; 22nd November 2007 at 06:00 PM.
Reply With Quote
  #4  
Old 22nd November 2007, 07:11 PM
scottro's Avatar
scottro Offline
Retired Community Manager -- Banned from Texas by popular demand.
 
Join Date: Sep 2007
Location: NYC
Posts: 8,142
I could be wrong, but it seems to me that somewhere along the line, I read that the spec file ignores everything before the version name part. You can put anything you want in that URL, although, of course, it's best practice to put the correct url in there. I don't believe a spec file actually seeks out and downloads the tarbal.

That seems to be correct, judging from, for example, this page. It seems you have to download the source before building.
Reply With Quote
  #5  
Old 23rd November 2007, 12:12 PM
mildred Offline
Registered User
 
Join Date: Nov 2007
Posts: 5
Ok, thanks.
So the url is useless ...

For spice, I successfully installed it, but I still have to learn how to use it (and how to add symbols)
Thanks.

Mildred
Reply With Quote
  #6  
Old 23rd November 2007, 02:20 PM
lmo Offline
Registered User
 
Join Date: Mar 2007
Posts: 1,047
Study the msttcorefonts spec file here http://corefonts.sourceforge.net/

Somehow, it downloaded files.
Reply With Quote
  #7  
Old 23rd November 2007, 04:53 PM
scottro's Avatar
scottro Offline
Retired Community Manager -- Banned from Texas by popular demand.
 
Join Date: Sep 2007
Location: NYC
Posts: 8,142
If you look at it, you'll see that he included a function (that I assume he wrote) to do the downloading. It's a separate part of the spec file.

So, Mildred, that's something to consider--putting in a separate command (hrrm, maybe in %prep?) to actually download the source. I'm no expert on spec files, I'm not sure how much work that adds and how it affects things if it's not done before the url line, etc.

However, to go back to the original question, of how come it's asking for the file even though you put in a url, more googling indicated that my memory was correct--it pretty much ignores that url and just looks at the part saying {name}-{version}. Apparently, you could put in a completely fictitious url and it would still work--so long as the tarball is in your SOURCES directory.
Reply With Quote
Reply

Tags
donload, make, rpmbuild, sources

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
rpmbuild error: File ./test-2.3.0/SOURCES/test-2.3.0.tar.gz: No such file powah Using Fedora 2 13th December 2007 11:48 PM
Fedora7 rpmbuild -bp failed build dependencies: make >= 3.78 kenrasia Using Fedora 0 15th September 2007 11:02 PM
/root/rpmbuild/SOURCES/xen-20060301.tar.bz2: No such file or directory amarjit Installation and Live Media 2 10th June 2007 04:37 PM
make acpi driver, do I need kernel sources? wh0rd Hardware & Laptops 16 19th May 2006 06:17 PM
Unable to find DVD image for FC4 on donload site linux.guru EOL (End Of Life) Versions 4 6th November 2005 06:38 PM


Current GMT-time: 01:38 (Thursday, 20-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat