Bug 7636

Summary: recipetool: basic spec file conversion
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Paul Eggleton <bluelightning>
Component: devtools / tool chainAssignee: Unassigned <unassigned>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: Low CC: amber.n.elliot, meta.mr.watcher, meta.watcher, randy.macleod, tim.orling
Version: 1.8   
Target Milestone: Future   
Hardware: All   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know

Description Paul Eggleton 2015-04-21 10:05:09 UTC
It would be useful to be able to extract information from RPM spec files when auto-creating recipes in recipetool.

When implementing this it might be necessary to add a command-line option that lets you specify the spec file to look at in case it is not within the source tree for the application.

It may be possible to re-use parts of the Tizen spec2yocto tool:
https://review.tizen.org/git/?p=scm/bb/tizen.git;a=tree;f=tools
Comment 1 Paul Eggleton 2017-04-21 03:46:54 UTC
We do now extract name, version, license, summary, and homepage from any spec file we happen to find in an archive, however there other things that we could extract - these would be particularly useful for handling SRPMs (.src.rpm).
Comment 2 Randy MacLeod 2026-07-16 15:11:04 UTC
What we have now is sufficient, as Paul explained. 
Send a patch if you need more.