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 25th September 2006, 02:18 AM
lnthai2002 Offline
Registered User
 
Join Date: Mar 2005
Posts: 81
amarok rpm spec file, rpm package is not built

Hi guys,
I am trying to build amarok rpm package(binary). After reading a few website about packaging software with rpm, i come up with a sepc file(attached).
When i build the package with rpmbuild, I have the software(amarok) built and installed but the rpm package is not built!!
rpmbuild -ba amarok.spec
Do i miss anything in the specfile to make all the binary packaged into an rpm file?
Hope to recive some suggestions
Thai
Attached Files
File Type: spec amarok.spec (58.9 KB, 72 views)
Reply With Quote
  #2  
Old 25th September 2006, 10:42 AM
ccrvic Offline
Registered User
 
Join Date: Apr 2006
Posts: 1,092
Quote:
Originally Posted by lnthai2002
When i build the package with rpmbuild, I have the software(amarok) built and installed but the rpm package is not built!!
You don't have a BuildRoot directive, so it will probably build & install in-place. This is not what you want...

Vic.
Reply With Quote
  #3  
Old 25th September 2006, 02:53 PM
lnthai2002 Offline
Registered User
 
Join Date: Mar 2005
Posts: 81
I have this line in the spec file
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root
isn't this a macro for BuildRoot? Should i use macro or just hardcode the directive?
Thank you
Reply With Quote
Reply

Tags
amarok, built, file, package, rpm, spec

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
which Fedora realease has built in package of ZENITY & problem with yum ...? shivarajM Installation and Live Media 1 11th May 2009 03:56 PM
I need help with my FCEUX spec file uncholowapo Gamers' Lounge 4 26th December 2008 05:06 PM
Create own rpm - need help with spec file den23513 Using Fedora 2 6th July 2008 08:25 PM
building a SPEC file jim Programming & Packaging 5 2nd October 2005 09:40 PM


Current GMT-time: 00:35 (Wednesday, 22-05-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