[meego-commits] 10002: New package Trunk/meego-simulator-launcher

Peter Zhu no_reply at build.meego.com
Fri Nov 26 12:10:57 UTC 2010


Hi,
Adding new package meego-simulator-launcher in project Trunk. Please review and accept ASAP.

Justification for this new package:

Move to Trunk

Thank You,
Peter Zhu

[This message was auto-generated]

---

Request #10002:

  submit:   Trunk:Testing/meego-simulator-launcher(r1) -> Trunk/meego-simulator-launcher


Message:
    Move to Trunk

State:   new          2010-11-26T04:10:56 peter
Comment: None


This is a NEW package in Trunk project.
The files in the new package:
meego-simulator-launcher/
  |__  meego-simulator-launcher-1.0.2.tar.gz
  |__  meego-simulator-launcher.changes
  |__  meego-simulator-launcher.spec
  |__  meego-simulator-launcher.yaml

The content of the YAML file, meego-simulator-launcher.yaml:
===================================================================
Name: meego-simulator-launcher
Summary: MeeGo simulator launcher for MeeGo SDK
Version: 1.0.2
Release: 1
Group: Development/Tools
License: GPLv2.1
URL: git://gitorious.org/meego-developer-tools/meego-simulator-launcher.git
Description: |
    This package contains a utility tool Wait4XephyrStart, startmeego which starts
    up the MeeGo UI, and a startup script (meego-sdk-rc.sh) which sets the prompt.
Sources:
   - "%{name}-%{version}.tar.gz"
PkgConfigBR:
   - x11
Configure: none
Builder: none
NoFiles: yes
ExclusiveArch: "%{ix86}"
SubPackages:
    - Name: netbook
      Summary: MeeGo simulator launcher for MeeGo SDK Netbook for MeeGo Application Developers
      Group: Development/Tools
      Description:
        This package contains a utility tool Wait4XephyrStart, startmeego which starts
        up the MeeGo UI, and a startup script (meego-sdk-rc.sh) which sets the prompt.
      Requires:
        - xorg-x11-server-Xephyr
        - mesa-dri-i915-driver
        - mesa-dri-i965-driver
        - mesa-dri-swrast-driver
    - Name: handset
      Summary: MeeGo simulator launcher for MeeGo SDK Handset
      Group: Development/Tools
      Description:
        This package contains a utility tool Wait4XephyrStart, startmeego which starts
        up the MeeGo UI, and a startup script (meego-sdk-rc.sh) which sets the prompt.
      Requires:
        - xorg-x11-server-Xephyr
        - mesa-dri-i915-driver
        - mesa-dri-i965-driver
        - mesa-dri-swrast-driver
    - Name: tablet
      Summary: MeeGo simulator launcher for MeeGo SDK Tablet
      Group: Development/Tools
      Description:
        This package contains a utility tool Wait4XephyrStart, startmeego which starts
        up the MeeGo UI, and a startup script (meego-sdk-rc.sh) which sets the prompt.
      Requires:
        - xorg-x11-server-Xephyr
        - mesa-dri-i915-driver
        - mesa-dri-i965-driver
        - mesa-dri-swrast-driver

===================================================================


The content of the spec file, meego-simulator-launcher.spec:
===================================================================
# 
# Do NOT Edit the Auto-generated Part!
# Generated by: spectacle version 0.20
# 
# >> macros
# << macros

Name:       meego-simulator-launcher
Summary:    MeeGo simulator launcher for MeeGo SDK
Version:    1.0.2
Release:    1
Group:      Development/Tools
License:    GPLv2.1
ExclusiveArch:  %{ix86}
URL:        git://gitorious.org/meego-developer-tools/meego-simulator-launcher.git
Source0:    %{name}-%{version}.tar.gz
Source100:  meego-simulator-launcher.yaml
BuildRequires:  pkgconfig(x11)


%description
This package contains a utility tool Wait4XephyrStart, startmeego which starts
up the MeeGo UI, and a startup script (meego-sdk-rc.sh) which sets the prompt.



