Re: how to get a specfile from an RPM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hale Boyes, Kevin  wrote:
> I can see the file when I query the SRPM but
> how do I extract the .spec file from the SRPM?

You could install the srpm.  Or you could use a tool like
rpmdev-extract (from rpmdevtools) to unpack the srpm.  Another
possibility is to use Midnight Commander or the Gnome Archive Manager
(file-roller) to unpack the srpm.

If you're looking to do this for Fedora rpms, it may be even easier to
use the CVS interface on the web to view the spec file.  For example,
to see the spec file for the F7 rpmdevtools package, go to:

http://cvs.fedora.redhat.com/viewcvs/rpms/rpmdevtools/F-7/rpmdevtools.spec

You can look at the rpmdev-extract script if you want to learn how to
extract files from an rpm "by hand" -- it's just a shell script.

-- 
Todd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I've had a perfectly wonderful evening.  But this wasn't it.
    -- Groucho Marx

Attachment: pgpBhgaqiB0nh.pgp
Description: PGP signature

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux