Fedora Linux Support Community & Resources Center
  #1  
Old 24th April 2005, 04:27 PM
odiseo77 Offline
Registered User
 
Join Date: Mar 2005
Location: Caracas, Venezuela
Age: 37
Posts: 112
Question What are .spec files for??

Hi all. I was looking the packages available in dag repositories and there's a mplayer w32codec rpm, but it's too small to be the codec package. There's a message in the site telling it's illegal to provide the package but it's possible to get it with the spec file. So how to do it?? (I tried ./w32codec.spec and "sh w32codec.spec" and I got no results). Also I wanted to download the kernel module rpm for my modem and it comes with a spec file too. How do I get the rpm after upgrading the kernel when the modem driver will not be installed??
Thanks in advance.
Reply With Quote
  #2  
Old 24th April 2005, 05:54 PM
ianmac
Guest
 
Posts: n/a
.spec files are used in rebuilding RPM's. The proper command is rpmbuild <options> <specfilename.spec>. The .spec file tells the rpmbuild command how to configure and compile, as well as how to install the files later, a source tarfile before creating an RPM or .SRC.RPM from it.

Try this.
1. Download the sources for the rpm you wish to build.
2. Download the .spec file.
3. Follow the instructions at: http://dag.wieers.com/howto/bits/rpm-build-user.php
4. Open a term and type "rpmbuild -ba packagename.spec" to build an .rpm and .src.rpm

There is more information about building rpm's here: http://fedoranews.org/tchung/rpmbuild/

Last edited by ianmac; 24th April 2005 at 05:58 PM.
Reply With Quote
  #3  
Old 24th April 2005, 08:53 PM
odiseo77 Offline
Registered User
 
Join Date: Mar 2005
Location: Caracas, Venezuela
Age: 37
Posts: 112
Thanks I'l try it.
Reply With Quote
Reply

Tags
files, 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
rawhide spec files sanjay_ankur Using Fedora 1 20th January 2009 12:09 PM
.spec files nucleo Using Fedora 2 3rd February 2008 03:05 PM
Where to upload RPM files? and .spec software? markg85 Using Fedora 7 26th October 2006 03:05 AM
How do I use scons in RPM SPEC files? SHtRO Using Fedora 3 10th May 2006 07:27 PM
Environment variables in SPEC files daihard Using Fedora 14 8th April 2006 03:09 AM


Current GMT-time: 17:16 (Friday, 31-10-2014)

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
Buckhall Photos on Instagram - Hialeah Photos - Arraial do Cabo Travel Photos on Instagram