[meego-commits] 9995: New package Trunk/joystick

Peter Zhu no_reply at build.meego.com
Fri Nov 26 12:09:44 UTC 2010


Hi,
Adding new package joystick 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 #9995:

  submit:   Trunk:Testing/joystick(r1) -> Trunk/joystick


Message:
    Move to Trunk

State:   new          2010-11-26T04:09:44 peter
Comment: None


This is a NEW package in Trunk project.
The files in the new package:
joystick/
  |__  Makefile
  |__  joystick-1.2.15-meego.patch
  |__  joystick-1.2.15.tar.gz
  |__  joystick.changes
  |__  joystick.spec
  |__  joystick.yaml

The content of the YAML file, joystick.yaml:
===================================================================
Name: joystick
Summary: Utilities for configuring most popular joysticks
Version: 1.2.15
Release: 25
Group: System/Base
License: GPLv2+
URL: http://atrey.karlin.mff.cuni.cz/~vojtech/joystick/
Sources:
    - ftp://atrey.karlin.mff.cuni.cz/pub/linux/joystick/%{name}-%{version}.tar.gz
Patches:
    - joystick-1.2.15-meego.patch
Description: |
    The Linux Joystick Driver provides support for a variety of joysticks
    and similar devices. This package includes several utilities for
    setting up, calibrating, and testing your joystick.

Configure: none
UseAsNeeded: false
Builder: none

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


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

Name:       joystick
Summary:    Utilities for configuring most popular joysticks
Version:    1.2.15
Release:    25
Group:      System/Base
License:    GPLv2+
URL:        http://atrey.karlin.mff.cuni.cz/~vojtech/joystick/
Source0:    ftp://atrey.karlin.mff.cuni.cz/pub/linux/joystick/%{name}-%{version}.tar.gz
Source100:  joystick.yaml
Patch0:     joystick-1.2.15-meego.patch


%description
The Linux Joystick Driver provides support for a variety of joysticks
and similar devices. This package includes several utilities for
setting up, calibrating, and testing your joystick.




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

# joystick-1.2.15-meego.patch
%patch0 -p1
# >> setup
# << setup

%build
unset LD_AS_NEEDED
# >> build pre
rm -f joystick.h
make compile-programs
# << build pre



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

mkdir -p %{buildroot}
make BINDIR=%{_bindir} MANDIR=%{_mandir} install-programs

# << install pre

# >> install post
# << install post






%files
%defattr(-,root,root,-)
# >> files
%doc COPYING ChangeLog TODO joystick.txt
%{_bindir}/*
%{_mandir}/*/*
# << files



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




More information about the MeeGo-commits mailing list