[meego-commits] 9881: New package Trunk:Testing/xorg-x11-drv-joystick

Yan Yin no_reply at build.meego.com
Fri Nov 26 05:16:27 UTC 2010


Hi,
Adding new package xorg-x11-drv-joystick in project Trunk:Testing. Please review and accept ASAP.

Justification for this new package:

Inital import to MeeGo to support joystick (FEA# 7828)

Thank You,
Yan Yin

[This message was auto-generated]

---

Request #9881:

  submit:   home:yyin2:branches:Trunk:Testing/xorg-x11-drv-joystick(r1)(cleanup) -> Trunk:Testing/xorg-x11-drv-joystick


Message:
    Inital import to MeeGo to support joystick (FEA# 7828)

State:   new          2010-11-25T21:16:26 yyin2
Comment: None


This is a NEW package in Trunk:Testing project.
The files in the new package:
xorg-x11-drv-joystick/
  |__  Makefile
  |__  xf86-input-joystick-1.5.0.tar.bz2
  |__  xorg-x11-drv-joystick.changes
  |__  xorg-x11-drv-joystick.spec
  |__  xorg-x11-drv-joystick.yaml

The content of the YAML file, xorg-x11-drv-joystick.yaml:
===================================================================
Name: xorg-x11-drv-joystick
Summary: X.Org X11 joystick input driver
Description: X.Org X11 joystick input driver for MeeGo
Version: 1.5.0
Release: 1
Group: System/X Hardware Support
License: MIT
URL: http://www.x.org/
Sources:
    - http://xorg.freedesktop.org/releases/individual/driver/xf86-input-joystick-%{version}.tar.bz2

Requires:
    - xorg-x11-server-Xorg
PkgConfigBR:
    - xorg-server
    - xproto
    - randrproto
    - inputproto
    - kbproto
    - xextproto
Configure: reconfigure
SubPackages:  
    - Name: devel  
      Summary: Development libraries and header files for  %{name}  
      Group: Development/Libraries  
      Description: |  
        Development libraries and header files for  %{name}  

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


The content of the spec file, xorg-x11-drv-joystick.spec:
===================================================================
# 
# Do NOT Edit the Auto-generated Part!
# Generated by: spectacle version 0.21
# 
# >> macros
# << macros

Name:       xorg-x11-drv-joystick
Summary:    X.Org X11 joystick input driver
Version:    1.5.0
Release:    1
Group:      System/X Hardware Support
License:    MIT
URL:        http://www.x.org/
Source0:    http://xorg.freedesktop.org/releases/individual/driver/xf86-input-joystick-%{version}.tar.bz2
Source100:  xorg-x11-drv-joystick.yaml
Requires:   xorg-x11-server-Xorg
BuildRequires:  pkgconfig(xorg-server)
BuildRequires:  pkgconfig(xproto)
BuildRequires:  pkgconfig(randrproto)
BuildRequires:  pkgconfig(inputproto)
BuildRequires:  pkgconfig(kbproto)
BuildRequires:  pkgconfig(xextproto)


%description
X.Org X11 joystick input driver for MeeGo


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

%description devel
Development libraries and header files for  %{name}  



%prep
%setup -q -n xf86-input-joystick-%{version}

# >> setup
# << setup

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

%reconfigure --disable-static
make %{?jobs:-j%jobs}

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

# >> install post
# << install post









%files
%defattr(-,root,root,-)
# >> files
%(pkg-config xorg-server --variable=moduledir )/input/joystick_drv.so
%doc %{_mandir}/man4/joystick.4*
# << files


%files devel
%defattr(-,root,root,-)
# >> files devel
%{_includedir}/xorg/joystick-properties.h  
%{_libdir}/pkgconfig/xorg-joystick.pc 
# << files devel


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




More information about the MeeGo-commits mailing list