Sent a Mahcade RPM SPEC

A nice (keyboard based) front end for Arcade / Console game emulators.

Moderator: battlecat

Sent a Mahcade RPM SPEC

Postby Zombie » Mon Oct 15, 2012 4:44 pm

I filed a bug for the generation of MahCade RPMs, can you merge the SPEC into upstream?
User avatar
Zombie
 
Posts: 791
Joined: Mon Oct 06, 2008 2:52 pm

Re: Sent a Mahcade RPM SPEC

Postby sairuk » Mon Jan 28, 2013 3:11 am

I do not know anything about RPM packaging (yet), the current method for creating the rpm as part of the Wah!Cade scripts is a conversion through alien from a deb package.

How will this integrate with the current method of rpm generation?
mameau - My random bits | Wah!Ki - A Wah!Cade wiki | Mah!Cade - Experimental Wah!cade Branch | ListGen | Lazarus
User avatar
sairuk
 
Posts: 432
Joined: Sat May 22, 2010 12:37 am

Re: Sent a Mahcade RPM SPEC

Postby Zombie » Mon Jan 28, 2013 9:24 am

You need to store it in the tarball under a SPECS subdirectory.
User avatar
Zombie
 
Posts: 791
Joined: Mon Oct 06, 2008 2:52 pm

Re: Sent a Mahcade RPM SPEC

Postby sairuk » Fri Feb 15, 2013 10:49 am

Zombie,

the damn spec when MIA after I process the bugs the other day. Can you attached the RPM SPEC here for me to review.

thanks
mameau - My random bits | Wah!Ki - A Wah!Cade wiki | Mah!Cade - Experimental Wah!cade Branch | ListGen | Lazarus
User avatar
sairuk
 
Posts: 432
Joined: Sat May 22, 2010 12:37 am

Re: Sent a Mahcade RPM SPEC

Postby Zombie » Fri Feb 15, 2013 5:14 pm

For WahCade Mahcade

Code: Select all
%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 <littletux@zarb.org> 0.99-0.pre8plf2010.0
- First PLF package
User avatar
Zombie
 
Posts: 791
Joined: Mon Oct 06, 2008 2:52 pm

Re: Sent a Mahcade RPM SPEC

Postby sairuk » Fri Feb 15, 2013 11:42 pm

thanks
mameau - My random bits | Wah!Ki - A Wah!Cade wiki | Mah!Cade - Experimental Wah!cade Branch | ListGen | Lazarus
User avatar
sairuk
 
Posts: 432
Joined: Sat May 22, 2010 12:37 am


Return to Wah!Cade

Who is online

Users browsing this forum: Bing [Bot] and 1 guest

cron