%package netbook
Summary:    MeeGo simulator launcher for MeeGo SDK Netbook for MeeGo Application Developers
Group:      Development/Tools
Requires:   xorg-x11-server-Xephyr
Requires:   mesa-dri-i915-driver
Requires:   mesa-dri-i965-driver
Requires:   mesa-dri-swrast-driver

%description netbook
This package contains a utility tool Wait4XephyrStart, startmeego which starts up the MeeGo UI, and a startup script (meego-sdk-rc.sh) which sets the prompt.

%package handset
Summary:    MeeGo simulator launcher for MeeGo SDK Handset
Group:      Development/Tools
Requires:   xorg-x11-server-Xephyr
Requires:   mesa-dri-i915-driver
Requires:   mesa-dri-i965-driver
Requires:   mesa-dri-swrast-driver

%description handset
This package contains a utility tool Wait4XephyrStart, startmeego which starts up the MeeGo UI, and a startup script (meego-sdk-rc.sh) which sets the prompt.

%package tablet
Summary:    MeeGo simulator launcher for MeeGo SDK Tablet
Group:      Development/Tools
Requires:   xorg-x11-server-Xephyr
Requires:   mesa-dri-i915-driver
Requires:   mesa-dri-i965-driver
Requires:   mesa-dri-swrast-driver

%description tablet
This package contains a utility tool Wait4XephyrStart, startmeego which starts up the MeeGo UI, and a startup script (meego-sdk-rc.sh) which sets the prompt.


%prep
%setup -q -n %{name}-%{version}

# >> setup
# << setup

%build
# >> build pre
# << build pre



# >> build post
# << build post
%install
rm -rf %{buildroot}
# >> install pre
make clean
make netbook
make DESTDIR=%{buildroot} install
make clean
make handset
make DESTDIR=%{buildroot} install
make clean
make tablet
make DESTDIR=%{buildroot} install
# << install pre

# >> install post
%post netbook
ln -sf /usr/bin/startmeego-netbook /usr/bin/startmeego
ln -sf /usr/bin/startmeego-debug-netbook /usr/bin/startmeego-debug
gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.meego --type bool --set /desktop/meego/always_small_screen_mode true

%postun netbook
rm -rf /usr/bin/startmeego
rm -rf /usr/bin/startmeego-debug
gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.meego --type bool --set /desktop/meego/always_small_screen_mode false

%post handset
ln -sf /usr/bin/startmeego-handset /usr/bin/startmeego
ln -sf /usr/bin/startmeego-debug-handset /usr/bin/startmeego-debug

%postun handset
rm -rf /usr/bin/startmeego
rm -rf /usr/bin/startmeego-debug

%post tablet
ln -sf /usr/bin/startmeego-tablet /usr/bin/startmeego
ln -sf /usr/bin/startmeego-debug-tablet /usr/bin/startmeego-debug

%postun tablet
rm -rf /usr/bin/startmeego
rm -rf /usr/bin/startmeego-debug

# << install post

















%files netbook
%defattr(-,root,root,-)
# >> files netbook
%attr(0644,root,root) /etc/profile.d/meego-sdk-rc-netbook.sh
%attr(0755,root,root) /usr/bin/Wait4XephyrStart
%attr(0755,root,root) /usr/bin/startmeego-netbook
%attr(0755,root,root) /usr/bin/startmeego-debug-netbook
# << files netbook

%files handset
%defattr(-,root,root,-)
# >> files handset
%attr(0644,root,root) /etc/profile.d/meego-sdk-rc-handset.sh
%attr(0755,root,root) /usr/bin/Wait4XephyrStart
%attr(0755,root,root) /usr/bin/startmeego-handset
%attr(0755,root,root) /usr/bin/startmeego-debug-handset
# << files handset

%files tablet
%defattr(-,root,root,-)
# >> files tablet
%attr(0644,root,root) /etc/profile.d/meego-sdk-rc-tablet.sh
%attr(0755,root,root) /usr/bin/Wait4XephyrStart
%attr(0755,root,root) /usr/bin/startmeego-tablet
%attr(0755,root,root) /usr/bin/startmeego-debug-tablet
# << files tablet


===================================================================




More information about the MeeGo-commits mailing list