Bug 7636 - recipetool: basic spec file conversion
Summary: recipetool: basic spec file conversion
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: devtools / tool chain (show other bugs)
Version: 1.8
Hardware: All Multiple
: Low enhancement
Target Milestone: Future
Assignee: Unassigned
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2015-04-21 10:05 UTC by Paul Eggleton
Modified: 2026-07-16 15:11 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.