56 lines
1.6 KiB
RPMSpec
56 lines
1.6 KiB
RPMSpec
Name: mame
|
|
Version: 0.151
|
|
Release: 1mamba
|
|
Summary: A virtual environment where you can run software written for other platforms, namely old arcades
|
|
Group: Applications/Emulators
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: http://sdlmame.wallyweek.org/
|
|
Source: https://launchpad.net/~c.falco/+archive/mame/+files/mame_%{version}.orig.tar.xz
|
|
License: BSD
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libSDL-devel
|
|
BuildRequires: libSDL_ttf-devel
|
|
BuildRequires: libX11-devel
|
|
BuildRequires: libXinerama-devel
|
|
BuildRequires: libalsa-devel
|
|
BuildRequires: libfontconfig-devel
|
|
BuildRequires: libfreetype-devel
|
|
BuildRequires: libgcc
|
|
BuildRequires: libqt4-devel
|
|
BuildRequires: libstdc++6-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
%description
|
|
MAME stands for "Multiple Arcade Machine Emulator". It provides a virtual environment where you can run software written for other platforms, namely old arcades.
|
|
|
|
%debug_package
|
|
|
|
%prep
|
|
%setup -q -D -T
|
|
|
|
%build
|
|
:<< _EOF
|
|
%make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
install -D -m0755 mame %{buildroot}%{_bindir}/mame
|
|
ln -s mame %{buildroot}%{_bindir}/sdlmame
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_bindir}/mame
|
|
%{_bindir}/sdlmame
|
|
%doc docs/license.txt docs/licenseinfo.txt
|
|
|
|
%changelog
|
|
* Sun Dec 29 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.151-1mamba
|
|
- package created using the webbuild interface
|