Fedora Linux Support Community & Resources Center
Old 4th April 2005, 04:41 AM
Posts: n/a
building rpm's from odd files

I have used rpmbuild to build my own rpm's and have had a lot of success doing so. When I can't find an rpm for an app, I just build my own. But, this requires that I have the sources and a .spec file because the rpmbuild process builds the app from the sources and then creates the rpm.

However, I have seen some rpm's of things that do not have any source code at all - things like gkrellm-themes, which is merely a collection of images and a resource file which involves no compiling at all - at least this is what I am assuming.

How does one go about building an rpm for things that do not have source code or do not need to be compiled? Is there a special way to build an rpm from a collection of images or text files and have said rpm behave exactly like any other rpm regarding installing (rpm -i), uninstalling (rpm -e), querying (rpm -qa), etc. via the rpm command?

I have 290Mb of text and html files (mostly tutorials that I have gathered over the years) for which I'd like to build some rpm's. How would I do this without source code? It seems using an rpm would be much faster than copying the files to various locations.
Reply With Quote
Old 4th April 2005, 01:29 PM
foolish Offline
Retired Community Manager
Join Date: Feb 2004
Location: Aalesund, Norway
Age: 30
Posts: 1,888
This is an excelent question, and one I have pondered myself. I don't fully understand how it works myself (yet), but looking at the .spec file for the package you mentioned, gkrellm-themes (I've attached it) might get you closer to a solution.

And there might be something in the ultimate rpm guide: http://www.rpm.org/max-rpm/

If you do figure it out, please let me know.
Attached Files
File Type: txt gkrellm-themes.spec.txt (2.6 KB, 303 views)
Sindre Pedersen Bjørdal || http://www.fedorasolved.org || Hardware Profile
- Please adhere to the FedoraForum Guidelines.
Reply With Quote
Old 4th April 2005, 06:06 PM
Posts: n/a
Thank you, foolish, for posting the .spec file. However, I am afraid that I am not yet knowledgeable enough about rpm to be able to figure this out. Hopefully someone else can shed some light on this mystery.

Last edited by ianmac; 4th April 2005 at 06:10 PM.
Reply With Quote

building, files, odd, rpm

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
Building your own RPM's eggsy85 Programming & Packaging 7 2nd August 2005 04:22 PM
building rpm's Evert Using Fedora 5 24th June 2004 05:39 AM

Current GMT-time: 23:07 (Thursday, 21-09-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive

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