LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Handy compiling tip...

[ILUG] Handy compiling tip...

valen at tuatha.org valen at tuatha.org
Tue Aug 31 11:39:02 IST 1999


 Something I'd not noticed till now...

 Most of the GNOME project's software comes with a packagename.spec file in
the main tarfile. I'd thought it was just a description file. It's not. 

 If it's there, and you use RPM for your package manager, you can just do:

 rpm -ta packagename.tar.gz
 rpm -ivh /usr/src/redhat/RPMS/i386/glade-0.5.1-SNAP.i386.rpm

 It'll look for the spec file, compile it, install it & update the package
database. Kick ass. OK, so sometimes (like the glade 0.5.1 snapshot), the
spec file isn't updated (it says 0.5.0, so rpm looks for a file
glade-0.5.0.tar.gz after getting a specfile from glade-0.5.1.tar.gz), but
it's a nice little thing, for those, like me, that like to keep things in
order.

 BTW, for those tight on disk space, it keeps the RPMs in
/usr/src/redhat/RPMS/${PLAT}, all the sources in /usr/src/redhat/BUILD and
the SRPM in /usr/src/redhat/SRPMS. You can do something like

 rpm -ta --clean --rmsource packagename.tar.gz

 And that will get rid of most stuff out of in /usr/src/redhat afterwards.

 Cool no ?

Kate

-- 
Microsoft. The best reason in the world to drink beer.




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell