Hi, pls see comments below -

Regards,
Yin, Yan


-----Original Message-----
From: [email protected] [mailto:[email protected]] 
On Behalf Of brendan
Sent: Wednesday, April 27, 2011 7:50 AM
To: [email protected]
Subject: [meego-commits] 16989: New package Trunk:Testing/madeo-uplayer

Hi,
Adding new package madeo-uplayer in project Trunk:Testing. Please review and 
accept ASAP.

Justification for this new package:

new package for MeeGo-TV 1.2 in relation with Bug 16353

Thank You,
brendan

[This message was auto-generated]

---

Request #16989:

  submit:   devel:tv/madeo-uplayer(r1)(update) -> Trunk:Testing/madeo-uplayer


Message:
    new package for MeeGo-TV 1.2 in relation with Bug 16353

State:   new          2011-04-26T16:49:52 brendan
Comment: None


This is a NEW package in Trunk:Testing project.
The files in the new package:
madeo-uplayer/
  |__  Makefile
  |__  madeo-uplayer-0.1.5.tar.bz2
  |__  madeo-uplayer.changes
  |__  madeo-uplayer.spec
  |__  madeo-uplayer.yaml

The content of the YAML file, madeo-uplayer.yaml:
===================================================================
Name: madeo-uplayer
Summary: a dbus based media player interface
Version: 0.1.5
Release: 1
Group: System/X11
License: LGPLv2.1
URL: https://github.com/arfoll/Madeo-MUMS-player
BuildArch: noarch

Why noarch here?

Sources:
    - madeo-uplayer-%{version}.tar.bz2
Description: |
    a dbus based media player interface made based on the UMMS draft spec in 
python
Requires:
    - pygobject2
    - gstreamer-python
Files:
    - "%doc README TODO LICENSE"
    - "%{_bindir}/madeo-uplayer"
    - "%{_initrddir}/madeo-uplayer"
    - "/etc/dbus-1/system.d/uk.co.madeo.uplayer.conf"
Configure: none
Builder: none 

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


The content of the spec file, madeo-uplayer.spec:
===================================================================
# 
# Do NOT Edit the Auto-generated Part!
# Generated by: spectacle version 0.22
# 
# >> macros
# << macros

Name:       madeo-uplayer
Summary:    a dbus based media player interface
Version:    0.1.5
Release:    1
Group:      System/X11
License:    LGPLv2.1
BuildArch:  noarch
URL:        https://github.com/arfoll/Madeo-MUMS-player
Source0:    madeo-uplayer-%{version}.tar.bz2
Source100:  madeo-uplayer.yaml
Requires:   pygobject2
Requires:   gstreamer-python
Requires(post): /sbin/service
Requires(post): /sbin/chkconfig
Requires(postun): /sbin/service
Requires(postun): /sbin/chkconfig


%description
a dbus based media player interface made based on the UMMS draft spec in python




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

# >> setup
# << setup

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



# >> build post
# << build post
%install
rm -rf %{buildroot}
# >> install pre
mkdir -p %{buildroot}%{_bindir}/ %{buildroot}%{_initrddir}/ 
%{buildroot}/etc/dbus-1/system.d/
install -m 755 madeo-uplayer %{buildroot}%{_bindir}/madeo-uplayer
install -p -m 755 madeo-uplayer.init %{buildroot}%{_initrddir}/madeo-uplayer
install -p uk.co.madeo.uplayer.conf 
%{buildroot}/etc/dbus-1/system.d/uk.co.madeo.uplayer.conf
# << install pre

# >> install post
%preun
if [ "$1" -eq 0 ]; then
/sbin/service madeo-uplayer stop &> /dev/null
/sbin/chkconfig --del madeo-uplayer
fi
:

%postun
if [ "$1" -ge 1 ]; then
/sbin/service madeo-uplayer restart &> /dev/null
fi
:

# << install post






%files
%defattr(-,root,root,-)
%doc README TODO LICENSE
%{_bindir}/madeo-uplayer
%{_initrddir}/madeo-uplayer
/etc/dbus-1/system.d/uk.co.madeo.uplayer.conf
# >> files
# << files



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

_______________________________________________
MeeGo-commits mailing list
[email protected]
http://lists.meego.com/listinfo/meego-commits
_______________________________________________
MeeGo-packaging mailing list
[email protected]
http://lists.meego.com/listinfo/meego-packaging

Reply via email to