RPM Spec

Registered by Wayne Moulden

    %define oname wahcade
    Name: wahcade-mahcade
    Version: 1.0
    %define beta r118
    Release: %mkrel 0.%{beta}

    Summary: Front end for games and emulators
    License: GPLv2+
    Group: Emulators
    URL: http://www.anti-particle.com/wahcade.shtml
    Source0: http://www.anti-particle.com/projects/%{name}/%{name}-%{version}%{beta}.tar.xz
    Patch0: wahcade-mahcade-launch.patch

    BuildRequires: python

    Requires: pygtk2.0-libglade
    Requires: python-chardet
    Requires: sdlmame-extra-data
    Suggests: python-imaging
    suggests: gstreamer0.10-python
    Suggests: pygame
    BuildArch: noarch
    BuildRoot: %{_tmppath}/%{name}-%{version}
    Obsoletes: wahcade
    %description
    Wah!Cade is a GNU/Linux friendly clone of Minwah's excellent MameWAH.

    It's a front end for games and emulators (e.g. the MAME arcade game emulator),
    and has been designed with arcade cabinet controls and projects in mind.

    It is compatible with MameWah's config files and layouts.

    It features :
     - a keyboard controlled GUI, perfect for those arcade controls,
     - a history viewer,
     - a control panel viewer,
     - a layout editor,
     - a setup editor.

    %prep
    %setup -q -n %{name}
    %patch0 -p0

    %build
    #python setup.py build

    %install
    rm -rf %{buildroot}
    python setup.py install --prefix=%{_prefix} --root=%{buildroot}

    rm -f %{buildroot}%{py_platsitedir}/%{oname}-%{version}*
    rm -f %{buildroot}/usr/lib/python2.7/site-packages/wahcade-mahcade-py2.7.egg-info
    rm -f %{buildroot}/usr/lib/python2.7/site-packages/wahcade-bzr_devel-py2.7.egg-info
    %find_lang %{name}

    %clean
    rm -rf %{buildroot}

    %if %mdkversion < 200900
    %post
    %update_menus

    %postun
    %clean_menus
    %endif

    %files -f %{name}.lang
    %defattr(-,root,root,-)
    %doc doc/*
    %{_bindir}/*
    %{_gamesdatadir}/%{oname}
    %{_datadir}/applications/*
    %{_datadir}/pixmaps/*
    %{_datadir}/locale/*

    %changelog
    * Fri Sep 11 2009 Guillaume Bedot <email address hidden> 0.99-0.pre8plf2010.0
    - First PLF package

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
Wayne Moulden
Direction:
Needs approval
Assignee:
None
Definition:
Discussion
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.