[meego-packaging] Spectacle and subpackages
Jian-feng Ding
jian-feng.ding at intel.com
Tue Jul 13 19:07:34 PDT 2010
Or you can do it like this:
1. Use "AutoSubPackages" if the sub-packages are regular enough
2. Run `specify` to generate or update *.spec
3. In the *.spec, there will be the following lines: (use "devel" as the sample)
%files devel
%defattr(-,root,root,-)
# >> files devel
# << files devel
4. Insert all the %files items between these two comment lines, e.g.
%files devel
%defattr(-,root,root,-)
# >> files devel
%{_datadir}/themes/base/meegotouch/dialer
%{_datadir}/pixmaps/icons-Applications-dialer.png
# << files devel
5. This action is needed only the first time.
Hope it can help you.
- jf.ding
On Tue, Jul 13, 2010 at 10:38:27PM +0800, Shane Bryan wrote:
> On Tue, 13 Jul 2010 14:45:21 +0300
> Pertti Kellomäki <pertti.kellomaki at nokia.com> wrote:
>
> > How do I specify what files go into subpackages? The xfce4-session
> > uses the following construct:
> >
> > AutoSubPackages:
> >
> > - devel
> >
> >
> > but it does not list any files. If I use the same construct, rpmlint
> > complains about a package without files, and about development files
> > in non-devel package.
>
> Here's how I do it in meego-handset-dialer.yaml file:
>
> SubPackages:
> - Name: branding-upstream
> Summary: MeeGo dialer default theme files
> Description: Theme assets for the MeeGo Dialer
> Group: System/GUI/Other
> License: Restricted
> Provides:
> - meego-handset-dialer-branding
> Files:
> - "%{_datadir}/themes/base/meegotouch/dialer"
> - "%{_datadir}/pixmaps/icons-Applications-dialer.png"
>
> Having not used "AutoSubPackages", not sure if there is a similar
> supported way.
>
> Shane...
> _______________________________________________
> MeeGo-packaging mailing list
> MeeGo-packaging at meego.com
> http://lists.meego.com/listinfo/meego-packaging
More information about the MeeGo-packaging
mailing list