[meego-commits] 6819: New package Trunk:Handset/meegotouchcp-bluetooth

Kevron Rees kevronx_m_rees at linux.intel.com
Wed Aug 18 23:02:41 UTC 2010


Hi,
Adding new package meegotouchcp-bluetooth in project Trunk:Handset. Please review and accept ASAP.

Justification for this new package:

initial add of this package

Thank You,
Kevron Rees

[This message was auto-generated]

---

Request #6819:

  submit:   devel:ux:handset/meegotouchcp-bluetooth(r40) -> Trunk:Handset/meegotouchcp-bluetooth


Message:
    initial add of this package

State:   new          2010-08-18T10:53:14 kevronx_m_rees
Comment: None


This is a NEW package in Trunk:Handset project.
The files in the new package:
meegotouchcp-bluetooth/
  |__  meegotouchcp-bluetooth-0.0.4.tar.bz2
  |__  meegotouchcp-bluetooth.changes
  |__  meegotouchcp-bluetooth.spec
  |__  meegotouchcp-bluetooth.yaml

The content of the YAML file, meegotouchcp-bluetooth.yaml:
===================================================================
Name: meegotouchcp-bluetooth
Summary: MeegoTouchControlPanel Bluetooth Plugin
Version: 0.0.4
Release: 1
Group: System/GUI/Other
License: Apache License 2.0
Sources:
    - "meegotouchcp-bluetooth-%{version}.tar.bz2"
Description: |
    This is a plugin for meegotouchcontrolpanel that does bluetooth
    
Requires: 
    - connman
PkgBR:
    - doxygen
    - meegotouchcp-connman-libconnman-qt-devel
PkgConfigBR:
    - QtCore >= 4.6.0
    - QtDBus
    - QtOpenGL
    - QtGui
    - meegotouch
    - meegotouch-controlpanel
    - libpulse-mainloop-glib
    - libpulse
Configure: none
Builder: make
Files:
- "%{_libdir}/duicontrolpanel/*.desktop"
- "%{_libdir}/duicontrolpanel/applets/libbluetoothapplet.so"
- "/etc/dbus-1/system.d/McpBluetooth.conf"
- "%{_datadir}/l10n/meegotouch/duicontrolpanel-bluetoothapplet.qm"
- "%{_datadir}/themes/base/meegotouch/duicontrolpanel/style/bluetoothapplet.css"
SubPackages:
 - Name: libmeegobluetooth
   Summary: A library for accessing some of bluez functionality
   Group: System/Libraries
   Files:
       - "%{_libdir}/libmeegobluetooth.so.*"
   Description: |    
      This library is used by meegotouchcp-bluetooth and other mtf applications
 - Name: libmeegobluetooth-devel
   Summary: Development files for libmeegobluetooth
   Group: Development/Libraries
   Files:
       - "%{_includedir}/meegobluetooth/*.h"
       - "%{_libdir}/libmeegobluetooth.so"
   Description: |
    This package contains the files necessary to develop
    applications using libmeegobluetooth

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


The content of the spec file, meegotouchcp-bluetooth.spec:
===================================================================
# 
# Do not Edit! Generated by:
# spectacle version 0.17
# 
# >> macros
# << macros

Name:       meegotouchcp-bluetooth
Summary:    MeegoTouchControlPanel Bluetooth Plugin
Version:    0.0.4
Release:    1
Group:      System/GUI/Other
License:    Apache License 2.0
Source0:    meegotouchcp-bluetooth-%{version}.tar.bz2
Source100:  meegotouchcp-bluetooth.yaml
Requires:   connman
BuildRequires:  pkgconfig(QtCore) >= 4.6.0
BuildRequires:  pkgconfig(QtDBus)
BuildRequires:  pkgconfig(QtOpenGL)
BuildRequires:  pkgconfig(QtGui)
BuildRequires:  pkgconfig(meegotouch)
BuildRequires:  pkgconfig(meegotouch-controlpanel)
BuildRequires:  pkgconfig(libpulse-mainloop-glib)
BuildRequires:  pkgconfig(libpulse)
BuildRequires:  doxygen
BuildRequires:  meegotouchcp-connman-libconnman-qt-devel


%description
This is a plugin for meegotouchcontrolpanel that does bluetooth



%package libmeegobluetooth
Summary:    A library for accessing some of bluez functionality
Group:      System/Libraries
Requires:   %{name} = %{version}-%{release}
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig

%description libmeegobluetooth
This library is used by meegotouchcp-bluetooth and other mtf applications


%package libmeegobluetooth-devel
Summary:    Development files for libmeegobluetooth
Group:      Development/Libraries
Requires:   %{name} = %{version}-%{release}

%description libmeegobluetooth-devel
This package contains the files necessary to develop
applications using libmeegobluetooth



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

# >> setup
# << setup

%build
# >> build pre
export PATH=$PATH:/usr/lib/qt4/bin
qmake install_prefix=/usr
# << build pre


make %{?jobs:-j%jobs}

# >> build post
# << build post
%install
rm -rf %{buildroot}
# >> install pre
# << install pre
%make_install 

# >> install post
# << install post







%post libmeegobluetooth -p /sbin/ldconfig

%postun libmeegobluetooth -p /sbin/ldconfig




%files
%defattr(-,root,root,-)
%{_libdir}/duicontrolpanel/*.desktop
%{_libdir}/duicontrolpanel/applets/libbluetoothapplet.so
/etc/dbus-1/system.d/McpBluetooth.conf
%{_datadir}/l10n/meegotouch/duicontrolpanel-bluetoothapplet.qm
%{_datadir}/themes/base/meegotouch/duicontrolpanel/style/bluetoothapplet.css
# >> files
# << files


%files libmeegobluetooth
%defattr(-,root,root,-)
%{_libdir}/libmeegobluetooth.so.*
# >> files libmeegobluetooth
# << files libmeegobluetooth

%files libmeegobluetooth-devel
%defattr(-,root,root,-)
%{_includedir}/meegobluetooth/*.h
%{_libdir}/libmeegobluetooth.so
# >> files libmeegobluetooth-devel
# << files libmeegobluetooth-devel


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




More information about the MeeGo-commits mailing list