Fedora Linux Support Community & Resources Center
  #1  
Old 11th May 2011, 06:36 PM
ddreggors Offline
Registered User
 
Join Date: Apr 2010
Posts: 46
linuxfedorafirefox
Any GUI spec file builders?

I have been writing spec files by hand and it is rather simple to keep a minimal template and populate as needed but I was thinking that it is odd that there is a total lack of GUI tools for this process.

I have seen the Eclipse plugin but I am not really sure I want to install a mammoth IDE just to create spec files. Especially when I prefer to code in Netbeans.

Are there any stand alone GUI tools for easily/rapidly creating spec files?
Reply With Quote
  #2  
Old 11th May 2011, 07:02 PM
PabloTwo's Avatar
PabloTwo Online
"Registered User" T-Shirt Winner
 
Join Date: Mar 2007
Location: Seville, FL
Posts: 5,119
linuxfirefox
Re: Any GUI spec file builders?

I'm not aware of any GUI tools to do what you ask. There is always the "rpmdev-newspec" command (part of the rpmdevtools package) which will create a basic unpopulated spec file. Besides that, there are several pre-configured spec file templates for more specialized types of packaging.

/etc/rpmdevtools/spectemplate-R.spec
/etc/rpmdevtools/spectemplate-dummy.spec
/etc/rpmdevtools/spectemplate-lib.spec
/etc/rpmdevtools/spectemplate-minimal.spec
/etc/rpmdevtools/spectemplate-ocaml.spec
/etc/rpmdevtools/spectemplate-perl.spec
/etc/rpmdevtools/spectemplate-php-pear.spec
/etc/rpmdevtools/spectemplate-python.spec
/etc/rpmdevtools/spectemplate-ruby.spec
Reply With Quote
  #3  
Old 12th May 2011, 02:45 AM
ddreggors Offline
Registered User
 
Join Date: Apr 2010
Posts: 46
linuxfedorafirefox
Re: Any GUI spec file builders?

Thanks, I am aware of these templates, I have even added some of my own for various projects.

What I was thinking of is beyond that. I was thinking maybe even making these templates as a starting point and building on them within a GUI.

I am thinking of creating a python script that will source a template in and then the GUI will run in a wizard like fashion and ask some key questions like App Name, App Version, Requires (list), Conflicts, Source, Files, etc...


First I must learn python and then how to hook into the glade file.


EDIT:

I have now started writing a C++/wxSmith app in Code::Blocks to create RPM spec files. Many might think this is pointless since it is just as easy to them to create a spec file by hand using vi/vim or emacs but to the beginner that is not so easy. I have been writing and editing spec files for some time now and I still find it hard to remember syntax or all the flags to the macros for example.

I have compiled a document that has all of the flags, macros, scripts, etc... that can be used in a spec file. Now that the spec file outline work is complete, I have started work on the app. I have in fact already hit my first bug:

http://forums.fedoraforum.org/showthread.php?t=263281

So if any are interested or would like to follow the progress... just send me a private message here on the forums. If there is enough interest I may be persuaded to add the project to source forge.

Last edited by ddreggors; 21st May 2011 at 02:45 AM.
Reply With Quote
Reply

Tags
builders, file, gui, 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
[SOLVED] Need help with RPM spec file Hlingler Programming & Packaging 3 18th January 2011 11:24 AM
I need help with my FCEUX spec file uncholowapo Gamers' Lounge 4 26th December 2008 05:06 PM
writing spec file munna_dude Servers & Networking 3 18th August 2007 10:54 AM
Viewing the spec file of RPM´s eggsy85 Programming & Packaging 4 4th August 2005 04:36 PM


Current GMT-time: 12:55 (Monday, 20-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